On Wed Aug 14 14:42:10 2024 +0000, Rémi Bernon wrote:
Maybe an elegant solution here is to just parse the 'usb' subsystem
before the 'input' in udev_add_device(). Possibly, I'm not completely sure what amount of variation in term of available subsystems we can have.
Yes, it's better if they work properly regardless of the sequence.
Also the 'input' subsystem extracts 'bus' here for a second chance after 'HID_ID' above.