diff options
| author | Vicki Pfau <vi@endrift.com> | 2026-06-23 19:36:01 -0700 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-08-03 19:28:13 +0200 |
| commit | cdf826a94e0fef8dfc707967e8efee5571ca0f37 (patch) | |
| tree | ea25a9ff1c871df509db2e7ae8318863b53ef787 /tools/perf/scripts/python/bin | |
| parent | a4bc41504690b7d7064931909874f5b98cd148b6 (diff) | |
HID: core: Expose id attributes in sysfs
udev rules for handling input devices generally match on idVendor and
idProduct for USB hidraw or id/vendor and id/product for evdev nodes.
However, hidraw nodes that aren't created by the USB subsystem will only
expose this information to udev via the kernel path itself. This leads to
doing substring matching, which can be error-prone or overzealous. Instead,
since the HID subsystem already has this information, we can expose it
directly in the same format that evdev exposes it.
Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
