teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0309-Fix-orientation-detection-for-HP-Pavilion-X2-10-k010.patch

594167
From d16426ae82574ad5312f0b3aaee076be199fe302 Mon Sep 17 00:00:00 2001
594167
From: Alice S <quarkyalice@disroot.org>
594167
Date: Sun, 1 May 2022 14:49:18 -0700
594167
Subject: [PATCH] Fix orientation detection for HP Pavilion X2 10-k010nr
594167
594167
(cherry picked from commit 8099abee00e3c6f53c292e8f8d33fc487e71a198)
594167
594167
Related: #2087778
594167
---
594167
 hwdb.d/60-sensor.hwdb | 2 ++
594167
 1 file changed, 2 insertions(+)
594167
594167
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
594167
index 0dfaaaf467..b5d9eda510 100644
594167
--- a/hwdb.d/60-sensor.hwdb
594167
+++ b/hwdb.d/60-sensor.hwdb
594167
@@ -452,6 +452,8 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:*
594167
 
594167
 # HP Pavillion X2 10-n000nd
594167
 sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2Detachable:*:rn815D:*
594167
+# HP Pavilion X2 10-k010nr
594167
+sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2DetachablePC10:*
594167
  ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
594167
 
594167
 # HP Pro Tablet 408 G1