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!