开云体育

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

binding a usb serial device


 

开云体育

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,

The GUI configuration won't detect the symlinks, as you discovered.? If you set everything else up and close the application you can edit the .ini file directly and add the symlink in there and it will use it.? The down side of this approach is if you open the GUI configuration again it will overwrite it and it'll need to be edited by hand again.

Another option is to use rigctld (hamlib) and let that handle the PTT.? If you are using a radio that doesn't support CAT, you can use the "dummy" rig type and specify a PTT device pointed to your serial port.? Then Hamlib will handle PTT only and ignore any other commands.

73,
Ben - KU0HN
On Friday, March 21st, 2025 at 1:20 PM, Robert Cartier via groups.io <kd1jg@...> 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


 

开云体育

What I found is I am able to use Direwolf since I can edit the configuration file too reflect the symbolic link and it works
Wish there was an easy way in QtSoundmodem to accomplish the same thing without jumping thru hoops

Thanks

On Mar 21, 2025, at 3:33?PM, rob.cartier@... wrote:

?What I found is I am able to use Direwolf since I can edit the configuration file too reflect the symbolic link and it works
Wish there was an easy way in QtSoundmodem to accomplish the same thing without jumping thru hoops

Thanks


On Mar 21, 2025, at 14:33, Ben Kuhn via groups.io <ku0hn@...> wrote:


Hi Rob,

The GUI configuration won't detect the symlinks, as you discovered.? If you set everything else up and close the application you can edit the .ini file directly and add the symlink in there and it will use it.? The down side of this approach is if you open the GUI configuration again it will overwrite it and it'll need to be edited by hand again.

Another option is to use rigctld (hamlib) and let that handle the PTT.? If you are using a radio that doesn't support CAT, you can use the "dummy" rig type and specify a PTT device pointed to your serial port.? Then Hamlib will handle PTT only and ignore any other commands.

73,
Ben - KU0HN
On Friday, March 21st, 2025 at 1:20 PM, Robert Cartier via groups.io <kd1jg@...> 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


Robert Cartier
kd1jg@...



 

开云体育

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


 

开云体育

On 3/21/25 17:21, Chuck Gelm wrote:
( I use ttyUSB71A in QtSoundModem.ini? )
Ooopps, I use ttyUSB71A in 'rigctld'.



 

开云体育

You can just type your symlink name into the PTT Port box.

The name will be saved and added to the list each time you use the Devices dialog.

73,
John

On 21/03/2025 18: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


 

开云体育

thanks
easy fix


On Mar 22, 2025, at 2:26?AM, John G8BPQ via groups.io <john.wiseman@...> wrote:

? You can just type your symlink name into the PTT Port box.

The name will be saved and added to the list each time you use the Devices dialog.

73,
John

On 21/03/2025 18: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


 

开云体育

John
the current GUI doesn't allow any entries ?When you click on it all that is available
is the list of devices. There is no ability to overtype into that box

I guess the best I can do is harcode it in the ini file and lock the file for read only ??

Let me know if there is a workaround?

Thanks


On Mar 22, 2025, at 04:52, Robert Cartier via groups.io <kd1jg@...> wrote:

thanks
easy fix


On Mar 22, 2025, at 2:26?AM, John G8BPQ via groups.io <john.wiseman@...> wrote:

? You can just type your symlink name into the PTT Port box.

The name will be saved and added to the list each time you use the Devices dialog.

73,
John

On 21/03/2025 18: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


Robert Cartier
kd1jg@...



 

开云体育

Maybe yours is old. What version are you running?

73,
John



On 22/03/2025 10:34, Robert Cartier via groups.io wrote:

John
the current GUI doesn't allow any entries ?When you click on it all that is available
is the list of devices. There is no ability to overtype into that box

I guess the best I can do is harcode it in the ini file and lock the file for read only ??

Let me know if there is a workaround?

Thanks


On Mar 22, 2025, at 04:52, Robert Cartier via groups.io <kd1jg@...> wrote:

thanks
easy fix


On Mar 22, 2025, at 2:26?AM, John G8BPQ via groups.io <john.wiseman@...> wrote:

? You can just type your symlink name into the PTT Port box.

The name will be saved and added to the list each time you use the Devices dialog.

73,
John

On 21/03/2025 18: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


Robert Cartier
kd1jg@...




 

开云体育

On 3/22/25 02:26, John G8BPQ via groups.io wrote:
You can just type your symlink name into the PTT Port box.

The name will be saved and added to the list each time you use the Devices dialog.

