Welcome, Guest
Username: Password: Remember me

TOPIC: TR4W contest logger with SunSDR in Linux?

TR4W contest logger with SunSDR in Linux? 17 May 2021 02:14 #1

  • OK1RR
  • OK1RR's Avatar
  • OFFLINE
  • CW forever!
  • Posts: 16
  • Thank you received: 14
Anyone tried to run TR4W contest logger with SunSDR in Linux? It is a real problem, with my K3 connexted to an USB port was not a problem to symlink the port with radio to /.wine/dosdevices but it seems impossible with SunSDR2 DX. I tried SDC, tty0tty and socat but all causing an “access denied” message due to lock. I need to stay on Linux and TR4W is only program running flawlessly in Linux with wine. Also I love this program due to its excellent external database support, AutoSend option and many other bells & whistles. So, it is very important for me to solve this problem. Does anybody have any ideas?

73, Martin, OK1RR
Attachments:
The administrator has disabled public write access.

TR4W contest logger with SunSDR in Linux - SOLVED 20 May 2021 10:16 #2

  • OK1RR
  • OK1RR's Avatar
  • OFFLINE
  • CW forever!
  • Posts: 16
  • Thank you received: 14
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
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
/.wine/dosdevices
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
sudo chmod 666 /dev/tnt*
To make the chmod persistent across the boot, create an udev file named
80-tntport.rules
with a single line:
KERNEL=="tnt[0-7]*",MODE="0666"
and put it into your
etc/udev/rules.d
(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!
The administrator has disabled public write access.
The following user(s) said Thank You: ra9mlr, S58WW, Rome, dl3ney
Time to create page: 0.078 seconds