how to get elographics touchscreen driver working?
Cliff Brake
cliff.brake at gmail.com
Tue May 6 06:27:12 PDT 2008
I am trying to get the elographics touchscreen input driver working.
It worked some time ago with:
xserver-xorg-X11R7.1-1.1.0-r0
xf86-input-elographics X11R7.0-1.0.0.5-r0
I'm currently running xorg-xserver 1.4 and the 1.1.0 and 1.2.0 version
of the elographics driver. My xorg.conf is:
Section "InputDevice"
Identifier "Touchscreen1"
Driver "elographics"
Option "Device" "/dev/ttyS0"
Option "AlwaysCore"
Option "screeno" "0"
Option "MinX" "3508"
Option "MaxX" "624"
Option "MinY" "3526"
Option "MaxY" "588"
Option "SwapXY" "0"
Option "UntouchDelay" "3"
Option "ReportDelay" "1"
Option "DebugLevel" "5"
EndSection
Am I missing anything in the xorg.conf?
The debug log from X is:
Entering ReadInput
Entering xf86EloGetPacket with checksum == 170 and buffer_p == 0
buffer_p is 0, Trying to read 10 bytes from link
Read 10 bytes
0x55-->0xFF 0x54-->0x53 0x2-->0x55 0x29-->0x7E 0x9-->0x87
0x29-->0xB0 0x6-->0xB6 0xFF-->0xB5 0x0-->0xB5 Expecting checksum
181, got 181
EloConvert Before Fix: Screen(0) - x(-1212166420), y(0)
EloConvert: Screen(0) - v0(2345), v1(1577)
EloConvert: Screen(0) - x(258), y(162)
EloConvert During Fix: Screen(0) - x(258), y(162)
EloConvert After Fix: Screen(0) - x(258), y(162)
TouchScreen: x(2345), y(1577), Stream
Entering ReadInput
Entering xf86EloGetPacket with checksum == 170 and buffer_p == 0
buffer_p is 0, Trying to read 10 bytes from link
Read 10 bytes
0x55-->0xFF 0x54-->0x53 0x2-->0x55 0x2A-->0x7F 0x9-->0x88
0x28-->0xB0 0x6-->0xB6 0xFF-->0xB5 0x0-->0xB5 Expecting checksum
181, got 181
EloConvert Before Fix: Screen(0) - x(-1212166420), y(0)
EloConvert: Screen(0) - v0(2346), v1(1576)
EloConvert: Screen(0) - x(257), y(162)
EloConvert During Fix: Screen(0) - x(257), y(162)
EloConvert After Fix: Screen(0) - x(257), y(162)
TouchScreen: x(2346), y(1576), Stream
The above numbers look good so the touch driver is getting valid data,
it just not seem to be getting sent to X properly.
with the 1.1.0 version of the driver, a USB mouse still works fine.
With the 1.2.0 version of the elographics driver, the USB mouse quits
working after the first touchscreen touch.
I am starting to debug and would appreciate any pointers as to how to
debug this problem, what to look for, etc.
Thanks,
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the xorg
mailing list