]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Update GP-electronic T701 accel mount settings (#7220)
authorHans de Goede <j.w.r.degoede@gmail.com>
Mon, 30 Oct 2017 13:33:54 +0000 (14:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Oct 2017 13:33:54 +0000 (14:33 +0100)
The GP-electronic T701 has its LCD panel mounted upside-down, initially
my plan was to fix this by transparently rotating the image in the i915
driver (my "drm/i915: Deal with upside-down mounted LCD" patch), but
that approach has been rejected instead the kernel will now export
a "panel orientation" property on the drm-connector for the panel and
let userspace deal with it.

Since the upside-down-ness of the panel is now no longer transparently
hidden from userspace, the current accel mount quirk for the T701 needs
to be updated to take the upside-down-ness into account.

hwdb/60-sensor.hwdb

index 8aec3c6656f8c46cff58994a4c529fd1ae6b1e86..347a414bd5e490d4e7a05a36e086c3a4de807131 100644 (file)
@@ -107,7 +107,7 @@ sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
 # GP-electronic
 #########################################
 sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:svnInsyde:pnT701:*
- ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
 
 #########################################
 # HP