]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: mark Microsoft Surface Type Cover touchpad as internal (#43262)
authorlzwind <100665065+lzwind@users.noreply.github.com>
Mon, 3 Aug 2026 04:41:02 +0000 (12:41 +0800)
committerGitHub <noreply@github.com>
Mon, 3 Aug 2026 04:41:02 +0000 (13:41 +0900)
The Microsoft Surface Type Cover touchpad (USB 045E:09C0) is attached
through a USB port that firmware reports as removable. Because of that,
`65-integration.rules` sets `ID_INPUT_TOUCHPAD_INTEGRATION=external`,
and libinput skips disable-while-typing (DWT) for the device.

The touchpad is physically integrated into the Type Cover, so add a hwdb
entry in `70-touchpad.hwdb` that overrides
`ID_INPUT_TOUCHPAD_INTEGRATION=internal`, restoring DWT.

Fixes #43256

hwdb.d/70-touchpad.hwdb

index 8c166d701396b05fdb8e3aa2d356f794a7f4ed61..2d5feb92365cb609cc1aa84518c2c5585784c4b1 100644 (file)
 ###########################################################
 touchpad:bluetooth:v17efp60fa:*
  ID_INPUT_TOUCHPAD_INTEGRATION=internal
+
+###########################################################
+# Microsoft Surface Type Cover
+###########################################################
+# The USB port is reported as removable by firmware, so 65-integration.rules
+# classifies the touchpad as external and libinput skips disable-while-typing.
+# The touchpad is physically integrated; mark it internal to enable DWT.
+touchpad:usb:v045ep09c0:name:Microsoft Surface Type Cover Touchpad:*
+ ID_INPUT_TOUCHPAD_INTEGRATION=internal