richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
594167
From 1514432a3837d7feaf70e34fbfafc8137e539ea8 Mon Sep 17 00:00:00 2001
594167
From: Bastien Nocera <hadess@hadess.net>
594167
Date: Fri, 21 Jan 2022 18:57:21 +0100
594167
Subject: [PATCH] hwdb: Add Microsoft Surface Pro 1 chassis quirk
594167
594167
See https://github.com/systemd/systemd/issues/7390#issuecomment-345546127
594167
594167
(cherry picked from commit bdf182debe715ff7876c610b0f93540437cb8b43)
594167
594167
Related: #2087778
594167
---
594167
 hwdb.d/20-dmi-id.hwdb | 4 ++++
594167
 1 file changed, 4 insertions(+)
594167
594167
diff --git a/hwdb.d/20-dmi-id.hwdb b/hwdb.d/20-dmi-id.hwdb
594167
index a614473bd9..c7bf6cfab1 100644
594167
--- a/hwdb.d/20-dmi-id.hwdb
594167
+++ b/hwdb.d/20-dmi-id.hwdb
594167
@@ -4,3 +4,7 @@
594167
 dmi:bvnLENOVO*
594167
     ID_SYSFS_ATTRIBUTE_MODEL=product_version
594167
     ID_VENDOR_FROM_DATABASE=Lenovo
594167
+
594167
+# Microsoft Surface 1's chassis type
594167
+dmi:bvnMicrosoft Corporation*:pvrSurface with Windows 8 Pro*
594167
+    ID_CHASSIS=tablet