From d90af8ab147b3795b8c6a8e3bf62351b4d22eefd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 15 Dec 2020 12:39:23 +0900 Subject: [PATCH] Match all Surface (Pro/Laptop/Book) devices. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Blaž Hrastnik (cherry picked from commit aec8e0b4ef00f46e964a0053b98638fa72701543) --- quirks/30-vendor-microsoft.quirks | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/quirks/30-vendor-microsoft.quirks b/quirks/30-vendor-microsoft.quirks index 36eb9927..00f755e1 100644 --- a/quirks/30-vendor-microsoft.quirks +++ b/quirks/30-vendor-microsoft.quirks @@ -5,9 +5,14 @@ MatchName=*Lid Switch* MatchDMIModalias=dmi:*svnMicrosoftCorporation:pnSurface3:* AttrLidSwitchReliability=write_open -[Microsoft Surface 3 Type Cover Keyboard] -MatchName=*Microsoft Surface Type Cover Keyboard* -MatchDMIModalias=dmi:*svnMicrosoftCorporation:pnSurface3:* +# Matches both Surface Laptop keyboards as well as type covers. +# i.e. +# - Surface 3: Microsoft Surface 3 Type Cover Keyboard +# - Surface Laptop 3: Microsoft Surface 045E:09AE Keyboard +# - Surface Book 2: Microsoft Surface Keyboard +[Microsoft Surface Keyboard] +MatchName=*Microsoft Surface *Keyboard* +MatchDMIModalias=dmi:*svnMicrosoftCorporation:* AttrKeyboardIntegration=internal [Microsoft Nano Transceiver v2.0]