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
DJ0VK
Posts: 4
Joined: Mon 8. Nov 2021, 09:49

Re: Fix for USB serial port name/number changes

Unread post by DJ0VK »

in my case, with Sonoma 14.6.1, it did not work:
- MacPorts installation was successful, according to the final message
- "sudo port -v selfupdate" did not worked - got the "command unknown" message, nevertheless I tried
- "sudo port install hamlib" and either got the "command unknown" message
So I gave up and did not follow further steps listed by Rafal
User avatar
PE2V
Posts: 68
Joined: Sun 3. Nov 2019, 15:55
Location: JO32jh
Contact:

Re: Fix for USB serial port name/number changes

Unread post by PE2V »

Hello Rafal,

Thank you for the script. I have a similar issue but more complex I'm afraid. I have on TX1 my IC7300 and on TX2 a FT-891. This should always be assigned this way. Because the IC7300 also uses 3 transverters for VHF and UHF. So, is it possible with the script to assign the 7300 always on TX1 and the 891 on TX2, even when one of them is not powered on?

Thank you for your answer!
73 Vincent
Personal ham radio weblog: https://pe2v.nl
Post Reply