On Wed, Mar 8, 2017 at 4:35 PM Pino Zollo <[email protected]> wrote:

> from time to time my connection USB to the IC-7300 changes from
> /dev/ttyUSB0   to /dev/ttyUSB1.
>
> This makes rigctld loose the control of the radio.
>
> Is there any method to tie /dev/ttyUSB0 to a specific physical USB port ?
>

You can use the devices in /dev/serial/by-path. These are set up by udev
rules and so might vary by distro. I know they work on Ubuntu anyway.

You can also just write your own udev rules.

https://wiki.archlinux.org/index.php/udev#Writing_udev_rules

I write them to look for attributes of my specific device so it matter
where I plug it in, and there's a friendly name for it. For example, this
one makes /dev/ft-897 a symlink to the appropriate USB device for my FT-897:

SUBSYSTEM=="tty", ATTRS{serial}=="A70210YE", SYMLINK+="ft-897"

I also have a SoftRock:

ATTR{idProduct}=="05dc", ATTR{idVendor}=="16c0", ATTR{serial}=="PA0FKN-1",
SYMLINK+="softrock"
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to