]> Gentwo Git Trees - linux/.git/commit
HID: evision: Fix Report Descriptor for Evision Wireless Receiver 320f:226f
authorTerry Junge <linuxhid@cosmicgizmosystems.com>
Thu, 20 Nov 2025 01:49:27 +0000 (17:49 -0800)
committerJiri Kosina <jkosina@suse.com>
Wed, 26 Nov 2025 16:17:53 +0000 (17:17 +0100)
commitbaa120439ac0c803a9962df838eeda28846bc93a
tree54ab4fab07b57d1ff99af132cdf98e57b9cd369d
parent36dcfa468525336fc33cfa88f2a5514fc9cc0666
HID: evision: Fix Report Descriptor for Evision Wireless Receiver 320f:226f

The mouse portion of the device's Report Descriptor declares 5 buttons but only
declares 3 usages (Button 1 through Button 3).  As a result events for the 2
side buttons are not generated.

Detect and repair the Report Descriptor if necessary by changing the Usage
Maximum value from Button 3 to Button 5.

[jkosina@suse.com: standardize changelog a little bit]
Reported-by: Artem <temabiill@gmail.com>
Closes: https://lore.kernel.org/all/CADYkRmrfhRf6VmQjc+su+mepyv=TsHc+aMcL6ryRZ5HTZ8pyFg@mail.gmail.com/
Signed-off-by: Terry Junge <linuxhid@cosmicgizmosystems.com>
Tested-by: Artem <temabiill@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/Kconfig
drivers/hid/hid-evision.c
drivers/hid/hid-ids.h