Package: udev
Version: 252-2

After the 252~rc3-2 -> 252-2 uprade, udev no longer creates serial/by-id symlinks for my /dev/ttyUSB devices.

See the attached "udevadm info /dev/ttyUSB0" dumps for both versions.

I guess https://github.com/systemd/systemd/commit/479da1107a0d4e2f is the culprit? Looks like usb_id no longer sets ID_SERIAL, only ID_USB_SERIAL, but 60-serial.rules uses only the former.


-- System Information:
Architecture: i386

Versions of packages udev depends on:
ii  libacl1      2.3.1-1
ii  libblkid1    2.38.1-1.1+b1
ii  libc6        2.36-3
ii  libcap2      1:2.44-1
ii  libkmod2     30+20220905-1
ii  libselinux1  3.4-1+b2
ii  adduser      3.129
ii  libudev1     252-2

--
Jakub Wilk
# dpkg-query -W udev
udev    252~rc3-2

# udevadm info /dev/ttyUSB0
P: /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/ttyUSB0/tty/ttyUSB0
M: ttyUSB0
R: 0
U: tty
D: c 188:0
N: ttyUSB0
L: 0
S: serial/by-path/pci-0000:00:14.0-usb-0:7:1.0-port0
S: gsmmodem2
S: serial/by-id/usb-HUAWEI_HUAWEI_Mobile-if00-port0
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/ttyUSB0/tty/ttyUSB0
E: DEVNAME=/dev/ttyUSB0
E: MAJOR=188
E: MINOR=0
E: SUBSYSTEM=tty
E: USEC_INITIALIZED=26607958
E: ID_BUS=usb
E: ID_VENDOR_ID=12d1
E: ID_MODEL_ID=1506
E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=USB controller
E: ID_PCI_INTERFACE_FROM_DATABASE=XHCI
E: ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
E: ID_MODEL_FROM_DATABASE=Modem/Networkcard
E: ID_VENDOR=HUAWEI
E: ID_VENDOR_ENC=HUAWEI
E: ID_MODEL=HUAWEI_Mobile
E: ID_MODEL_ENC=HUAWEI\x20Mobile
E: ID_REVISION=0102
E: ID_SERIAL=HUAWEI_HUAWEI_Mobile
E: ID_TYPE=generic
E: ID_USB_INTERFACES=:ff0201:ff0216:ff0203:ff0202:080650:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=option
E: ID_PATH=pci-0000:00:14.0-usb-0:7:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_7_1_0
E: DEVLINKS=/dev/serial/by-path/pci-0000:00:14.0-usb-0:7:1.0-port0 
/dev/gsmmodem2 /dev/serial/by-id/usb-HUAWEI_HUAWEI_Mobile-if00-port0
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:
# dpkg-query -W udev
udev    252-2

# udevadm info /dev/ttyUSB0
P: /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/ttyUSB0/tty/ttyUSB0
M: ttyUSB0
R: 0
U: tty
D: c 188:0
N: ttyUSB0
L: 0
S: gsmmodem2
S: serial/by-path/pci-0000:00:14.0-usb-0:7:1.0-port0
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/ttyUSB0/tty/ttyUSB0
E: DEVNAME=/dev/ttyUSB0
E: MAJOR=188
E: MINOR=0
E: SUBSYSTEM=tty
E: USEC_INITIALIZED=354525985
E: ID_BUS=pci
E: ID_VENDOR_ID=0x8086
E: ID_MODEL_ID=0xa2af
E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=USB controller
E: ID_PCI_INTERFACE_FROM_DATABASE=XHCI
E: ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
E: ID_MODEL_FROM_DATABASE=Modem/Networkcard
E: ID_USB_MODEL=HUAWEI_Mobile
E: ID_USB_MODEL_ENC=HUAWEI\x20Mobile
E: ID_USB_MODEL_ID=1506
E: ID_USB_SERIAL=HUAWEI_HUAWEI_Mobile
E: ID_USB_VENDOR=HUAWEI
E: ID_USB_VENDOR_ENC=HUAWEI
E: ID_USB_VENDOR_ID=12d1
E: ID_USB_REVISION=0102
E: ID_USB_TYPE=generic
E: ID_USB_INTERFACES=:ff0201:ff0216:ff0203:ff0202:080650:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=option
E: ID_PATH=pci-0000:00:14.0-usb-0:7:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_7_1_0
E: DEVLINKS=/dev/gsmmodem2 
/dev/serial/by-path/pci-0000:00:14.0-usb-0:7:1.0-port0
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:

Reply via email to