Nexus 7 Xorg Cursor Issues

Install Arch Linux ARM on other devices.

Nexus 7 Xorg Cursor Issues

Postby sjorge » Sun Jul 21, 2013 8:53 pm

Hey Guys,

I go Arch running on my Nexus 7 (more or less). But I have some issues with Xorg.
Here is my config (xorg.conf.d is empty)
$this->bbcode_second_pass_code('', 'Section "ServerFlags"
Option "AllowEmptyInput" "False"
EndSection

Section "Monitor"
Identifier "N7 Display"
Option "DPMS" "True"
Option "Rotate" "Right"
EndSection

Section "Device"
Identifier "N7 GPU"
Driver "tegra"

Option "ARGBHWCursor" "False"
Option "RandRRotation" "True"
EndSection

Section "Screen"
Identifier "N7 Screen"
Device "N7 GPU"
Monitor "N7 Display"

DefaultDepth 24
SubSection "Display"
#Modes "1280x800"
Depth 24
ViewPort 0 0
EndSubsection
EndSection

Section "InputClass"
Identifier "DefaultIgnoreAll"
Option "Ignore" "On"
EndSection

Section "InputClass"
Identifier "N7 HW-keys"
MatchProduct "gpio-keys"
Driver "evdev"
Option "Ignore" "Off"
EndSection

Section "InputClass"
Identifier "N7 Touchscreen"
MatchProduct "elan-touchscreen"
Driver "mtev"
Option "Ignore" "Off"
#Option "SwapAxes" "True"
#Option "InvertX" "Yes"
#Option "InvertY" "Yes"
EndSection')

Everything seems to work at first glance, screen is rotated correctly, touch input goes to the correct location. (I top lower left corner, the click is there, center click is center,...)
However I also see a cursor! And this is where it goes wrong. The cursor is inverted compared to the actual touch input!

If i touch lower left, cursor goes to upper right, if I touch upper left, cursor goes to lower right, ...
The cursor it self is also drawn upside down :/

I tried playing with SwapAxis and InvertX and InvertY but these do make the cursor move correctly... but the touch input is then completely off. (AKA cursor where I tap, actual click event the inverse of it) with them desisabled... click where I tap, cursor inverse of it.

I'm really not sure how to solve this one. I have not yet connect a BT mouse to it because I do not have bluetooth working so I do not know how a normal mouse would respond.

Any help or hints would be highly appreciated!
sjorge
 
Posts: 1
Joined: Sun Jul 21, 2013 8:47 pm

Re: Nexus 7 Xorg Cursor Issues

Postby prab97 » Mon Sep 02, 2013 4:02 pm

Hi, I am facing the same problem. Did you get it working? If yes, how?
Thanks
prab97
 
Posts: 1
Joined: Mon Sep 02, 2013 3:58 pm


Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 14 guests

cron