hadess / iio-sensor-proxy

IIO accelerometer sensor to input device proxy
198 stars 64 forks source link

My Jumper EZpad 6 Pro has a different modalias #256

Closed tamara-schmitz closed 5 years ago

tamara-schmitz commented 5 years ago

In line 293 of the hwdb file it tries to match the same tablet but the revision number within the string is different.

Line 293: sensor:modalias:acpi:BOSC0200*:dmi:*:svnJumper:pnEZpad:*:rvr.A006:*

My actual modalias: dmi:bvnJumper.A116:bvr5.12:bd04/24/2018:svnJumper:pnEZpad:pvr:rvnJumper:rnEZpad:rvr.A009:cvn:ct10:cvr:

tamara-schmitz commented 5 years ago

After some testing it turned out that the accel matrix is a bit different. Apparently there is an EZpad 6 Pro and an EZpad 6s Pro. This is the latter.

The correct matrix for the EZpad 6s Pro is: ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1

hadess commented 5 years ago

The hwdb file is part of systemd, not iio-sensor-proxy.