Magic Touch driver installation for ProE-X Linux XFREE86 4.2.X
(This installation applies to the old USB controller too.)

This driver is compatible with RedHat Linux 9.0 under XFree86 v4.2.X

1. Please make sure your Linux & X Windows System is working properly, 
   before installing touch screen driver.

2. Please use root account to install and calibrate the touch screen driver.  
   It will have error if you use general user account to install and calibrate 
   the touch screen driver.  Please make /etc/etandt directory, it will be used
   to hold configuration data for the touchscreen.

3. Add strings to /etc/X11/XF86Config-4. (let X Window load the driver)

3.a. Find "ServerLayout" section, add: Inputdevice "touchscreen1" "SendCoreEvents"
        
Ex: Section "ServerLayout"
		
Inputdevice "touchscreen1" "SendCoreEvents"
            
EndSection

3.b. Find "Module" section, add: Load "magictouch"

EX: Section "Module"  Load "magictouch"

Endsection

3.c. Add the following section to the "InputDevice" section:
        
Ex: Section "InputDevice"
                
Indentifier "touchscreen1"
		
Driver "magictouch"
Option "Device" "/dev/ttyS0"
Option "AlwaysCore"
            
EndSection

3.d. Save changes to XF86Config-4 file

 *Note: If Touch screen controller is connected to com2 please change: Option "Device" "/dev/ttyS1"

4. tscpl is a calibration program for touch screen.

5. swap is a program for swap button definition when touch the panel.

6. Copy magictouch_drv.o file from setup disk to /usr/X11/lib/modules /input/magictouch_drv.o
   magictouch_drv.o should be marked executable.

7. Copy tscpl & swap program files to hard drive.  Please create a directory and copy tscpl & swap 
   program from setup disk.  tscpl & swap files should be marked executable.
   
Ex: cd /
       mkdir touchscreen
       cp /mnt/floppy/tscpl /touchscreen/tscpl
       cp /mnt/floppy/swap /touchscreen/swap

8. When start Xwindows for the first time, the calibration may not be accurate, please execute 
   /touchscreen/tscpl to calibrate touch screen.

9. Please don't use virtual desktop with touch screen, touch screen calibration will not be accurate 
   on virtual desktop environment.
   
*Note: 
1. Please notice Uppercase and Lowercase of characters.
2. If you still have problem with driver installation, Please type run X window with: startx &> startx.out
   This will create startx.out with some debug information, please send it back to us (tech@magictouch.com) 
   for troubleshooting.
3. This driver is compatible with RedHat Linux 7.2 & 8.0 under XFree86 v4.0.x.

Last Update: 2004.7.12
Copyright, KEYTEC, INC. Home of the Magic Touch
www.magictouch.com
