richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
Blob Blame History Raw
From d16426ae82574ad5312f0b3aaee076be199fe302 Mon Sep 17 00:00:00 2001
From: Alice S <quarkyalice@disroot.org>
Date: Sun, 1 May 2022 14:49:18 -0700
Subject: [PATCH] Fix orientation detection for HP Pavilion X2 10-k010nr

(cherry picked from commit 8099abee00e3c6f53c292e8f8d33fc487e71a198)

Related: #2087778
---
 hwdb.d/60-sensor.hwdb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 0dfaaaf467..b5d9eda510 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -452,6 +452,8 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:*
 
 # HP Pavillion X2 10-n000nd
 sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2Detachable:*:rn815D:*
+# HP Pavilion X2 10-k010nr
+sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2DetachablePC10:*
  ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
 
 # HP Pro Tablet 408 G1