systemd/SOURCES/1013-hwdb-fix-accelerometer-mount-matrix-for-Aquarius-Cmp.patch

27 lines
946 B
Diff

From bf4628365dc8a5e0560ac118a0f362606bb1a309 Mon Sep 17 00:00:00 2001
From: Vasiliy Kovalev <kovalev@altlinux.org>
Date: Thu, 18 Jul 2024 21:42:18 +0300
Subject: [PATCH] hwdb: fix accelerometer mount matrix for Aquarius Cmp NS483
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
(cherry picked from commit 8891f9332f8b38b37db54ef8d0d8ed2d05e2f702)
Related: RHEL-5950
---
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 6abb6c5238..f7892680bc 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -116,6 +116,8 @@ sensor:modalias:acpi:BOSC0200*:dmi:*svnAcer*:*pnSpinSP111-34:*
# Aquarius
#########################################
+# Aquarius Cmp NS483
+sensor:modalias:acpi:MXC4005*:dmi:*:svnAquarius*:pnCmp*NS483:*
# Aquarius NS483
sensor:modalias:acpi:MXC6655*:dmi:*:svnAquarius*:pnNS483:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1