Display, touchscreen on N9
From: Pavel Machek
Date: Wed Nov 15 2017 - 17:56:15 EST
Hi!
Thanks to Filip, I got X / touchscreen to work on N9.
But there's still fun. I'd like landscape mode display, unfortunately
DISPLAY=:0.0 xrandr --output DSI-1 --rotate right
causes snow and blank display. --rotate normal gets it back.
Touchscreen is wrong, too, but looks fixable.
localhost:~$ DISPLAY=:0.0 xinput
...
â â Atmel maXTouch Touchscreen id=7 [slave pointer (2)]
localhost:~$ DISPLAY=:0.0 xinput --list-props 7
Device 'Atmel maXTouch Touchscreen':
...
Coordinate Transformation Matrix (121): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
For N9, this seems to work:
DISPLAY=:0.0 xinput --set-prop --type=float "Atmel maXTouch Touchscreen" "Coordinate Transformation Matrix" -1 0 1 0 1 0 0 0 1
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature