Skip to content

[FROM-ML] HID: asus: do not send keyboard init reports to touchpads - #96

Open
NeroReflex wants to merge 1 commit into
features/asusfrom
neroreflex/hid-asus-fix
Open

[FROM-ML] HID: asus: do not send keyboard init reports to touchpads#96
NeroReflex wants to merge 1 commit into
features/asusfrom
neroreflex/hid-asus-fix

Conversation

@NeroReflex

Copy link
Copy Markdown

Sending keyboard initialization packets to touchpads messes them up: I forgot to exclude those devices when I reworked hid-asus and the commit author has sent a fix.

Link v2: https://lore.kernel.org/all/20260818152901.B5D781F00A3D@smtp.kernel.org/
Link v1: https://lore.kernel.org/all/20260818085623.18467-1-panz.development@gmail.com/

@pastaq pastaq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing functionally wrong, but IMO the nesting depth is too much and should be reworked for v3.

@KyleGospo
KyleGospo changed the base branch from master to features/asus August 20, 2026 14:19
@KyleGospo

Copy link
Copy Markdown
Member

Need a quick rebase, looks good to me though!

@NeroReflex

Copy link
Copy Markdown
Author

Nothing functionally wrong, but IMO the nesting depth is too much and should be reworked for v3.

You find me in perfect agreement: https://lore.kernel.org/all/20260819195835.1649657-2-denis.benato@linux.dev/

Commit 0919db9 ("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: 0919db9 ("HID: asus: always fully initialize devices")
Cc: stable@vger.kernel.org
Signed-off-by: Panz Dev <panz.development@gmail.com>
@NeroReflex
NeroReflex force-pushed the neroreflex/hid-asus-fix branch from 19321d1 to 954238d Compare August 20, 2026 15:15
@NeroReflex

Copy link
Copy Markdown
Author

Need a quick rebase, looks good to me though!

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants