DescriptionMonitor udev for hidraw devices instead of hid devices.
Watching for new hid devices is racy because the hidraw device rules are
still running. Fix the race by explicitly waiting for the hidraw device
add event. The properties needed from the hid device can be gotten by
fetching the parent of the hidraw device from the sysfs tree.
BUG=394200
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283810
Patch Set 1 #
Total comments: 4
Patch Set 2 : Don't needlessly rename constants. #
Messages
Total messages: 7 (0 generated)
|