73,
John

PTT Port box:
It seems that I should reserve a device name alphabetically earlier than ttyS0.

Devices dialog:
Nothing resembling a /dev/tty* exists in my 'Devices dialog:output/input device'. ?

setup devices, modems


 

开云体育

You should be able to type your name over the top name in the "Select PTT Port Box". According to the change log this was added in 0.0.0.68 so if you have an older version you’ll need to update.

73, John




On 22/03/2025 14:01, Chuck Gelm wrote:

On 3/22/25 02:26, John G8BPQ via groups.io wrote:
You can just type your symlink name into the PTT Port box.

The name will be saved and added to the list each time you use the Devices dialog.

73,
John

PTT Port box:
It seems that I should reserve a device name alphabetically earlier than ttyS0.

Devices dialog:
Nothing resembling a /dev/tty* exists in my 'Devices dialog:output/input device'. ?

setup devices, modems


 

开云体育

there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks



On Mar 22, 2025, at 11:35?AM, Robert Cartier <rob.cartier@...> wrote:

?there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks


On Mar 21, 2025, at 3:33?PM, rob.cartier@... wrote:

?What I found is I am able to use Direwolf since I can edit the configuration file too reflect the symbolic link and it works
Wish there was an easy way in QtSoundmodem to accomplish the same thing without jumping thru hoops

Thanks


On Mar 21, 2025, at 14:33, Ben Kuhn via groups.io <ku0hn@...> wrote:


Hi Rob,

The GUI configuration won't detect the symlinks, as you discovered.? If you set everything else up and close the application you can edit the .ini file directly and add the symlink in there and it will use it.? The down side of this approach is if you open the GUI configuration again it will overwrite it and it'll need to be edited by hand again.

Another option is to use rigctld (hamlib) and let that handle the PTT.? If you are using a radio that doesn't support CAT, you can use the "dummy" rig type and specify a PTT device pointed to your serial port.? Then Hamlib will handle PTT only and ignore any other commands.

73,
Ben - KU0HN
On Friday, March 21st, 2025 at 1:20 PM, Robert Cartier via groups.io <kd1jg@...> 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


Robert Cartier
kd1jg@...



 

开云体育

What platform are you running on?

The source is available on github



73, John



On 22/03/2025 15:36, Robert Cartier via groups.io wrote:

there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks



On Mar 22, 2025, at 11:35?AM, Robert Cartier <rob.cartier@...> wrote:

? there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks


On Mar 21, 2025, at 3:33?PM, rob.cartier@... wrote:

? What I found is I am able to use Direwolf since I can edit the configuration file too reflect the symbolic link and it works
Wish there was an easy way in QtSoundmodem to accomplish the same thing without jumping thru hoops

Thanks


On Mar 21, 2025, at 14:33, Ben Kuhn via groups.io <ku0hn@...> wrote:


Hi Rob,

The GUI configuration won't detect the symlinks, as you discovered.? If you set everything else up and close the application you can edit the .ini file directly and add the symlink in there and it will use it.? The down side of this approach is if you open the GUI configuration again it will overwrite it and it'll need to be edited by hand again.

Another option is to use rigctld (hamlib) and let that handle the PTT.? If you are using a radio that doesn't support CAT, you can use the "dummy" rig type and specify a PTT device pointed to your serial port.? Then Hamlib will handle PTT only and ignore any other commands.

73,
Ben - KU0HN
On Friday, March 21st, 2025 at 1:20 PM, Robert Cartier via groups.io <kd1jg@...> 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


Robert Cartier
kd1jg@...




 

开云体育

thanks will load it ?
enjoy the weekend ?thanks again
for monitoring the list and supporting

Rob

On Mar 22, 2025, at 12:54?PM, John G8BPQ via groups.io <john.wiseman@...> wrote:

? What platform are you running on?

The source is available on github



73, John



On 22/03/2025 15:36, Robert Cartier via groups.io wrote:
there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks



On Mar 22, 2025, at 11:35?AM, Robert Cartier <rob.cartier@...> wrote:

? there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks


On Mar 21, 2025, at 3:33?PM, rob.cartier@... wrote:

? What I found is I am able to use Direwolf since I can edit the configuration file too reflect the symbolic link and it works
Wish there was an easy way in QtSoundmodem to accomplish the same thing without jumping thru hoops

Thanks


On Mar 21, 2025, at 14:33, Ben Kuhn via groups.io <ku0hn@...> wrote:


Hi Rob,

