quirks: AddHP Spectre x360 15 ModelTabletModeNoSuspend keyboard quirk
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 31 Jul 2023 11:24:57 +0000 (13:24 +0200)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Dec 2023 10:23:27 +0000 (19:23 +0900)
The HP stream x360's embedded-controller filters out events form its
builtin keyboard when in tablet-mode itself; and it has a volume up/down
on the side.

Do not suspend the keyboard when in tablet-mode so that the volume
up/down button keeps working when in tablet-mode.

Add a ModelTabletModeNoSuspend quirk so that the home button keeps
working when in tablet-mode.
This can safely be done since the rest of the keyboard gets disabled by
the embedded-controller for us.

Fixes https://gitlab.freedesktop.org/libinput/libinput/-/issues/920
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
quirks/50-system-hp.quirks

index 03901d850117fc6ef1c186cb46ed2d84eae3b34d..80e7b9b4be2a21e3d8bf8067fb5b4e2a6432c1f3 100644 (file)
@@ -66,6 +66,14 @@ MatchDMIModalias=dmi:*svnHP:pnHPSpectrex360Convertible15-ch0xx:*
 AttrThumbPressureThreshold=90
 AttrPalmPressureThreshold=100
 
+# The HP stream x360's embedded-controller filters out events form its builtin
+# keyboard when in tablet-mode itself; and it has a volume up/down on the side.
+# Do not suspend the keyboard when in tablet-mode so that the volume up/down
+# button keeps working when in tablet-mode.
+[HP Spectre x360 Convertible 15-ch0xx Tablet Mode Switch]
+MatchName=AT Translated Set 2 keyboard
+MatchDMIModalias=dmi:*svnHP:pnHPSpectrex360Convertible15-ch0xx:*
+ModelTabletModeNoSuspend=1
 
 [HP Elite x2 1013 G3 Tablet Mode Switch]
 MatchName=*Intel Virtual Button*