old-www/HOWTO/XFree86-Touch-Screen-HOWTO-...

98 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>Linux Touch Screen HOWTO: Configuration under XFree86 4</TITLE>
<LINK HREF="XFree86-Touch-Screen-HOWTO-5.html" REL=next>
<LINK HREF="XFree86-Touch-Screen-HOWTO-3.html" REL=previous>
<LINK HREF="XFree86-Touch-Screen-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="XFree86-Touch-Screen-HOWTO-5.html">Next</A>
<A HREF="XFree86-Touch-Screen-HOWTO-3.html">Previous</A>
<A HREF="XFree86-Touch-Screen-HOWTO.html#toc4">Contents</A>
<HR>
<H2><A NAME="s4">4.</A> <A HREF="XFree86-Touch-Screen-HOWTO.html#toc4">Configuration under XFree86 4</A></H2>
<P>(from Lee Monamy)</P>
<P>Example XF86Config-4 for an ELO touch screen:</P>
<P>
<PRE>
Section "InputDevice"
Identifier "ELO touchscreen"
Driver "elographics"
Option "Device" "/dev/ttyS0"
Option "MinimumXPosition" "300"
Option "MaximumXPosition" "3700"
Option "MinimumYPosition" "300"
Option "MaximumYPosition" "3700"
Option "UntouchDelay" "10"
Option "ReportDelay" "10"
Option "SendCoreEvents" "yes"
EndSection
</PRE>
</P>
<P>Noteable differences between this and the version 3 config are that you
specify a Device, *not* a Port, otherwise you get an error.
Also, AlwaysCore from v3 has been replaced with SendCoreEvents.</P>
<P>You must also add to the ServerLayout section, despite that X might
say:
"(II) XINPUT: Adding extended input device "TOUCHSCREEN" (type:
Elographics Touch Screen)"</P>
<P>
<PRE>
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
...
InputDevice "ELO touchscreen"
EndSection
</PRE>
</P>
<H2><A NAME="ss4.1">4.1</A> <A HREF="XFree86-Touch-Screen-HOWTO.html#toc4.1">Another configuration example</A>
</H2>
<P>from Dirk Mueller
(for Microtouch SMT3 Series):</P>
<P>
<PRE>
Section "InputDevice"
Identifier "MicroTouchFinger"
Driver "mutouch"
Option "Type" "finger"
Option "Device" "/dev/ttyS0"
Option "ScreenNo" "0"
Option "MinimumXPosition" "0"
Option "MaximumXPosition" "16383"
Option "MinimumYPosition" "0"
Option "MaximumYPosition" "16383"
EndSection
</PRE>
</P>
<P>Option "Type" can be "finger" or "stylus"
Since Microtouch was bought by 3M-Touch, the resources are on
<A HREF="http://www.3M.com/3MTouchSystems/downloads/legacy.jhtml#Linux">http://www.3M.com/3MTouchSystems/downloads/legacy.jhtml#Linux</A></P>
<H2><A NAME="ss4.2">4.2</A> <A HREF="XFree86-Touch-Screen-HOWTO.html#toc4.2">Addendum</A>
</H2>
<P>According to Wong Yeow Sen the configuration option names have changed
in XFree86 4.2 (at least with Red Hat 7.3). If it seems your
calibration values aren't parsed try the following:</P>
<P>
<PRE>
...
Option "MinX" "100"
Option "MaxX" "4000"
Option "MinY" "100"
Option "MaxY" "4000"
...
</PRE>
</P>
<HR>
<A HREF="XFree86-Touch-Screen-HOWTO-5.html">Next</A>
<A HREF="XFree86-Touch-Screen-HOWTO-3.html">Previous</A>
<A HREF="XFree86-Touch-Screen-HOWTO.html#toc4">Contents</A>
</BODY>
</HTML>