The GUI configuration won't detect the symlinks, as you discovered.? If you set everything else up and close the application you can edit the .ini file directly and add the symlink in there and it will use it.? The down side of this approach is if you open the GUI configuration again it will overwrite it and it'll need to be edited by hand again.

Another option is to use rigctld (hamlib) and let that handle the PTT.? If you are using a radio that doesn't support CAT, you can use the "dummy" rig type and specify a PTT device pointed to your serial port.? Then Hamlib will handle PTT only and ignore any other commands.

73,
Ben - KU0HN
On Friday, March 21st, 2025 at 1:20 PM, Robert Cartier via groups.io <kd1jg@...> 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


Robert Cartier
kd1jg@...




 

开云体育

I need the source so I can compile on Debian Linux

THanks

On Mar 22, 2025, at 13:13, Robert Cartier via groups.io <kd1jg@...> wrote:

thanks will load it ?
enjoy the weekend ?thanks again
for monitoring the list and supporting

Rob

On Mar 22, 2025, at 12:54?PM, John G8BPQ via groups.io <john.wiseman@...> wrote:

? What platform are you running on?

The source is available on github



73, John



On 22/03/2025 15:36, Robert Cartier via groups.io wrote:
there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks



On Mar 22, 2025, at 11:35?AM, Robert Cartier <rob.cartier@...> wrote:

? there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks


On Mar 21, 2025, at 3:33?PM, rob.cartier@... wrote:

? What I found is I am able to use Direwolf since I can edit the configuration file too reflect the symbolic link and it works
Wish there was an easy way in QtSoundmodem to accomplish the same thing without jumping thru hoops

Thanks


On Mar 21, 2025, at 14:33, Ben Kuhn via groups.io <ku0hn@...> wrote:


Hi Rob,

The GUI configuration won't detect the symlinks, as you discovered.? If you set everything else up and close the application you can edit the .ini file directly and add the symlink in there and it will use it.? The down side of this approach is if you open the GUI configuration again it will overwrite it and it'll need to be edited by hand again.

Another option is to use rigctld (hamlib) and let that handle the PTT.? If you are using a radio that doesn't support CAT, you can use the "dummy" rig type and specify a PTT device pointed to your serial port.? Then Hamlib will handle PTT only and ignore any other commands.

73,
Ben - KU0HN
On Friday, March 21st, 2025 at 1:20 PM, Robert Cartier via groups.io <kd1jg@...> 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


Robert Cartier
kd1jg@...




Robert Cartier
kd1jg@...



 

开云体育

John

I found the branch and running .74 beta 2 ? and yes I can overwrite the PTT Port ?— thanks.. looks nice

On Mar 22, 2025, at 13:13, Robert Cartier via groups.io <kd1jg@...> wrote:

thanks will load it ?
enjoy the weekend ?thanks again
for monitoring the list and supporting

Rob

On Mar 22, 2025, at 12:54?PM, John G8BPQ via groups.io <john.wiseman@...> wrote:

? What platform are you running on?

The source is available on github



73, John



On 22/03/2025 15:36, Robert Cartier via groups.io wrote:
there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks



On Mar 22, 2025, at 11:35?AM, Robert Cartier <rob.cartier@...> wrote:

? there is no source available beyond
the version on the webpage

the directory only shows win and pi executables

i need to compile the source

thanks


On Mar 21, 2025, at 3:33?PM, rob.cartier@... wrote:

? What I found is I am able to use Direwolf since I can edit the configuration file too reflect the symbolic link and it works
Wish there was an easy way in QtSoundmodem to accomplish the same thing without jumping thru hoops

Thanks


On Mar 21, 2025, at 14:33, Ben Kuhn via groups.io <ku0hn@...> wrote:


Hi Rob,

The GUI configuration won't detect the symlinks, as you discovered.? If you set everything else up and close the application you can edit the .ini file directly and add the symlink in there and it will use it.? The down side of this approach is if you open the GUI configuration again it will overwrite it and it'll need to be edited by hand again.

Another option is to use rigctld (hamlib) and let that handle the PTT.? If you are using a radio that doesn't support CAT, you can use the "dummy" rig type and specify a PTT device pointed to your serial port.? Then Hamlib will handle PTT only and ignore any other commands.

73,
Ben - KU0HN
On Friday, March 21st, 2025 at 1:20 PM, Robert Cartier via groups.io <kd1jg@...> 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


Robert Cartier
kd1jg@...




Robert Cartier
kd1jg@...