systemd/SOURCES/0854-hwdb-Add-mount-matrix-for-Linx-1020.patch

28 lines
1.0 KiB
Diff
Raw Permalink Normal View History

2024-10-04 13:28:39 +00:00
From bce0c1d2c621bf7bcbd6bf3bbc6e9cfb9daa4683 Mon Sep 17 00:00:00 2001
From: Spindle Security <114083317+SpindleSec@users.noreply.github.com>
Date: Wed, 11 Jan 2023 09:57:20 +0000
Subject: [PATCH] hwdb: Add mount matrix for Linx 1020
(cherry picked from commit c9c35a3ffa492ffb21022192338ebec8ece79b47)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index df81942fc8..d82dfbdb58 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -652,6 +652,10 @@ sensor:modalias:i2c:bmc150_accel:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
sensor:modalias:acpi:BOSC0200*:dmi:*:svnLINX*:pnLINX1010B:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
+# Linx 1020
+sensor:modalias:acpi:MIRAACC*:dmi:*:svnLINX*:pnLINX1020:*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, -1
+
# Linx 12X64, 12V64 and Vision 8
sensor:modalias:acpi:KIOX000A*:dmi:*:svnLINX*:pnLINX12*64:*
sensor:modalias:acpi:KIOX000A*:dmi:*:svnLINX:pnVISION004:*