════════════════════════════════════════════════
26
----------------------------------------------------------- ------------------------------------------------
Extra the the Driver Package file by running the followings (replace the sourcePath to the path of
the Driver Package file, and replace the xxx to set the filename to the Driver Package Filename that
you want to install):
cd /etc/TSCOM
gzip -d < sourcePath/tscom-2.0.0-driver-xxx.tar.gz | tar vxf -
7. Setting Correspond Access Permissions to Installed Files.
We recommand that you set correspond access permissions to each file in the Install Directory,
Set permissions to each file in the Install Directory by running followings:
cd /etc/TSCOM
chmod 0444 tscom_drv.o
chmod 0444 tscomxp_drv.o
chmod 0666 tscom-config
chmod 0755 tscom_calibrate
chmod 0666 tscom_calibrate.log
chmod 0755 tscom_rightbutton
chmod 0666 tscom_rightbutton.log
8. Installing the TSCOM XInput Device Drivers.
For loading the TSCOM XInput Device Drivers when the X Window System booting, All of TSCOM
drivers must present in the XInput Drivers Directory (Ɇ/usr/X11R6/lib/modules/inputɇ), you can use
ɆCopy Fileɇ or ɆCreate Symbolic Fileɇ command to install TSCOM drivers, from the Install Directory to
the XInput Drivers Directory.
We recommand that you Install TSCOM drivers by running the followings:
cd /usr/X11R6/lib/modules/input
ln -s /etc/TSCOM/tscom_drv.o tscom_drv.o
ln -s /etc/TSCOM/tscomxp_drv.o tscomxp_drv.o
9. Configurating the X Window System.
In order to use TSCOM Touchscreen with the X Window System, you need to configurate the X
Window System by editting the X Config File, the followings describe how to do that.
· Opening the X Config File.
Use any text editer to open the X Config File in edit mode. The path and filename of the X Config
File is depended on the Linux Distribution that you using, locate to the Ɇ/var/logɇ directory, open
the file named ɆXFree86.0.logɇ or ɆXorg.0.logɇ, search in the file with ɆUsing config file:ɇ string,
the path and filename of the X Config File shows following the string.
· Add two InputDevice Section.
Section "InputDevice"
Identifier "TSCOM_Touchscreenɇ
Driver "tscom"
Option ɆDevice" "/dev/ttyS0"
Option "DeviceModel" "TSɇ