|
|
|
Re: [xfbb] AX.25 Packet Radio on a RaspBerry Pi : a success | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
All,A little more information based on a bit of unscientific testing today of RPi with soundmodem.
Yesterday I reported that sm was unstable and locked up randomly. I now believe that this may have been a power supply issue. The power supply used (mobile phone) was rated at 700mA, the recommended minimum capacity for RPi. The 7 port hub that the UCA202 sound card connected to had its own 2000mA supply.
Today, I tried running the UCA202 directly from the RPi. The UCA202 is rated at 100mA, the supposed load capability of RPi. I didn't manage to 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 the RPi from the 2000mA supply. The result is that sm has been decoding packets for well over an hour (at the time of writing this) and will happily tx without lock up. It would indeed appear that an adequate power supply is an essential component for RPi.
I'm controlling RPi remotely using VNC to provide access to the desktop. tightvncserver is consuming about 25% cpu and soundmodem about 74%. The result is that cpu load is flat lined at maximum. However, soundmodem and RPi appear stable. Ultimately I'll run without the desktop but for 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 moment, with nowhere to set up test equipment or radios, however, I have managed to decode ax25 (aprs) packets using soundmodem on the Raspberry Pi running Bernard's kernel. Soundmodem is unstable and crashes but that may be due to the Behringer UCA202 sound card I'm using. Others have reported difficulties with the UCA202 in RPi with audio applications and, I haven't yet delved into the sound card configs except to delete a blacklist entry in /etc/modeprobe.d to get the sound card to accept incoming audio. My tests have been very raw but have confirmed that using a USB sound card with soundmodem on the RPi appears feasible. On tx, I used speaker monitoring of the tx audio as an indication of success. What I heard "sounded" correct for 1k2 packet.I will, as time permits, try to make more meaningful tests. Ray vk2tv On 08/08/12 22:10, remi.chateauneu@xxxxxxx wrote:Hi All, Some help about Soundmodem is available here: http://www.xastir.org/wiki/HowTo:SoundModemPush-to-talk can be activated with Soundmodem original method but also with the very convenient hamlib library ( http://sourceforge.net/apps/mediawiki/hamlib/index.php?title=Main_Page )Hamlib is used by fldigi on Raslberry , therefore it is seriously supported.----- Mail original ----- De: "Ray Wells" <vk2tv@xxxxxxxxxxxxxx> À: "f6bvp" <f6bvp@xxxxxxx>Cc: "remi chateauneu" <remi.chateauneu@xxxxxxx>, "List for the LINUX version of FBB" <xfbb@xxxxxxxxx>, "Arno Verhoeven" <pe1icq@xxxxxxxxxxxxxxxxxxxxxxx>, "Alejandro Santos" <alejolp@xxxxxxxxxxxxxx>, "linux-hams" <linux-hams@xxxxxxxxxxxxxxx>, "Bernard Pidoux" <bernard.pidoux@xxxxxxx>Envoyé: Mardi 7 Août 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 Linux 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+ dual 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épendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : libaudiofile1 libhamlib2 Les NOUVEAUX paquets suivants seront installés : libaudiofile1 libhamlib2 soundmodem0 mis à jour, 3 nouvellement installés, 0 à enlever et 2 non mis à jour.Il est nécessaire de prendre 718 ko dans les archives. Après cette opération, 3 131 ko d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer [O/n] ? O Réception de : 1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libaudiofile1 armhf 0.3.4-1 [86,9 kB] Réception de : 2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhamlib2 armhf 1.2.15.1-1 [467 kB] Réception de : 3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main soundmodem armhf 0.16-1 [164 kB] 718 ko réceptionnés en 3s (214 ko/s) Sélection du paquet libaudiofile1:armhf précédemment désélectionné. (Lecture de la base de données... 58368 fichiers et répertoires déjà installés.) Dépaquetage de libaudiofile1:armhf (à partir de .../libaudiofile1_0.3.4-1_armhf.deb) ... Sélection du paquet libhamlib2 précédemment désélectionné. Dépaquetage de libhamlib2 (à partir de .../libhamlib2_1.2.15.1-1_armhf.deb) ... Sélection du paquet soundmodem précédemment désélectionné. Dépaquetage de soundmodem (à partir de .../soundmodem_0.16-1_armhf.deb) ... Traitement des actions différées (« triggers ») pour « man-db »... Paramétrage de libaudiofile1:armhf (0.3.4-1) ... Paramétrage de libhamlib2 (1.2.15.1-1) ... Paramétrage 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@xxxxxxx wrote:Did you try to run soundmodem on Raspberry, please ? ----- Mail original ----- De: "Ray Wells"<vk2tv@xxxxxxxxxxxxxx> À: "f6bvp"<f6bvp@xxxxxxx> Cc: "List for the LINUX version of FBB"<xfbb@xxxxxxxxx>, "Arno Verhoeven"<pe1icq@xxxxxxxxxxxxxxxxxxxxxxx>, "C Schuman"<k4gbb1@xxxxxxxxxxxxxx>, "Lee Woldanski"<ve7fet@xxxxxxxxx>, "F3KT"<f3kt@xxxxxxx>, "Alejandro Santos"<alejolp@xxxxxxxxxxxxxx>, "linux-hams"<linux-hams@xxxxxxxxxxxxxxx>, "Bernard Pidoux"<bernard.pidoux@xxxxxxx> Envoyé: Samedi 4 Août 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 if youhad made a .deb package for your kernel. My two Raspberry Pi's arrived on Friday (I was told 5 weeks and they arrived in 5 days from Element 14!) and I'm gathering the hardware Ineed to get one of them up and running with kernel ax25. One will serveas 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.debThis is the raspbian kernel image including AX.25 modules (ax25, 6pack, netrom, rose, mkiss,...) From your RaspBerry Pi you can download it with wget wgethttp://f6bvp.free.fr/logiciels/ax25/linux-image-3.1.9.080312.ax25+_3.1.9.080312.ax25+-10.00.Custom_armhf.debTo install it : sudo dpkg -ilinux-image-3.1.9.080312.ax25+_3.1.9.080312.ax25+-10.00.Custom_armhf.debEdit /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+ rebootThen download K4GBB install ax25 script for installing ax25 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 -- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html_______________________________________________ xfbb maillist - xfbb@xxxxxxxxx http://mailman.f6fbb.org/mailman/listinfo/xfbb--To unsubscribe from this list: send the line "unsubscribe linux-hams" inthe body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
-- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |
![]() |