]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add sensor rule for Hometech Wi101
authorWind/owZ <windowz414@gnuweeb.org>
Sun, 22 Aug 2021 00:19:18 +0000 (03:19 +0300)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 26 Aug 2021 09:27:10 +0000 (10:27 +0100)
This commit was done to add sensor rule for Hometech Wi101. Note that this rule might be too general and need fixes. I couldn't test this on any other device since this one is the only one I have.

Co-authored-by: Simeonlps <Simeonlps@users.noreply.github.com>
Signed-off-by: Wind/owZ <windowz414@gnuweeb.org>
hwdb.d/60-sensor.hwdb

index 9859ce5b124097f811dc2fdb48f47dc467922c59..fdbb790a8639f107e2dd42ffffa10ed5db9a63d7 100644 (file)
@@ -403,6 +403,16 @@ sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd03/20/201
 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/25/2017:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
  ACCEL_LOCATION=base
 
+#########################################
+# Hometech
+########################################
+
+# Nobody bothered to use Linux on any device of this manufacturer
+# so current marks might be too general and need fixes.
+# These values are based on Wi101 model.
+sensor:modalias:acpi:BMA250E*:dmi:*:svnInsyde*:pni101c:*
+ ACCEL_MOUNT_MATRIX=0,1,0;-1,0,0;-1,0,0
+
 #########################################
 # HP
 #########################################