:: Re: [DNG] /dev/ttyUSBn moving aroun…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Florian Zieboll
日付:  
To: dng
題目: 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