:: Re: [DNG] /dev/ttyUSBn moving aroun…
Página Principal
Delete this message
Reply to this message
Autor: Florian Zieboll
Data:  
Para: dng
Assunto: Re: [DNG] /dev/ttyUSBn moving around after wake from suspend

On Mon, 17 Jul 2017 11:44:35 +0300
Lars Noodén <lars.nooden@???> wrote:

> I have several USB-to-serial adapters that move around when the
> machine wakes from suspend or hibernate.
>
> If I start with ttyUSB0 and ttyUSB1, for example, after waking the
> names might remain but have swapped physical devices. So what was
> previously connected to ttyUSB0 is now connected to ttyUSB1 and vice
> versa.
>
> Occasionally, they just move up a notch. So that after waking, I have
> ttyUSB1 and ttyUSB2 instead of ttyUSB0 and ttyUSB1.


Hallo Lars,

I assume that you are using udev as device manager... Until now I only
had to write rules for some NICs, but (as a quick websearch shows) this
seems to be possible for other devices / buses as well:

http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/

Libre Grüße,

Florian