udev: first set properties based on usb subsystem
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 3 Nov 2022 00:39:36 +0000 (09:39 +0900)
committerCarlos Henrique Lima Melara <charlesmelara@riseup.net>
Thu, 26 Jun 2025 00:44:53 +0000 (21:44 -0300)
commit98c39947575ce8681c3da6b8b0a4b9cb169dfb01
tree3169b503a8f17627c8e574cc085bc48e4902d8ba
parent3a7c382797d841db641419e7ff91adfe500b428b
udev: first set properties based on usb subsystem

After 479da1107a0d4e2f7ef5cd938512b87a0e45f180, the usb_id builtin
command does not set ID_SERIAL if ID_BUS is already set.
Before the commit, all properties set based on pci bus were overwritten
by the usb_id, hence now it is sufficient setting them only when ID_BUS is
not set yet.

Fixes #25238.

(cherry picked from commit 01e704eba982fbc1517287cd261d229ff8e0a779)

Gbp-Pq: Name udev-first-set-properties-based-on-usb-subsystem.patch
rules.d/60-serial.rules