Quantcast
Viewing all articles
Browse latest Browse all 19115

0005872: Wrong information in /dev/serial/by-id if dongles have same internal-name.

Information in "/dev/serial/by-id/" is wrong if USB dongles have the same internal-name.<br /> <br /> Also, /dev/serial/by-id/ and /dev/serial/by-path/ are incoherent.<br /> <br /> Example: There is 3 USB E367 dongles plugged in:<br /> <br /> /dev/serial/by-path will show:<br /> <br /> pci-0000:00:1a.0-usb-0:1.4:1.0-port0 -> ../../ttyUSB8<br /> pci-0000:00:1a.0-usb-0:1.4:1.1-port0 -> ../../ttyUSB9<br /> pci-0000:00:1a.0-usb-0:1.4:1.2-port0 -> ../../ttyUSB10<br /> pci-0000:00:1a.0-usb-0:1.4:1.3-port0 -> ../../ttyUSB11<br /> pci-0000:00:1a.0-usb-0:1.6:1.0-port0 -> ../../ttyUSB0<br /> pci-0000:00:1a.0-usb-0:1.6:1.1-port0 -> ../../ttyUSB1<br /> pci-0000:00:1a.0-usb-0:1.6:1.2-port0 -> ../../ttyUSB2<br /> pci-0000:00:1a.0-usb-0:1.6:1.3-port0 -> ../../ttyUSB3<br /> pci-0000:00:1d.0-usb-0:1.6:1.0-port0 -> ../../ttyUSB4<br /> pci-0000:00:1d.0-usb-0:1.6:1.1-port0 -> ../../ttyUSB5<br /> pci-0000:00:1d.0-usb-0:1.6:1.2-port0 -> ../../ttyUSB6<br /> pci-0000:00:1d.0-usb-0:1.6:1.3-port0 -> ../../ttyUSB7<br /> <br /> 12 files created, that is right for this model.<br /> <br /> However, in /dev/serial/by-id/ we will get:<br /> <br /> usb-Huawei_Technologies_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB4<br /> usb-Huawei_Technologies_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB5<br /> usb-Huawei_Technologies_HUAWEI_Mobile-if02-port0 -> ../../ttyUSB6<br /> usb-Huawei_Technologies_HUAWEI_Mobile-if03-port0 -> ../../ttyUSB7<br /> <br /> Only 4 files!.<br /> <br /> That files were overwritten twice by the last dongle detected.<br /> Why? All dongles come with the same name "usb-Huawei_Technologies_HUAWEI_Mobil"

Viewing all articles
Browse latest Browse all 19115

Trending Articles