Tolino Shine 2 HD with all (?) user interfaces: Orientation of how touch input is recognized is twisted 90 degrees counter clockwise to user interface orientation / framebuffer orientation
What's the expected behaviour?
The orientation of how touch input is recognized should match the orientation of the user interface.
What's the current behaviour?
The orientation of how touch input is recognized is twisted 90 degrees counter clockwise to the orientation of the user interface.
This applies to the state just after booting, as well as when the framebuffer orientation is changed with
echo {0,1,2,3} > /sys/class/graphics/fbcon/rotate ; rc-service fbkeyboard restart
.
How to reproduce your issue?
The abovementioned erroneous condition is currently the "default".
What device are you using?
tolino-shine2hd
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
I confirm that the issue still is present after running<= No way to do thatsudo apk upgrade -a
On what environment did you encounter the issue?
-
fbkeyboard -
sxmo-se-dwm -
sxmo-se-sway
How did you get postmarketOS image?
-
I built it using pmbootstrap
Additional Information
- The kernel has to be compiled with
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
to allow framebuffer rotation. See #2117 (closed).
Notes
-
This issue replaces #2116 (closed), since I assume that abovementioned erroneous behaviour affects all user interfaces on this device.
-
As mentioned in #2116, I've tried
ATTRS{name}=="Neonode zForce touchscreen", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"
as an udev rule, but this doesn't seem to solve the problem. -
@akemnade suggests "to patch the zforce driver to accept standard touchscreen attributes, and then add them to the devicetree".