Re: [PATCH] HID: core: Expose id attributes in sysfs

Jiri Kosina <[email protected]> Mon, 3 Aug 2026 19:28:23 +0200 (CEST)
Newsgroups org.kernel.vger.linux-input
Message-ID <[email protected]>
On Tue, 23 Jun 2026, Vicki Pfau wrote:

> 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.

Applied, thank you.

-- 
Jiri Kosina
SUSE Labs