aptitude install libasound2-dev
aptitude install libxml2-dev
aptitude install libgtk2.0-dev
aptitude install libaudiofile-dev
mkdir /etc/ax25
mkdir fx25
tar xzvf soundmodem-0.14.tar.gz
tar xvf rs_decode_avr2.tar
cd soundmodem-0.14
sh ./configure
make
./soundmodem-0.14/configapp/src/soundmodemconfig
I used ALSA and the configuration which Ivan described (Channel 0
demodulator AFSK etc.)
alsamixer
cd rs_decode_avr2
gcc FX-25_extract.c -o FX-25_extract
cd /fx25
./soundmodem-0.14/configapp/src/soundmodemconfig 2>&1 1> /dev/null |
rs_decode_avr2/FX-25_extract >/dev/null
Output of the software decoder :
FX.25 Decoder, v0.0.1
Testing (255,239) RS encoder, table index = 0
Using ram init ...
acquiring ...
Correlation Tag found, Phase= 2
FEC block data
7e 86 a2 40 40 40 40 60 96 88 68 90 84 9e 62 a8 8a 98 8a 9a 40 61 3
f0 a5 b2 a6 40 66 62 70 60 6c 60 40 6c 6a 72 66 6a 40 60 40 66 60 40
60 40 cc cc cc 66 40 60 c2 c6 70 40 cc cc c6 c2 40 60 70 c4 70 40 cc
ca 70 ca 40 62 64 62 60 40 cc cc ca 6e 40 60 c8 70 70 40 cc cc c4 6e
40 62 60 6e 70 40 cc cc 72 6e 40 60 cc 66 70 40 62 66 5c 6e 40 6a 5c
60 40 72 5c 72 40 40 5c 62 6e 40 60 5c 6a 70 40 62 5c 66 64 40 62 62
5c 60 6c 40 70 5c 6e 6c 40 70 5c 6e 6c 40 68 72 40 68 68 40 62 6e 40
40 ba 4a fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc 67 ef 10 2f 53 ef 19 38 f5 1a c2 d7 35 aa
26 ee
Decode_RS entry
FEC complete, detected 5 errors
Call:CQ
SSID: 60
Call:KD4HBO
SSID: 62
Call:TELEM
SSID: 61
CTRL: 3
PID : f0
SYS 318060 65535 0 30 0 fff3 0ac8 ffca 08b8 fe8e 1210 ffe7 0d88 ffb7
1078 ff97 0f38 13.7 5.0 9.9 .17 0.58 1.32 11.06 8.76 8.76 49 44 17
CRC : 5d25 (low-byte, high-byte)
Packet terminated normally
My first test showing that :
* I never get an decoded FX.25 without 0 errors
* every packet decoded by the FX.25 decoder is also decoded by the AX.
25 decoder (soundmodem)
73, Mike
DK3WN
Ivan
Has some good samples, I can record in the coming days also
a pass with (by AX25) non-decodable packets.
Henk, PA3GUO
yup - i found a good frame in your mp3 file that was not decoded by the
AX.25 decoder !!!
Here are the results:
2 POLLUX frame - AX.25 decoder only
1 CASTOR frame - FX.25 decoder only :-)
1 CASTOR frame - FX.25 decoder but terminated with 255 errors
73, Mike
AX25 decoder:
-------------------
fm POLLUX-1 to CQ-0 via TELEM-0 UI pid=F0
MEMS 246642 15.446 15.778 13.990 -0.880 0.113 3.337 -5.94 13.39 4.39 20.07
20.80 20.42 2.60 13 7 45 ..
fm POLLUX-1 to CQ-0 via TELEM-0 UI pid=F0
SYST 246675 0 0 33 0 002a 1590 0007 1408 002e 1430 0187 11c0 ffff 1068 ffff
ffff 0156 08d2 0fbc 003a
FX25 decoder:
------------------
dk3wn@ubuntu:~/fx25$ ./soundmodem-0.14/configapp/src/soundmodemconfig 2>&1
1> /dev/null | rs_decode_avr2/FX-25_extract >/dev/null
FX.25 Decoder, v0.0.1
Testing (255,239) RS encoder, table index = 0
Using ram init ...
acquiring ...
Correlation Tag found, Phase= 0
FEC block data
7e 86 a2 40 40 40 40 60 96 88 68 90 84 9e 62 a8 8a 98 8a 9a 40 61 3 f0 a5
b2 a6 40 64 68 62 70 60 60 40 6c 6a 6a 66 6a 40 60 40 66 60 40 60 40 cf cc
c6 6c 40 60 ca ca 60 40 cc cc c6 c4 40 60 c4 c4 60 40 cc cc ca c8 40 62 64
6c 70 40 cc ca 68 6c 40 60 cc 72 70 40 cc cc ca 66 40 62 60 ca 60 40 cc cc
cc c4 40 62 62 6c 70 40 62 66 5c 70 40 6a 5c 60 40 62 60 5c 68 40 40 5c 62
66 40 60 5c 68 60 40 62 5c 70 66 40 62 62 5c 60 6c 40 70 5c 62 72 40 70 5c
62 72 40 66 70 40 6a 62 40 66 68 40 40 a6 69 fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc fc fc 13 f3 f7 47 b 95 f5 a 53 d0 11
ab 7b 2c 32 4d
Decode_RS entry
FEC complete, detected 5 errors
Call:CQ
SSID: 60
Call:KD4HBO
SSID: 62
Call:TELEM
SSID: 61
CTRL: 3
PID : f0
SYS 241800 65535 0 30 0 ffc6 0ee0 ffcb 0bb0 ffed 1268 fe46 0f98 ffe3 10e0
fffb 1168 13.8 5.0 10.4 .13 0.40 1.83 11.06 8.19 8.19 38 51 34
CRC : d334 (low-byte, high-byte)
Packet terminated normally
Correlation Tag found, Phase= 6
FEC block data
a2 40 40 40 40 60 96 88 6e 90 84 9e 62 a8 8a 98 8a 9a 40 61 3 f0 a5 b2 a6
40 64 68 62 70 66 60 40 6c 6a 6a 66 6a 40 60 40 66 60 40 60 40 cc cc c4 70
40 60 cc 62 70 40 cc cc c8 60 40 60 c4 c8 60 40 cc cc cc 62 40 62 64 72 70
40 cc ca 6e 6a 40 60 cc c6 e0 41 cc cc ca c2 40 7a 60 c8 70 40 cc cc cc 60
40 62 62 72 60 40 62 66 5c 70 40 6a 5c 60 40 72 5c 72 40 40 5c 62 66 40 60
5c 62 66 40 62 5c 6e 72 40 62 62 5c 60 6c 40 70 5c 62 72 40 70 5c 62 72 40
68 62 40 68 6a 40 68 64 40 40 6c 64 fd fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
fc fc fc fc fc fc fc fc fc fc fc fc 80 1d 7e b6 54 80 16 da 14 f5 f4 4a 17
3b 64 a9 cf 4e
Decode_RS entry
FEC complete, detected 255 errors
No initial AX.25 flag =a2
Fault code = Strip
However the mp3 contains 4 packets, and MixW AX.25 decodes all 4 off them:
http://www.pa3guo.com/ande2_demo_02aug2009.jpg
Henk
19:24 POLLUX-1/TELEM>CQ>UI,?,F0 (1199 baud):
MEMS 246642 15.446 15.778 13.990 -0.880 0.113 3.337 -5.94 13.39 4.39 20.07
20.80 20.42 2.60 13 7 45
19:24 KD4HBO-1/TELEM>CQ>UI,?,F0 (1200 baud):
SYS 241800 65535 0 30 0 ffc6 0ee0 ffcb 0bb0 ffed 1268 fe46 0f98 ffe3 10e0
fffb 1168 13.8 5.0 10.4 .13 0.40 1.83 11.06 8.19 8.19 38 51 34
19:25 POLLUX-1/TELEM>CQ>UI,?,F0 (1199 baud):
SYST 246675 0 0 33 0 002a 1590 0007 1408 002e 1430 0187 11c0 ffff 1068 ffff
ffff 0156 08d2 0fbc 003a
19:25 KD4HBO-1/TELEM>CQ>UI,?,F0 (1200 baud):
SYS 241830 65535 0 30 0 ffb8 0f18 ffd0 0bd0 fff1 1298 fe75 0fc0 ffea 10d8
fff0 1190 13.8 5.0 9.9 .13 0.13 1.79 11.06 8.19 8.19 41 45 42
-----Ursprüngliche Nachricht-----
Von: fx...@googlegroups.com [mailto:fx...@googlegroups.com] Im Auftrag von
Henk, PA3GUO
Gesendet: Mittwoch, 3. Februar 2010 17:25
An: fx...@googlegroups.com
Cc: iga...@gmail.com
Betreff: Re: running fx25 decoder with Ubuntu 9.10
Henk
This is exactly what I told to Colin.
I you want to compare the results (AX25 vs FX25) you have to use the same
hardware. And that is the problem. First of all you need the same soundcard.
So I try to test with the same PC and different OS (boot loader -> Ubuntu
9.10 and Windows 7).
IMHO this is the only way to get comparable results.
Yesterday I did the tests on different machines.
The Windows PC uses the internal mixer. It's pretty easy on Windows to play
back a sound file with the media player and use another software (MixW) for
decoding.
It's not so easy under Linux. Only one process can use the hardware
(soundcard). So I have to use the line in/microphone input. Maybe that makes
the difference.
I'm just learning...
73, Mike
DK3WN
-----Ursprüngliche Nachricht-----
Von: fx...@googlegroups.com [mailto:fx...@googlegroups.com] Im Auftrag von
Colin Hurst
Gesendet: Donnerstag, 4. Februar 2010 02:48
An: fx...@googlegroups.com
Betreff: RE: running fx25 decoder with Ubuntu 9.10
Here is my result of ande2_demo_02aug2009.mp3
1 POLLUX frame - original soundmodem
No frame - FX.25 decoder
---
Packet: fm POLLUX-1 to CQ-0 via TELEM-0 UI pid=F0
MEMS 246642 15.446 15.778 13.990 -0.880 0.113 3.337 -5.94 13.39 4.39
20.07 20.80 20.42 2.60 13 7 45 ..
(2010/02/04 3:38), Mike Rupprecht wrote:
> Hi Henk,
>
> yup - i found a good frame in your mp3 file that was not decoded by the
> AX.25 decoder !!!
>
> Here are the results:
>
> 2 POLLUX frame - AX.25 decoder only
> 1 CASTOR frame - FX.25 decoder only :-)
> 1 CASTOR frame - FX.25 decoder but terminated with 255 errors
Mike, which soundcard do you use?
I use intel HD audio.
Hiro, JH4XSY/1
dk3wn@ubuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
73, Mike
-----Ursprüngliche Nachricht-----
Von: fx...@googlegroups.com [mailto:fx...@googlegroups.com] Im Auftrag von
Hiroshi Iwamoto
Gesendet: Donnerstag, 4. Februar 2010 14:39
An: fx...@googlegroups.com
Betreff: Re: running fx25 decoder with Ubuntu 9.10
This account (ham...@iae.nl) is stopped.
Please use: pa3...@amsat.org
Henk, PA3GUO