https://bugs.kde.org/show_bug.cgi?id=504611

--- Comment #2 from Sergio <sergio.calleg...@gmail.com> ---
I have tried, but it is not the kernel. As a matter of fact the sensor-monitor
utility reports the rotation correctly and it is kwin/plasma not applying it.

As a matter of fact, playing with the display option dialog, you *can* make
plasma do the autorotation. You need to put the tablet in tablet mode, switch
to "manual" then back to "automatic" and you must disable the tick that
controls if the autorotation should only happen in tablet mode. Apply, and at
this point the autorotation works.

So there is definitely a first problem with the detection of the "tablet mode":
plasma thinks that the device is not in tablet mode even when it is.

Then there is a second problem in that the above procedure to get the
autorotation to work does not work if you have the keyboard attached (i.e., if
you are not in tablet mode) even if you have unticked the "only in tablet
mode".

Finally there is a problem in that when the rotation works, it works skewed by
90 degrees.
This last issue might be due to the fact, that I have added a "video" entry
among the kernel boot params to get an initial 90 degree rotation, in order to
be able to enter the password to decrypt the filesystem. Maybe that introduces
the skew, maybe it is just the sensor that is mounted in a skewed way. I need
to check, even if I am sure that the thing was working properly not long ago.
In any case the skew might be fixable by introducing a rotation matrix for the
sensor.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to