hadess / iio-sensor-proxy

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

Device orientation is not correct on my device #249

Closed BruceZhang1993 closed 5 years ago

BruceZhang1993 commented 5 years ago

Device: Lenovo IdeaPad MIIX 510-12ISK (2-in-1 Tablet) OS: Arch Linux Latest Stable Kernel: 4.19.4 iio-sensor-proxy version: 2.5 in community

monitor-sensor result:

    Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: left-up)
=== No ambient light sensor
    Accelerometer orientation changed: normal
    Accelerometer orientation changed: left-up

Issue description: When my device orientation is normal; it returns left-up. When left-up, returns normal.

hadess commented 5 years ago

You'll need to supply a quirk to systemd. See https://github.com/hadess/iio-sensor-proxy#accelerometer-orientation

BruceZhang1993 commented 5 years ago

Thank for reply, and i edit the dmi using miix 510 rules and it works.