diff options
| author | Panz Dev <panz.development@gmail.com> | 2026-08-18 17:14:31 +0200 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-09-11 18:56:10 +0200 |
| commit | 8099f9da59f1c338bf88e25b7aa2a7fdf840879c (patch) | |
| tree | e5dcd7d00c32909b9f950c91ec7043b343371b00 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 986c24e0fe44f844b44d365b71ce831947f50298 (diff) | |
HID: asus: do not send keyboard init reports to touchpads
Commit 0919db9f3583 ("HID: asus: always fully initialize devices") added a
loop during asus_probe() to send keyboard feature report initializations
(asus_kbd_init) to all ASUS HID devices.
On ASUS laptops with I2C/HID touchpads (such as the ASUS E200HA), sending
keyboard feature reports (FEATURE_KBD_REPORT_ID) to touchpad endpoints
sends invalid feature requests to touchpad hardware, corrupting probe
state and causing the touchpad to become unresponsive.
Wrap the asus_report_id_init loop in an `if (!drvdata->tp)` check so
keyboard feature initialization only runs for actual keyboards.
Tested on ASUS E200HA (where touchpad functionality is fully restored)
and ASUS VivoBook Flip 14 TP401MA (confirming zero regressions).
Fixes: 0919db9f3583 ("HID: asus: always fully initialize devices")
Cc: stable@vger.kernel.org
Signed-off-by: Panz Dev <panz.development@gmail.com>
Reviewed-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
