ID_VENDOR_ID and ID_MODEL_ID reported wrong?

Aleksander Morgado aleksander at aleksander.es
Tue Mar 7 11:44:34 UTC 2017


Hey,

Looks like getting ID_VENDOR_ID and ID_MODEL_ID from the tty sysfs
path may give the serial controller vid:pid, instead of the actual
device vid:pid (which we get when getting the properties from the
physical device sysfs path instead of the tty sysfs path).

$ udevadm info -p
/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.4/4-1.4:1.0/ttyUSB0/tty/ttyUSB0
E: ID_MODEL_ID=0x3b34   (wrong)
E: ID_VENDOR_ID=0x8086   (wrong)

$ udevadm info -p /sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.4
E: ID_MODEL_ID=2303
E: ID_VENDOR_ID=067b

After a google search I found this:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1539348

Can anyone confirm this in his own machine/system? Or is this just a
bug in mine for some reason?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list