8d419f
From be69b550c85a1882afd01daa24407272ff891bf0 Mon Sep 17 00:00:00 2001
8d419f
From: lucagoc <77584602+lucagoc@users.noreply.github.com>
8d419f
Date: Sat, 7 May 2022 18:30:22 +0200
8d419f
Subject: [PATCH] hwdb: add rammus accelerometer support
8d419f
8d419f
(cherry picked from commit 97d670a4297d4d3ffd21748b70c1a669a67d4e0f)
8d419f
8d419f
Related: #2087778
8d419f
---
8d419f
 hwdb.d/60-sensor.hwdb | 4 ++++
8d419f
 1 file changed, 4 insertions(+)
8d419f
8d419f
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
8d419f
index 70759145a8..d883db22a1 100644
8d419f
--- a/hwdb.d/60-sensor.hwdb
8d419f
+++ b/hwdb.d/60-sensor.hwdb
8d419f
@@ -395,6 +395,10 @@ sensor:modalias:platform:cros-ec-accel:dmi:*svnGoogle:pnVayne*:*
8d419f
 sensor:modalias:platform:cros-ec-accel:dmi:*Google_Nocturne*:*
8d419f
  ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
8d419f
 
8d419f
+# rammus board (Asus Chromebook Flip C433)
8d419f
+sensor:modalias:platform:cros-ec-accel:dmi:*svnGoogle:pnRammus*:*
8d419f
+ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
8d419f
+
8d419f
 #########################################
8d419f
 # GP-electronic
8d419f
 #########################################