From 7379fc11b4a83c850bb2a8e1415e031dbda6f04c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Mon, 31 Jul 2023 13:24:57 +0200 Subject: [PATCH] quirks: AddHP Spectre x360 15 ModelTabletModeNoSuspend keyboard quirk MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- quirks/50-system-hp.quirks | 8 ++++++++ 1 file changed, 8 insertions(+) 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* -- 2.34.1