I'm using:
-pi3b
-the official 7'' touchscreen in 800x480 resolution
-latest raspbian stretch lite, with mate desktop
-the experimental fake kms/v3d driver. Full kms results in black screen; legacy driver doesn't allow dynamic rotation.
-the latest revision of the kernel module. I checked out the source through rpi-source and diff-ed with latest rpi-ft5406.c in github
I can rotate the display without problems:
Code: Select all
xrandr -o normal
xrandr -o left
xrandr -o right
xrandr -o inverted
Code: Select all
xinput --set-prop 'FT5406 memory based driver' 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
Code: Select all
xinput --set-prop 'FT5406 memory based driver' 'Coordinate Transformation Matrix'
[scale transform] * [rotation transform]:
Code: Select all
⎡ 0.6 0 0 ⎤ ⎡ 0 -1 1 ⎤ ⎡ 0 -0.6 0.6 ⎤
⎜ 0 1.666666 0 ⎥ * ⎜ 1 0 0 ⎥ = ⎜ 1.666666 0 0 ⎥
⎣ 0 0 1 ⎦ ⎣ 0 0 1 ⎦ ⎣ 0 0 1 ⎦
Code: Select all
xinput --set-prop 'FT5406 memory based driver' 'Coordinate Transformation Matrix' 0 -0.6 0.6 1.666666 0 0 0 0 1
I'm thinking it's an issue of the driver reporting a 800x480 resolution and capping the y value of taps at 480.
Thoughts?
