From 29375e543f34b873eacad4fe94543413a94dd973 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 15 May 2020 21:17:36 +0200 Subject: [PATCH] quirks: Add HP stream x360 11 ModelTabletModeNoSuspend keyboard quirk The HP stream x360 11's embedded-controller filters out events form its builtin keyboard when in tablet-mode itself; and it has a capacitive home-button (windows logo) underneath its display which also sends PS/2 key-events. Suspending the keyboard while in tablet-mode also disable the capacitive home button, which is undesirable. 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. Signed-off-by: Hans de Goede (cherry picked from commit 36181294968c919e3dfcccd161f322f181535d03) --- quirks/50-system-hp.quirks | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/quirks/50-system-hp.quirks b/quirks/50-system-hp.quirks index 47e273c2..0109991e 100644 --- a/quirks/50-system-hp.quirks +++ b/quirks/50-system-hp.quirks @@ -24,6 +24,16 @@ MatchName=SYN1EDE:00 06CB:7442 MatchDMIModalias=dmi:*svnHewlett-Packard:pnHPStreamNotebookPC11* ModelHPStream11Touchpad=1 +# The HP stream x360's embedded-controller filters out events form its builtin +# keyboard when in tablet-mode itself; and it has a capacitive home-button +# (windows logo) underneath its display which also sends PS/2 key-events. +# Do not suspend the keyboard when in tablet-mode so that the home button +# keeps working when in tablet-mode. +[HP Stream x360 11] +MatchName=AT Translated Set 2 keyboard +MatchDMIModalias=dmi:*:svnHewlett-Packard:pnHPStreamx360ConvertiblePC11:* +ModelTabletModeNoSuspend=1 + [HP ZBook Studio G3] MatchName=AlpsPS/2 ALPS GlidePoint MatchDMIModalias=dmi:*svnHP:pnHPZBookStudioG3:*