Fix for USB serial port name/number changes

RUMlog, the Next Generation. Completely rewritten.
RafalLukawiecki
Posts: 2
Joined: Fri 3. Sep 2021, 23:42

Fix for USB serial port name/number changes

Unread post by RafalLukawiecki »

If you use a Yaesu transceiver, the chances are that the serial port name/number keeps on changing from time to time. It is usually something like SLAB_USBtoUART or SLAB_USBtoUART4 etc. One of those ports controls CAT and PTT while the other one can be used for PTT alone. The problem particularly affects Yaesu, because they use Silicon Labs CP2105 Dual controller which presents two UART ports in a random order. Other makes, such as Kenwood or ICOM use either a single or two single CP2102 or similar devices.

I have written a bash shell script and an associated Apple Script to help with this problem. It interrogates the available ports, figures out which one is the CAT port, then saves its name to RUMlogNG configuration preferences, before launching RUMlogNG.

Tested with FT450D via SCU-17, and FTDX3000. Requires Silicon Labs VCP CP210x drivers. It should be easy to adapt to support other radios, and the built-in Apple drivers, if affected and needed. Please report any issues and bugs via GitHub.

You can find the scripts here: https://github.com/RafalLukawiecki/rumlog-portfix
g6phf
Posts: 13
Joined: Thu 3. Aug 2023, 14:52

Re: Fix for USB serial port name/number changes

Unread post by g6phf »

THANK YOU!
Great fix and working a treat!

Mike
Post Reply