systemd/SOURCES/0327-hwdb-Add-Lenovo-ThinkPad-C13-Yoga.patch
2022-11-15 07:41:42 +00:00

28 lines
972 B
Diff

From cdaf92f134f358ad681678162a4bbf50e4a6477a Mon Sep 17 00:00:00 2001
From: Akihiko Odaki <akihiko.odaki@gmail.com>
Date: Sat, 11 Jun 2022 07:58:52 +0900
Subject: [PATCH] hwdb: Add Lenovo ThinkPad C13 Yoga
(cherry picked from commit c3b8113af061eaf696fec46a1a9f38600d588f32)
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 3de4616f7f..971fac84d5 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -416,6 +416,10 @@ sensor:modalias:platform:cros-ec-accel:dmi:*Google_Nocturne*:*
sensor:modalias:platform:cros-ec-accel:dmi:*svnGoogle:pnRammus*:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
+# Lenovo ThinkPad C13 Yoga
+sensor:modalias:platform:cros-ec-accel:dmi:*svnGoogle:pnMorphius*:*
+ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
+
#########################################
# GP-electronic
#########################################