lkml.org 
[lkml]   [2017]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDisplay, touchscreen on N9
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-11-15 23:56    [W:0.022 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site