HID touch screen driver installation for Linux and X11 
(C) 2010 AIM TOUCH TECHNOLOGY CO.,LTD.

==============================================================================
RELEASE NOTE
==============================================================================
ubuntu-10.04-0.1
Initial version with tool
ubuntu-10.04-0.2
Initial version driver only
ubuntu-10.04-0.3
Fix right click issue on desktop
ubuntu-10.04-0.4
Fix crash issue when login 
==============================================================================
QUICKSTART GUIDE
==============================================================================
I. Installsation guide

1. Open terminal

2. Login as root user
# sudo -s
3. Execute setup.sh
# sh setup.sh

II. Installation Notes for RS232 touch interface.

1. After finished steps above, please modify X11 driver

   a. Add the following lines into xorg.conf(located in /etc/X11):
        
        Find "ServerLayout" section, add following line if there is no such setting.

    	InputDevice 	"HID TOUCH" 

       (Note: If your system will not have a mouse, then use "CorePointer" instead of
         "SendCoreEvents" in the "ServerLayout" section.)

   b. Add the a new "InputDevice" Section as the following if there is no such setting:
   
Section "InputDevice"
        Identifier  "HID TOUCH"
        Driver      "xfhiddrv"
        Option      "Device" "/dev/ttyS0"
        Option	    "ScreenNo"	"0"
	Option	    "SwapY"	"0"
	Option	    "SendCoreEvents"	"true"
EndSection

     (Note:In "Device" item, "/dev/ttyS0" may be different depends on which COM port is connected.)

        "/dev/ttySx"    x=0,1,..., n (ttyS0 means COM1, you can modify it by this rule) 

   c.  After modify these settings, please type
       #reboot 
       to restart X server. 

III. Setup and run Linear Utility:

   a. Run linearity utility
      I. USB HID device
      #LinearAp  /dev/usb/hiddevx n
      II. RS232 device
      #LinearAp  /dev/ttySx n
      where x=0,1,2...n, n = 4 or 9 <default>  
      
      
