¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: binding a usb serial device


 

¿ªÔÆÌåÓý

On 3/21/25 14:20, Robert Cartier via groups.io wrote:
Ok I have a question and I have tried creating ?a?/etc/udev/rules.d/99-usb-serial.rules
and while I do see my symbol link I am unable to
select it in the QtSoundmodem app.
What do I need to do to get ttyUSB0 defined so that if it is moved
the system still assigns it and the port config will work
Thanks
Rob

Hi, Rob:

pi@nc8q-qj:/etc/udev/rules.d$ cat 10-usb-serial.rules
SUBSYSTEM=="tty", ATTRS{serial}=="IC-7100 02013269 A", SYMLINK+="ttyUSB71A"
SUBSYSTEM=="tty", ATTRS{serial}=="IC-7100 02013269 B", SYMLINK+="ttyUSB71B"
SUBSYSTEM=="tty", ATTRS{serial}=="IC-7300 02025274", SYMLINK+="ttyUSB73"
pi@nc8q-qj:/etc/udev/rules.d$

My Icom IC-7100 serial device always is /dev/ttyUSB71A and /dev/ttyUSB71B no matter which USB port I plug it into.
( I use ttyUSB71A in QtSoundModem.ini? )

My Icom IC-7300 serial device always is /dev/ttyUSB73 no matter which USB port I plug it into.

I use 'rigctld'.
Depending on which radio is connected I have a shell script that is basically either:

rigctld -vv -m 3070 -s 19200 -r /dev/ttyUSB71A -T 10.78.196.98 F 7101300 M PKTUSB 3000

-or-

rigctld -vv -m 3073 -s 19200 -r /dev/ttyUSB73 -T 10.78.196.98 -t 4532 F 7101000 M 'PKTUSB' 3600

I hope this helps, Chuck

Join [email protected] to automatically receive all group messages.