public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Display, touchscreen on N9
       [not found]                 ` <53e8d2e7-d948-b2e3-0a92-5d46dee52e65@gmail.com>
@ 2017-11-15 22:55                   ` Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2017-11-15 22:55 UTC (permalink / raw)
  To: Filip Matijević, pali.rohar, sre, kernel list

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-15 22:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3cfb0642-7fd7-a584-071e-f5b3670991fe@gmail.com>
     [not found] ` <20171112161258.GA26773@amd>
     [not found]   ` <95bbb029-9d64-49fc-4adc-27658216bbd2@gmail.com>
     [not found]     ` <20171112234827.GA18893@amd>
     [not found]       ` <97994084-3f1c-0a15-8db6-015fa15a7c68@gmail.com>
     [not found]         ` <20171113102424.GB31566@amd>
     [not found]           ` <7b711035-06bf-5b2e-aad3-af75a2d1b25a@gmail.com>
     [not found]             ` <15c4bda0-2f99-d9e7-d8f1-3f57c7b4c26d@gmail.com>
     [not found]               ` <20171115153449.GB29082@amd>
     [not found]                 ` <53e8d2e7-d948-b2e3-0a92-5d46dee52e65@gmail.com>
2017-11-15 22:55                   ` Display, touchscreen on N9 Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox