kevintshaver n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Feb 2006 Posts: 49
|
Posted: Mon Feb 11, 2008 3:28 pm Post subject: Lilliput eGalax Touchscreen |
|
|
Can anyone help with the calibration settings for the 7" USB Lilliput eGalax touchscreen.
I have the support for USB Touchscreen compiled into the kernel, the following line in make.conf:
Code: | INPUT_DEVICES="keyboard mouse evtouch" |
and in my xorg.conf:
Code: | Section "ServerLayout"
.....
InputDevice "TouchscreenInput" "SendCoreEvents"
.....
EndSection "ServerLayout"
.....
Section "InputDevice"
Identifier "TouchscreenInput"
Driver "evtouch"
Option "Device" "/dev/input/event6"
Option "DeviceName" "TouchscreenInput"
Option "MinX" "110"
Option "MinY" "88"
Option "MaxX" "1945"
Option "MaxY" "1880"
Option "ReportingMode" "Raw"
Option "SendCoreEvents"
EndSection |
I found the correct event using Code: | cat /dev/input/event6 | and touching the screen. This gives output. I compiled calibrator.cpp (http://www.nextabyte.com/support/touchscreen/) and ran the program which gives me numbers like:
MinX = 900
MinY = 1020
MaxX = 960
MaxY = 1028
I think these numbers are invalid because the range is too low. Some googling shows I should probably have numbers similar to those in my xorg.conf. I've have tried both sets of numbers with no success. The behavior is always EXACTLY the same regardless of which calibration points and options I choose. I have also used various combinations of the following xorg.conf options in the "InputDevice" section which both sets of numbers (again, no luck).
Code: | Option "Rotate" "CCW"
Option "SwapX"
Option "SwapY" |
The behavior is as follows (everything seems to be rotated 90 degrees counter-clockwise):
Touch upper left corner registers as lower left corner.
Touch lower left corner registers as lower right corner.
Touch lower right corner registers as upper right corner.
Touch upper right corner registers as upper left corner.
I'm using gentoo-sources 2.6.23-r6 and xorg 7.2.0. Thanks in advance for any help. |
|