diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-08-20 22:55:20 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2019-08-25 20:36:54 +0200 |
commit | 7b04c7af10da5c1eaf66f3306584a43f43402750 (patch) | |
tree | 4be77d5780cfad2f5d079680f26154a328d50133 /hwdb/60-sensor.hwdb | |
parent | test/test-functions: use truncate instead of dd to create testbed image (diff) | |
download | systemd-7b04c7af10da5c1eaf66f3306584a43f43402750.tar.xz systemd-7b04c7af10da5c1eaf66f3306584a43f43402750.zip |
hwdb: Add accel location quirk for the GPD win
The acceleromater in the GPD win is in the base, mark it as such so that
iio-sensor-proxy does not try to use it for display rotation.
Note as mentioned in the added comment the DMI strings are unfortunately
somewhat generic, but the combination of using all DMI strings including
the BIOS build data + the sensor modalias should be unique enough.
Diffstat (limited to '')
-rw-r--r-- | hwdb/60-sensor.hwdb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index c2ac8dab24..e03e620671 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -259,6 +259,26 @@ sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:sv ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 ######################################### +# GPD +######################################### + +# GPD win (version 1, with the X5-Z8750 CPU) +# Note we match all dmi fields including the BIOS date checking for all known +# BIOS dates, since the strings are unfortunately very generic. +# Out of a sample set of 15 similar boards only the GPDwin has board_vendor=AMI +# and no other devices have both board_name *and* product_name set to +# "Default string". So combined with the sensor modalias and BIOS date this +# should be unique enough to identify the GPDwin +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd10/25/2016:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd11/18/2016:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd12/23/2016:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd12/26/2016:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd02/21/2017:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd03/20/2017:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/25/2017:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: + ACCEL_LOCATION=base + +######################################### # HP ######################################### |