linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 742 forks source link

touchscreen: wrong rotation #8834

Open jtsagata opened 5 years ago

jtsagata commented 5 years ago

Issue Wrong rotation applied

Steps to reproduce When i rotate the laptop left, monitor-sensor say

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

and the screen rotates on portrait mode, but in reverse (upside down). Same for other orientations makes it always unusable. Also it is to sensitive

Expected behaviour When a left rotation is given the screen must rotate right, when an up rotation the screen must rotate down.

Possible solution

jtsagata commented 5 years ago

relevant discussion: https://github.com/hadess/iio-sensor-proxy/pull/111

jtsagata commented 5 years ago

A quick fix

sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*
  ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1

but i don't mark this as closed. The suggestions is still good to have

https://linux-user.gr/t/peristrofh-othonhs-se-laptop/999

icarter09 commented 3 years ago

@jtsagata were you able to find a fix for this issue?