mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
4b6769f612
We must never access random devices in /dev which do not belong to the event we are handling. Hard-coding /dev/hidrawX, and looping over all devices is absolutely not acceptable --> hook into hidraw events. We can not relay on (rather random) properties merged into the parent device by earlier rules --> use libudev to find the sibling device with a matching interface. Libusb does not fit into udev's use case. We never want want to scan and open() all usb devices in the system, just to find the device we are already handling the event for --> put all the stupid scanning into a single function and prepare for a fixed libusb or drop it later.
12 lines
482 B
Plaintext
12 lines
482 B
Plaintext
|
|
o get rid of braindead "scan all devices to find myself" libusb interface
|
|
if it can not be fixed, drop libusb entirely
|
|
o enumerate: sort control* after pcm*
|
|
o add tests for kernel provided DEVNAME logic
|
|
o convert firmware.sh to C
|
|
|
|
o symlink names to udevadm will no longer be resolved to old command names
|
|
o "udevadm control" commands will only accept the --<command> syntax
|
|
o drop all support for the DEPRECATED sysfs layout
|
|
o add warning for BUS, SYSFS, ID
|