Lenovo Legion 5 Pro 16ARH7H touchpad disable while typing not working (requires keyboard quirk)
After some time looking on the Internet I found few bug reports and solutions here how to solve issues with "Disable while typing" feature not working on machines, so I wanted to try and see if I can make it work for me.
Machine in question is: Lenovo Legion 5 Pro 16ARH7H
Touchpad info from libinput list-devies
:
Device: ELAN06FA:00 04F3:31AD Touchpad
Kernel: /dev/input/event8
Group: 8
Seat: seat0, default
Size: 119x73mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: *two-finger edge
Click methods: *button-areas clickfinger
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles: flat *adaptive custom
Rotation: n/a
To solve my issues I have added a quirk for the keyboard with:
...
AttrKeyboardIntegration=internal
...
After reboot, touchpad is disabled while typing on internal keyboard.
I have used libinput record
to verify which device is actual keyboard (to be matched in the quirk)
I'll make a MR for this, in case I need to provide any additional information, I can do it probably.