naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
Blob Blame History Raw
From be69b550c85a1882afd01daa24407272ff891bf0 Mon Sep 17 00:00:00 2001
From: lucagoc <77584602+lucagoc@users.noreply.github.com>
Date: Sat, 7 May 2022 18:30:22 +0200
Subject: [PATCH] hwdb: add rammus accelerometer support

(cherry picked from commit 97d670a4297d4d3ffd21748b70c1a669a67d4e0f)

Related: #2087778
---
 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 70759145a8..d883db22a1 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -395,6 +395,10 @@ sensor:modalias:platform:cros-ec-accel:dmi:*svnGoogle:pnVayne*:*
 sensor:modalias:platform:cros-ec-accel:dmi:*Google_Nocturne*:*
  ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
 
+# rammus board (Asus Chromebook Flip C433)
+sensor:modalias:platform:cros-ec-accel:dmi:*svnGoogle:pnRammus*:*
+ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
+
 #########################################
 # GP-electronic
 #########################################