On Tue, 21 May 2013, Glenn Elmore wrote:
> I compiled and am (trying) running wspr-x on latest Ubuntu on the netbook. However, it crashes regularly with
> portaudio issues. That seems to occur even when I am receive only.ᅵ I agree that the realtime waterfall is really
> helpful. I'm watching the developers list and it looks like the current effort is going into wsjt-x but Joe has just
> started looking at linux installs.
Disclaimer: may contain tedious trivia or food for thought.........
The status of the wspr-x on my l00nix systems is currently in the
"Frustrating" status. Most of the author's team development work has been
focused on the WSJT-X project lately. I expect that their efforts may be
applicable to wspr-x....
As far as wspr-x goes, I can get it to build but there are some areas that
aren't covered well at this point. For instance, in the "Setup" dialog
box, the choices for the "CAT port" offers a list of None, COM1 - COM15
and USB. None of these are /dev/ttyS4 or /dev/ttySanything. But still,
the wsprx.ini file can be edited to:
CATport=/dev/ttyS4
This is useful because it enables the rigctl application to operate the
radio. Without this edit, starting up wsprx results in the error window
stating:
rig_open: error = IO error
rigctl -m 360 -r None -s 9600 -C data_bits=8 -C stop_bits=1 -C
serial_handshake=None F 144489000
and "OK" is needed to move past this error.
However, having the CATport=/dev/ttyS4 has the unforseen consequences of
the wspr-x application crashes if attempting to open the "Setup" dialog
box or segfaulting at the exact end of the TX transmission cycle. Worst
of all, LEAVING the IC-7000 STILL in TX MODE until the owner (me) notices
that the IC-7000 has the red TX light enabled while being puzzled about
"Segmentation fault" and "May 21 17:07:51 hastur kernel: [3661759.125716]
wsprx[999] general protection ip:7f18c6c2f332 sp:7f18b6862ce0 error:0 in
libc-2.15.so[7f18c6bb6000+19b000]".
In summary, I've found that the wspr-x v0.8 r3058 in an OpenSuse 12.2
environment is functional for receiving and uploading data on spotted
stations. The wspr-x waterfall display is more useful and contains much
more data compared to the wspr v4.0 r3015 application I'm usually running.
It's possible to transmit and control and Icom/Signalink USB setup thru
the rigctl commands but there are some details needing to be adjusted to
bring consistency and stable operation using wspr-x in my l00nix
environment (and apparently others).
Attached to this are three images, from my system, showing the Setup
config window, the interface window and the waterfall window.
It's an excellent start!
Tedious Trivia is found below.......
C.YaZ,
Kevin Martinez
KI6STW
-=-=-=-=-=-=-=-=-=- begin tedious triviality -=-=-=-=-=-=-=-=-=-
I had previously setup a ~/.asoundrc file based on
what I learned from Sawson KG6NUB and it enabled WSJT
to function with the IC-7000 and the SignaLink USB.
cat .asoundrc
pcm.radio
{
type hw
card 2
device 0
}
pcm_slave.radioslave {
pcm radio
rate 48000
}
pcm.radioconv {
type rate
slave radioslave
}
For the Audio In/Out devices, I chose "radioconv" from the list..
---------------------------------------
cd wsprx/lib
cp Makefile Makefile.orig
cp -pi Makefile.linux Makefile
There's something odd about the profile when building from the "lib"
directory and the executable intended to be copied into
../../wsprx_install directory instead is copied as ../../wsprx_install.
So make the directory first:
mkdir ../../wsprx_install
make
[....]
lt ../../wsprx_install/
total 144
drwxr-xr-x 4 kmartinez users 4096 May 21 15:56 ../
-rwxr-xr-x 1 kmartinez users 84544 May 21 15:57 wsprd*
-rwxr-xr-x 1 kmartinez users 50031 May 21 15:57 WSPRcode*
drwxr-xr-x 2 kmartinez users 4096 May 21 15:57 ./
cd ..
cp -pi
wsprx.pro wsprx.pro.orig
diff -u wsprx.pro.orig
wsprx.pro
--- wsprx.pro.orig 2013-05-21 15:41:13.721980042 -0700
+++
wsprx.pro 2013-05-21 15:51:21.520502229 -0700
@@ -54,9 +54,9 @@
RC_FILE = wsprx.rc
unix {
- INCLUDEPATH += $$quote(/usr/include/qwt-qt4)
+ INCLUDEPATH += $$quote(/usr/include/qwt6)
LIBS += ../wsprx/lib/libwspr.a
- LIBS += /usr/lib/libqwt-qt4.so
+ LIBS += /usr/lib64/libqwt.so
LIBS += -lportaudio -lgfortran -lfftw3f
}
qmake
make
[.....]
lt ../wsprx_install/
total 568
drwxr-xr-x 4 kmartinez users 4096 May 21 15:56 ../
-rwxr-xr-x 1 kmartinez users 84544 May 21 15:57 wsprd*
-rwxr-xr-x 1 kmartinez users 50031 May 21 15:57 WSPRcode*
drwxr-xr-x 2 kmartinez users 4096 May 21 16:00 ./
-rwxr-xr-x 1 kmartinez users 431998 May 21 16:00 wsprx*
mkdir ../wsprx_install/save/
cd ../wsprx_install/
cp -pi ../../wsprx_install/ALL_WSPR.TXT ../../wsprx_install/hashtable.txt
../../wsprx_install/wsprx.ini .
lt
total 580
-rw-r--r-- 1 kmartinez users 989 Mar 21 03:29 wsprx.ini
-rw-r--r-- 1 kmartinez users 20 Mar 21 05:39 hashtable.txt
-rw-r--r-- 1 kmartinez users 296 Mar 21 05:39 ALL_WSPR.TXT
drwxr-xr-x 4 kmartinez users 4096 May 21 15:56 ../
-rwxr-xr-x 1 kmartinez users 84544 May 21 15:57 wsprd*
-rwxr-xr-x 1 kmartinez users 50031 May 21 15:57 WSPRcode*
-rwxr-xr-x 1 kmartinez users 431998 May 21 16:00 wsprx*
drwxr-xr-x 2 kmartinez users 4096 May 21 16:05 ./
-------------------------------------------
./wsprx
------------
rigctl stderr:
rig_open: error = IO error
rigctl -m 360 -r None -s 9600 -C data_bits=8 -C stop_bits=1 -C
serial_handshake=None F 144489000
--------------
"OK"
"Failed to start audio input stream."
"PortAudio says requested soundcard format not supported."
"OK'ed"
Ran Setup, chose correct audio in/out
did File... Save user parameters... quit
(save doesn't actually save until quit, if crashes
before quitting,save didn't happen)
restart:
./wsprx
now waterfall works and dB indicator shows active level.
Under WSPR 4.0, it works without issues and to control the IC-7000,
I had chose:
PttPort None
CatPort /dev/ttyS4
PTTmode CAT
CATenable 1
SerialRate 9600
DataBits 8
StopBits 1
Handshake None
Rig #360##Icom###################IC-7000##########
**Some kind of watchdog timer to ensure the IC-7000 isn't transmitting
endlessly if the controlling application goes away.**
--
------------------------------------------------------------------------
Line Printer System | HODIE NATUS EST RADICI FRATER
lps at rahul 'dot' net | 645/6180 BOS/BCE
------------------------------------------------------------------------