| zeF  
 
 
 
 
 Group: Members
 Posts: 8
 Joined: Mar. 2007
 | 
|  | Posted: April 11 2007,22:23 |  |  I'm using 12.1" serial touchscreen from elo.
 I'm havin difficulties on getting the "touch" working.
 
 Here is the Instruction I followed:
 
 
 Step I:
 -------
 
 Copy the elo driver files from the extracted folder to the default elo folder and change the permissions for all the elo driver files. Copy and place the X display Elo component file in the proper location.
 
 a.) Copy the driver files to /elo folder location.
 
 > mv <Extracted folder>/  /elo
 > cd /elo
 > tar -xf loadelo.tar
 
 
 b.) Use the chmod command to set full permissions for all the
 users.(read/write/execute)
 
 > chmod 777 *
 
 
 c.) Copy and place the X display Elo component file in the proper
 location. Use "> X -version" command to check the X display
 version.
 
 For Xorg version 7.0: (example: Fedora Core 5)
 
 > cp  /elo/elo_drv.o  /usr/lib/xorg/modules/input
 
 (or)
 
 For other XFree86 or Xorg versions:
 
 > cp  /elo/elo_drv.o  /usr/X11R6/lib/modules/input
 
 
 
 Step II:
 --------
 
 Modify the X windows configuration file (xorg.conf or XF86Config or XF86Config-4). This file is located in the /etc/X11 directory. Check the X windows log file ("/var/log/XFree86.0.log" or "/var/log/Xorg.0.log") to verify the X windows configuration file in use.
 
 a.) Add the following lines to create a new Elo device
 configuration at the end of the file.
 
 Section "InputDevice"
 Identifier "elo"
 Driver "elo"
 Option "Device" "/dev/input/elo_ser"
 Option "AlwaysCore"
 EndSection
 
 
 b.) Add the following line to the ServerLayout section to include
 the elo input device.
 
 InputDevice "elo" "SendCoreEvents"
 
 
 
 Step III:
 ---------
 
 Confirm whether the "/dev/input" directory exists. If it does not exist, create a new directory.
 
 > mkdir /dev/input
 
 
 
 Step IV:
 --------
 
 Install the elocntrl(elok_S) module by running the following command.
 
 > ./install.sh
 
 
 
 Step V:
 -------
 
 Configure a script to invoke Elo service at system startup.
 
 
 Debian, Ubuntu systems:
 - - - - - - - - - - - -
 
 Copy the elorc script file present in the /elo directory to the /etc/init.d directory.
 
 > cp /elo/elorc /etc/init.d
 
 A symbolic link for the elorc script has to be created in the desired runlevel directory (example: rc2.d,rc3.d,....rc5.d). This will allow the elorc script to run at system startup. Ubuntu and Debian systems use runlevel 2 (rc2.d directory) as default.
 
 This directory has startup files (symbolic links) of the form SDDxxxx where DD is the sequence number. Pick a sequence number XX which is at least one smaller than the sequence number of the display manager script (xdm, gdm, etc.) found in this directory.
 
 Use the maintainer script update-rc.d to create the elorc symbolic link with selected sequence number XX.
 
 > cd /etc/rc2.d
 > update-rc.d elorc start XX 2 .
 
 
 Important:
 ==========
 
 - Only use the update-rc.d maintainer script to modify these
 symbolic links. The elorc script will not be run at startup
 if these symbolic links are  manually created.
 
 - Notice that the update-rc.d command syntax has a space and
 period after the run-level parameter.
 
 - The above example is for runlevel 2. Pick the appropriate folder
 for the desired runlevel. The default runlevel can be found in
 the /etc/inittab file.
 
 
 Note:
 =====
 
 The path of the runlevel directories might vary from distribution to distribution. The path for runlevel 5 in Redhat is "/etc/rc.d/rc5.d" while the path for Debian and Ubuntu is "/etc/rc2.d" for runlevel 2.
 
 Locate the corresponding runlevel directory in the system and create the symbolic link for elorc script file in that directory using the update-rc.d maintainer script.
 Step VI:
 --------
 
 Debian, Ubuntu systems: (Other Linux systems skip to step VII)
 - - - - - - - - - - - -
 
 Edit the "/etc/init.d/elorc" daemon configuration script file that was created in Step V. Check and modify the <PORTNAME> in the command /elo/eloser ttyS0 present in the "start" section of the script. The default <PORTNAME> in the elorc file is ttyS0 corresponding to the serial device /dev/ttyS0.
 
 Replace <PORTNAME> in the command /elo/eloser ttyS0 with one of the following names based on where the touch input is connected.
 
 ttyS0 : for /dev/ttyS0
 ttyS1 : for /dev/ttyS1
 ttyS2 : for /dev/ttyS2 ,etc.
 
 
 Example: The modified lines for ttyS1 should be,
 ...
 /elo/loadelo
 /elo/eloser ttyS1
 ...
 
 
 
 Step VII:
 ---------
 
 Reboot the system to complete the driver installation process.
 
 > shutdown -r now
 
 After this process, ./elova -s, calibrating tool works, but no response from touchscreen to calibrate.
 
 Also after installing XFree86, do I need to modify the /home/dsl/.xserverrc to as stated in XFree86.dsl info page?  I created the xf86config file using the xf86config.dsl as an substitute for the xf86config-4 file.
 
 Seems like the name of the drivers don't match in the installation manual.  Can YOU help me please!!!!.
 |