]> git.ipfire.org Git - thirdparty/systemd.git/commit - hwdb.d/60-sensor.hwdb
hwdb: Document how to properly set the mount-matrix for the base-accelerometer in...
authorHans de Goede <hdegoede@redhat.com>
Wed, 18 Nov 2020 20:11:14 +0000 (21:11 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 18 Nov 2020 20:20:21 +0000 (21:20 +0100)
commitb24e437ab00efe191f57d56d0d5412e026a72c3b
tree729674f2c6201ce293c7c8c3607aa23419a0cc0d
parentf56a9cbf9c20cd798258d3db302d51bf21458b38
hwdb: Document how to properly set the mount-matrix for the base-accelerometer in 360 degree hinges style 2-in-1s with 2 accelerometers

Document how the mount-matrix for the base-accelerometer must be set on
360 degree hinges style 2-in-1s with 2 sensors (one in the display and
1 in the base).

Note the choice to define the lid being fully closed as an angle of
0 degrees is based on the ACPI tables of devices with a BOSC0200
ACPI device-node describing both sensors. In this case the ACPI
tables contain mount-matrix info (and the kernel will soon support
reading this and exporting it to userspace) and the mount-matrices
defined in these ACPI tables are such that the angle of the G-force
vector measured by the sensors is identical for both sensors when
the laptop's lid is fully closed.

This also feels more natural then defining the laptop being fully
open (180 degrees open) as the home / 0 degree angle position.
hwdb.d/60-sensor.hwdb