public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Filip Matijević" <filip.matijevic.pz@gmail.com>,
	pali.rohar@gmail.com, sre@kernel.org,
	"kernel list" <linux-kernel@vger.kernel.org>
Subject: Display, touchscreen on N9
Date: Wed, 15 Nov 2017 23:55:51 +0100	[thread overview]
Message-ID: <20171115225551.GA20709@amd> (raw)
In-Reply-To: <53e8d2e7-d948-b2e3-0a92-5d46dee52e65@gmail.com>

[-- 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 --]

           reply	other threads:[~2017-11-15 22:56 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <53e8d2e7-d948-b2e3-0a92-5d46dee52e65@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171115225551.GA20709@amd \
    --to=pavel@ucw.cz \
    --cc=filip.matijevic.pz@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox