From: José Expósito Date: Mon, 31 Jul 2023 11:24:57 +0000 (+0200) Subject: quirks: AddHP Spectre x360 15 ModelTabletModeNoSuspend keyboard quirk X-Git-Tag: 1.24.0~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa0d27d175469c9330ea4baa98d255c5443895db;p=platform%2Fupstream%2Flibinput.git quirks: AddHP Spectre x360 15 ModelTabletModeNoSuspend keyboard quirk 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 --- diff --git a/quirks/50-system-hp.quirks b/quirks/50-system-hp.quirks index 03901d85..80e7b9b4 100644 --- a/quirks/50-system-hp.quirks +++ b/quirks/50-system-hp.quirks @@ -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*