You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.7 KiB
43 lines
1.7 KiB
2 months ago
|
From f6e9f4c64161d39469bd2a25cd079fd4bfe090df Mon Sep 17 00:00:00 2001
|
||
|
From: csp5me <67696076+csp5me@users.noreply.github.com>
|
||
|
Date: Mon, 8 Jul 2024 15:28:54 +0700
|
||
|
Subject: [PATCH] Update 60-sensor.hwdb
|
||
|
|
||
|
This update has been tested on the 2023 Chuwi Freebook N100. The hwdb entry has been verified using these commands:
|
||
|
cat /sys/`udevadm info -q path -n /dev/iio:device0`/../modalias
|
||
|
acpi:MDA6655:MDA6655:
|
||
|
|
||
|
cat /sys/class/dmi/id/modalias
|
||
|
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrDNN20AV1.03:bd12/29/2023:br1.3:efr0.7:svnCHUWIInnovationAndTechnology(ShenZhen)co.,Ltd:pnFreeBook:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct10:cvrDefaultstring:skuDefaultstring:
|
||
|
|
||
|
The correct offset orientation has been tested with:
|
||
|
monitor-sensor
|
||
|
Waiting for iio-sensor-proxy to appear
|
||
|
+++ iio-sensor-proxy appeared
|
||
|
=== Has accelerometer (orientation: normal)
|
||
|
=== No ambient light sensor
|
||
|
=== No proximity sensor
|
||
|
|
||
|
(cherry picked from commit c214c4a8a768a82fa3c365e1d75fc4662bdc3216)
|
||
|
|
||
|
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 cc841681d7..4fa1bef08e 100644
|
||
|
--- a/hwdb.d/60-sensor.hwdb
|
||
|
+++ b/hwdb.d/60-sensor.hwdb
|
||
|
@@ -316,6 +316,10 @@ sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo*:pnC3W6_AP108_4GB:*
|
||
|
sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIInnovationAndTechnology*:pnUBookX:*
|
||
|
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, -1
|
||
|
|
||
|
+# Chuwi Freebook N100
|
||
|
+sensor:modalias:acpi:MDA6655*:dmi:*:svnCHUWI*:pnFreeBook:*
|
||
|
+ ACCEL_MOUNT_MATRIX=0, -1, 0;1, 0, 0;0, 0, 1
|
||
|
+
|
||
|
#########################################
|
||
|
# Connect
|
||
|
#########################################
|