:: Re: [DNG] /dev/ttyUSBn moving aroun…
Etusivu
Poista viesti
Vastaa
Lähettäjä: G.W. Haywood
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] /dev/ttyUSBn moving around after wake from suspend
Hi there,

On Mon, 17 Jul 2017, Lars Noodén wrote:

> ... these specific cables lack a reportable serial number ...
>
> ...
> Jul 10 04:09:09 me kernel: [    6.545480] usb 1-1.1.3:
> New USB device found, idVendor=067b, idProduct=2303
> Jul 10 04:09:09 me kernel: [    6.545481] usb 1-1.1.3:
> New USB device strings: Mfr=1, Product=2, SerialNumber=0
> ...
> Jul 10 04:09:09 me kernel: [    6.555898] usb 1-1.1.3:
> pl2303 converter now attached to ttyUSB0
> ...
> Jul 10 04:09:09 me kernel: [    6.765357] usb 1-1.1.4:
> New USB device found, idVendor=067b, idProduct=2303
> Jul 10 04:09:09 me kernel: [    6.765358] usb 1-1.1.4:
> New USB device strings: Mfr=1, Product=2, SerialNumber=0
> ...
> Jul 10 04:09:09 me kernel: [    6.767013] usb 1-1.1.4:
> pl2303 converter now attached to ttyUSB1
> ...


You might be able to do something to differentiate between them if you
plug them into different hubs, and look for the hub ID as well as the
ttyUSB device. Many PCs have more than one internal hub installed,
here's my laptop:

laptop3:~# >>> lsusb
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

--

73,
Ged.