SOLVED!
The detailed description can be downloaded from my web site:
www.ok1rr.com/public/tr4w-linux-sunsdr.pdf
How to run TR4W contesting software under Linux with SunSDR2 DX by Expert Electronics
The famous Windows contesting software TR4W (see
tr4w.net/) works in Linux. Only your radio and keyer should be connected to a port which is symlinked into /.wine/dosdevices. This can be done in this way:
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1 << Winkeyer USB connects com1 of TR4W
ln -s /dev/ttyUSB1 ~/.wine/dosdevices/com2 << your radio connects to com2 of TR4W
Of course, any SunSDR2 is not supported by TR4W itself. Fortunately ExpertSDR2 software has the Kenwood TS480 protocol emulation (Options → CAT) which can be evaluated.
First, you need
tty0tty - linux null modem emulator. It can be downloaded here:
github.com/freemed/tty0tty
The installation is described in detail also here.
To make tty0tty persistent across boot, edit the file /etc/modules (Debian) or /etc/modules.conf or /etc/modules-load.d/modules.conf (Ubuntu) – simply add the following line:
tty0tty creates four pairs ports in /dev/
/dev/tnt0 <=> /dev/tnt1
/dev/tnt2 <=> /dev/tnt3
/dev/tnt4 <=> /dev/tnt5
/dev/tnt6 <=> /dev/tnt7
so we can use them as follows:
In ExpertSDR2 software (Options →CAT) define CAT on port name tnt0 (we evaluate the first pair tnt0<=tnt1)
In
create a symlink tnt1 (which is paired to tnt0) to com3
ln -s /dev/tnt1 ~/.wine/dosdevices/com1
Your new tnt* ports won’t work unless they are chmoded
To make the
chmod persistent across the boot, create an
udev file named
with a single line:
KERNEL=="tnt[0-7]*",MODE="0666"
and put it into your
(applies to Ubuntu, other distros may have elsewhere in /etc)
Finally, open TR4W and define the radio on the serial port you already created.
ENJOY!