From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ray Wells Subject: Re: [xfbb] AX.25 Packet Radio on a RaspBerry Pi : a success Date: Sun, 12 Aug 2012 19:23:55 +1000 Message-ID: <5027762B.8000105@exemail.com.au> References: <1559873781.59617798.1344427808339.JavaMail.root@zimbra2-e1.priv.proxad.net> <5025F7A0.9030306@exemail.com.au> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <5025F7A0.9030306@exemail.com.au> Sender: linux-hams-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8"; format="flowed" To: remi.chateauneu@free.fr Cc: List for the LINUX version of FBB , Arno Verhoeven , Alejandro Santos , linux-hams , Bernard Pidoux , f6bvp All, A little more information based on a bit of unscientific testing today=20 of RPi with soundmodem. Yesterday I reported that sm was unstable and locked up randomly. I now= =20 believe that this may have been a power supply issue. The power supply=20 used (mobile phone) was rated at 700mA, the recommended minimum capacit= y=20 for RPi. The 7 port hub that the UCA202 sound card connected to had its= =20 own 2000mA supply. Today, I tried running the UCA202 directly from the RPi. The UCA202 is=20 rated at 100mA, the supposed load capability of RPi. I didn't manage to= =20 decode any packets and, upon tx, sm appeared to lock up. My next step was to put the UCA202 back onto the USB hub and to supply=20 the RPi from the 2000mA supply. The result is that sm has been decoding= =20 packets for well over an hour (at the time of writing this) and will=20 happily tx without lock up. It would indeed appear that an adequate=20 power supply is an essential component for RPi. I'm controlling RPi remotely using VNC to provide access to the desktop= =2E=20 tightvncserver is consuming about 25% cpu and soundmodem about 74%. The= =20 result is that cpu load is flat lined at maximum. However, soundmodem=20 and RPi appear stable. Ultimately I'll run without the desktop but for=20 now it's essential to ongoing testing. More to follow, I'm sure. Ray, vk2tv On 11/08/12 16:11, Ray Wells wrote: > All, > > I'll start by saying that my "shack" is very user unfriendly at the=20 > moment, with nowhere to set up test equipment or radios, however, I=20 > have managed to decode ax25 (aprs) packets using soundmodem on the=20 > Raspberry Pi running Bernard's kernel. Soundmodem is unstable and=20 > crashes but that may be due to the Behringer UCA202 sound card I'm=20 > using. Others have reported difficulties with the UCA202 in RPi with=20 > audio applications and, I haven't yet delved into the sound card=20 > configs except to delete a blacklist entry in /etc/modeprobe.d to get= =20 > the sound card to accept incoming audio. My tests have been very raw=20 > but have confirmed that using a USB sound card with soundmodem on the= =20 > RPi appears feasible. On tx, I used speaker monitoring of the tx audi= o=20 > as an indication of success. What I heard "sounded" correct for 1k2=20 > packet. > > I will, as time permits, try to make more meaningful tests. > > Ray vk2tv > > On 08/08/12 22:10, remi.chateauneu@free.fr wrote: >> Hi All, >> >> Some help about Soundmodem is available here: >> >> http://www.xastir.org/wiki/HowTo:SoundModem >> >> Push-to-talk can be activated with Soundmodem original method but=20 >> also with the very convenient hamlib library (=20 >> http://sourceforge.net/apps/mediawiki/hamlib/index.php?title=3DMain_= Page ) >> >> Hamlib is used by fldigi on Raslberry , therefore it is seriously=20 >> supported. >> >> ----- Mail original ----- >> De: "Ray Wells" >> =C3=80: "f6bvp" >> Cc: "remi chateauneu" , "List for the LINUX= =20 >> version of FBB" , "Arno Verhoeven"=20 >> , "Alejandro Santos"=20 >> , "linux-hams" ,= =20 >> "Bernard Pidoux" >> Envoy=C3=A9: Mardi 7 Ao=C3=BBt 2012 10:16:31 >> Objet: Re: [xfbb] AX.25 Packet Radio on a RaspBerry Pi : a success >> >> Bernard, Remy, All, >> >> Now that I have Bernard's kernel loaded on my RPi, and I have a Linu= x >> compatible USB soundcard (Behringer UCA202), I will try to get it >> working with soundmodem by Saturday or Sunday and report back. >> >> Ray vk2tv >> >> On 07/08/12 18:03, f6bvp wrote: >>> Hello Remy, >>> >>> I never used soundmodem for I have been a happy user of two 9612+ d= ual >>> channel TNCs for years. >>> >>> However, with RPi there are no serial port and I guess I will have = to >>> use either an USB to serial adapter or soundmodem. >>> >>> Meanwhile installing soundmodem performed well. >>> >>> root@raspberrypi:/home/pi# apt-get install soundmodem >>> Lecture des listes de paquets... Fait >>> Construction de l'arbre des d=C3=A9pendances >>> Lecture des informations d'=C3=A9tat... Fait >>> Les paquets suppl=C3=A9mentaires suivants seront install=C3=A9s : >>> libaudiofile1 libhamlib2 >>> Les NOUVEAUX paquets suivants seront install=C3=A9s : >>> libaudiofile1 libhamlib2 soundmodem >>> 0 mis =C3=A0 jour, 3 nouvellement install=C3=A9s, 0 =C3=A0 enlever = et 2 non mis =C3=A0=20 >>> jour. >>> Il est n=C3=A9cessaire de prendre 718 ko dans les archives. >>> Apr=C3=A8s cette op=C3=A9ration, 3 131 ko d'espace disque suppl=C3=A9= mentaires seront >>> utilis=C3=A9s. >>> Souhaitez-vous continuer [O/n] ? O >>> R=C3=A9ception de : 1 http://mirrordirector.raspbian.org/raspbian/ >>> wheezy/main libaudiofile1 armhf 0.3.4-1 [86,9 kB] >>> R=C3=A9ception de : 2 http://mirrordirector.raspbian.org/raspbian/ >>> wheezy/main libhamlib2 armhf 1.2.15.1-1 [467 kB] >>> R=C3=A9ception de : 3 http://mirrordirector.raspbian.org/raspbian/ >>> wheezy/main soundmodem armhf 0.16-1 [164 kB] >>> 718 ko r=C3=A9ceptionn=C3=A9s en 3s (214 ko/s) >>> S=C3=A9lection du paquet libaudiofile1:armhf pr=C3=A9c=C3=A9demment= d=C3=A9s=C3=A9lectionn=C3=A9. >>> (Lecture de la base de donn=C3=A9es... 58368 fichiers et r=C3=A9per= toires d=C3=A9j=C3=A0 >>> install=C3=A9s.) >>> D=C3=A9paquetage de libaudiofile1:armhf (=C3=A0 partir de >>> .../libaudiofile1_0.3.4-1_armhf.deb) ... >>> S=C3=A9lection du paquet libhamlib2 pr=C3=A9c=C3=A9demment d=C3=A9s= =C3=A9lectionn=C3=A9. >>> D=C3=A9paquetage de libhamlib2 (=C3=A0 partir de >>> .../libhamlib2_1.2.15.1-1_armhf.deb) ... >>> S=C3=A9lection du paquet soundmodem pr=C3=A9c=C3=A9demment d=C3=A9s= =C3=A9lectionn=C3=A9. >>> D=C3=A9paquetage de soundmodem (=C3=A0 partir de >>> .../soundmodem_0.16-1_armhf.deb) ... >>> Traitement des actions diff=C3=A9r=C3=A9es (=C2=AB triggers =C2=BB)= pour =C2=AB man-db =C2=BB... >>> Param=C3=A9trage de libaudiofile1:armhf (0.3.4-1) ... >>> Param=C3=A9trage de libhamlib2 (1.2.15.1-1) ... >>> Param=C3=A9trage de soundmodem (0.16-1) ... >>> root@raspberrypi:/home/pi# >>> >>> Now I will need to read the doc or get some direct help to set up a >>> starting script. >>> >>> 73 de Bernard, f6bvp >>> >>> >>> On 07/08/2012 00:59, remi.chateauneu@free.fr wrote: >>>> Did you try to run soundmodem on Raspberry, please ? >>>> >>>> >>>> ----- Mail original ----- >>>> De: "Ray Wells" >>>> =C3=80: "f6bvp" >>>> Cc: "List for the LINUX version of FBB", "Arno >>>> Verhoeven", "C >>>> Schuman", "Lee Woldanski"= , >>>> "F3KT", "Alejandro Santos", >>>> "linux-hams", "Bernard >>>> Pidoux" >>>> Envoy=C3=A9: Samedi 4 Ao=C3=BBt 2012 23:59:49 >>>> Objet: Re: [xfbb] AX.25 Packet Radio on a RaspBerry Pi : a success >>>> >>>> Hi Bernard, All, >>>> >>>> This is great news because I almost wrote to you yesterday to ask=20 >>>> if you >>>> had made a .deb package for your kernel. >>>> >>>> My two Raspberry Pi's arrived on Friday (I was told 5 weeks and th= ey >>>> arrived in 5 days from Element 14!) and I'm gathering the hardware= I >>>> need to get one of them up and running with kernel ax25. One will=20 >>>> serve >>>> as my aprs gateway machine and maybe a fpac node again. >>>> >>>> Ray vk2tv >>>> >>>> >>>> On 04/08/12 22:21, f6bvp wrote: >>>>> Hello all, >>>>> >>>>> This is my first debian package ! >>>>> >>>>> http://f6bvp.free.fr/logiciels/ax25/linux-image-3.1.9.080312.ax25= +_3.1.9.080312.ax25+-10.00.Custom_armhf.deb=20 >>>>> >>>>> >>>>> >>>>> >>>>> This is the raspbian kernel image including AX.25 modules (ax25, >>>>> 6pack, netrom, rose, mkiss,...) >>>>> >>>>> From your RaspBerry Pi you can download it with wget >>>>> >>>>> wget >>>>> http://f6bvp.free.fr/logiciels/ax25/linux-image-3.1.9.080312.ax25= +_3.1.9.080312.ax25+-10.00.Custom_armhf.deb=20 >>>>> >>>>> >>>>> >>>>> To install it : >>>>> sudo dpkg -i >>>>> linux-image-3.1.9.080312.ax25+_3.1.9.080312.ax25+-10.00.Custom_ar= mhf.deb=20 >>>>> >>>>> >>>>> >>>>> Edit /boot/config.txt and add a line at the end with >>>>> # for more options see http://elinux.org/RPi_config.txt >>>>> kernel vmlinuz-3.1.9.080312.ax25+ >>>>> >>>>> reboot >>>>> >>>>> Then download K4GBB install ax25 script for installing ax25=20 >>>>> libraries, >>>>> tools and apps. >>>>> >>>>> sudo wget http://f6bvp.free.fr/logiciels/ax25/Instax25.new >>>>> sudo chmod +x Instax25.new >>>>> ./Instax25.new >>>>> >>>>> You may download a sample ax25 device init script : >>>>> sudo wget http://f6bvp.free.fr/logiciels/ax25/rc.ax25 >>>>> >>>>> and a sample /etc/ax25/ax25ipd.conf >>>>> sudo wget http://f6bvp.free.fr/logiciels/ax25/ax25ipd.conf >>>>> >>>>> Then you also need to edit /etc/ax25/axports >>>>> such this example : >>>>> sudo wget http://f6bvp.free.fr/logiciels/ax25/axports >>>>> >>>>> I may have missed some details. >>>>> >>>>> 73 de Bernard, f6bvp >>>>> --=20 >>>>> To unsubscribe from this list: send the line "unsubscribe >>>>> linux-hams" in >>>>> the body of a message to majordomo@vger.kernel.org >>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>>>> >>>> _______________________________________________ >>>> xfbb maillist - xfbb@f6fbb.org >>>> http://mailman.f6fbb.org/mailman/listinfo/xfbb >>> --=20 >>> To unsubscribe from this list: send the line "unsubscribe=20 >>> linux-hams" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >> --=20 >> To unsubscribe from this list: send the line "unsubscribe linux-hams= " in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > --=20 > To unsubscribe from this list: send the line "unsubscribe linux-hams"= in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-hams" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html