systemd/0933-hwdb-Add-accelerometer-data-for-Librem11-29974.patch
Jan Macku 5e4e586032 systemd-252-41
Resolves: RHEL-36276,RHEL-45020,RHEL-50672,RHEL-5950
2024-08-16 09:00:42 +02:00

32 lines
1.0 KiB
Diff

From 754c8f72a872102032bd99334c8de76a80d8015b Mon Sep 17 00:00:00 2001
From: zeroskyx <zeroskyx@users.noreply.github.com>
Date: Fri, 10 Nov 2023 14:32:05 +0100
Subject: [PATCH] hwdb: Add accelerometer data for Librem11 (#29974)
(cherry picked from commit 49a2fe138830393d18a4f7c01c397dfe3f48cfc0)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index e78c795241..c17f57ace7 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -926,6 +926,14 @@ sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrMx.WT107.KUBNGEA*svnInsyde:
sensor:modalias:acpi:SMO8500*:dmi:*:svnProwise:pnPT301:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
+#########################################
+# Purism
+#########################################
+
+# Librem11
+sensor:modalias:acpi:MXC6655*:dmi:*:svnPurism*:pnlibrem_11*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
#########################################
# Reeder
#########################################