summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLukasz Leczkowski <lukileczo@gmail.com>2026-11-13 20:00:32 +0100
committerJiri Kosina <jkosina@suse.com>2026-11-20 14:59:25 +0100
commit21eeb98663bd36ace9c646771484be3f049c9f02 (patch)
tree2a79b423d57aba1a3b579301d91e68709fe5033d /tools/perf/scripts/python/stackcollapse.py
parentf2f69bbddd34801cbf6af2e89235ca427f3811c5 (diff)
HID: quirks: add ALWAYS_POLL for ASUS ProArt MD301 mouse
In mouse firmware version 0.00.31 and receiver 0.00.20, the receiver of the ASUS ProArt MD301 mouse (0b05:1cd3) delays button events by up to ~500 ms. The receiver exposes five HID interfaces. Besides the keyboard and mouse interfaces, interface 4 (vendor usage page 0xffc1) carries a copy of every button and wheel event as a 64-byte vendor report. As this interface has no input handlers, usbhid does not poll its interrupt-IN endpoint unless userspace opens the hidraw node. The firmware appears to hold back the mouse report on interface 1 until the vendor report has been read or some timeout expires. Add HID_QUIRK_ALWAYS_POLL for the receiver so that all of its endpoints are polled continuously. The issue was analysed with the help of Claude Code (Claude Opus 5.5), which captured the raw HID reports, identified the unpolled vendor interface and drafted this patch. Tested on 7.3.0 with this patch applied; clicks are delivered immediately and double-clicks work again. Signed-off-by: Lukasz Leczkowski <lukileczo@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions