Answer the question
In order to leave comments, you need to log in
In udev how to distinguish 2 identical devices?
There are 2 modems of the same model, they are determined with the same
ATTRS{idProduct}=="0117"
ATTRS{idVendor}=="19d2"
/dev/GSMmodem_one0
/dev/GSMmodem_one1
/dev/GSMmodem_one2
/dev/GSMmodem_second0
/dev/GSMmodem_second1
/dev/GSMmodem_second2
looking at parent device '/devices/pci0000:00/0000:00:12.0/usb4/4-1':
KERNELS=="4-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{avoid_reset_quirk}=="1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bMaxPower}=="500mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 3"
ATTRS{bcdDevice}=="0000"
ATTRS{bmAttributes}=="e0"
ATTRS{busnum}=="4"
ATTRS{configuration}=="ZTE Configuration"
ATTRS{devnum}=="39"
ATTRS{devpath}=="1"
ATTRS{idProduct}=="0117"
ATTRS{idVendor}=="19d2"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="ZTE,Incorporated"
ATTRS{maxchild}=="0"
ATTRS{product}=="ZTE WCDMA Technologies MSM"
ATTRS{quirks}=="0x10"
ATTRS{removable}=="removable"
ATTRS{speed}=="12"
ATTRS{urbnum}=="5785"
ATTRS{version}==" 2.00"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question