Files
Yu Watanabe 0f0852d391 udev: fix usb device integration
If the device or one of its parent devices is marked as removable or
unknown, then the device itself should be considered removable.

For example, consider a device connected to a USB port of a dock:
1. xHCI Host Controller (devpath=0, maxchild=12, removable=unknown)
2. USB2.1 Hub (dock upstream) (devpath=3, maxchild=4, removable=removable)
3. USB2.1 Hub (inside dock)  (devpath=3.2, maxchild=4, removable=fixed)
4. USB Device (devpath=3.2.4, maxchild=0, removable=unknown)

Previously, the leaf device was considered as internal. With this
change, the device is considered as external, as there is a removable
parent.

Fixes #43965.

(cherry picked from commit 7580215967)
2026-11-03 11:05:14 +00:00
..
2023-05-20 14:27:10 +09:00
2026-02-18 11:51:02 +09:00

Files in this directory contain configuration for systemd-udevd.service, a
daemon that manages symlinks to device nodes, permissions of devices nodes,
emits device events for userspace, and renames network interfaces.

See man:udev(7) for an overview of the configuration file format, and
man:systemd-udevd.service(8) for a description of service itself.

Use 'systemd-analyze cat-config udev/rules.d' to display the effective config.