]> git.ipfire.org Git - thirdparty/systemd.git/commit - hwdb.d/60-sensor.hwdb
hwdb: quirks for accelerometers in HP laptops 5510/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 3 Mar 2017 20:35:57 +0000 (21:35 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 3 Mar 2017 20:35:57 +0000 (21:35 +0100)
commit128e6266adee1f25bd9b6951a992a35557769754
tree6adb4a0653790494daa28aab0f33e259a19e5cd7
parent3e021232da9d93b582354364a1c8b19d67875302
hwdb: quirks for accelerometers in HP laptops

This patch adds quirks for the two laptops I could test on
(8540w and 8560w). The accelerometer is configured in the
kernel to report values according to the base of the laptop.
We want the values according to the screen instead.

It is likely (but untested) to match all HP laptops with the
lis3lv02d accelerometer on this list:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/hp_accel.c#n207
hwdb/60-sensor.hwdb