(Last modify date:2008/03/04)
The files are licensed under terms and
conditions of GNU General Public license v2, unless
stated otherwise.
This distribution contain the below files:
- USB touch controller
- Driver / Driver + Utilities:
- Note: It may or may not work for your environment. If it
does not, contact with us.
- Utilities:
QUICK START GUIDE (binary installation)
Index
1.1 Create device node for USB
interface POSTouch
Remove exist device node
#rm -f /dev/idtk?
Make device node for USB model. Make device node to represent the USB
POSTouch controller device.
Create the device node special "/dev/idtk0"
#mknod -m 666 /dev/idtk0 c 180 128
#rpm -ivh USBRH9-1.0-1.0.i686.rpm
depmod - program to generate modules.dep and map files.
#depmod -a
modprobe - program to add and remove moduels form the linux kernel
#modprobe touch
Check the version of the X-Server your system is running. If you are running
the XFree86 server, type the following command:
XFree86 -version
If you are running Xorg server, type the following command:
Xorg -version
- Add the following black lines into xorg.conf file (maybe in /etc
or /etc/X11).
If your system will not have a mouse, then use "CorePointer" instead of "SendCoreEvents"
in the "ServerLayout" section.
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
.
.
.
InputDevice "Touchscreen0" "SendCoreEvents"
EndSection
Section "InputDevice"
Identifier "TouchScreen0" Driver "xfdrvtouch" Option "Device"
"/dev/idtk0" Option "ScreenNo" "0" Option "Rotation" "0" Option "SwapY" "0" Option "DegbugLevel" "0" Option "AlwaysCore" Option "UpSound" "1" Option "DownSound" "1" Option "RightButtonON"
"1"
EndSection
|
*note: "Device" item is dependent on user choice, COM1=/dev/ttyS0,
COM2=/dev/ttyS1, ..., etc.
- Press Ctrl+Alt+Backspace keys to restart X server.
- Add the following black lines into XF86Config file (maybe in /etc
or /etc/X11).
If your system will not have a mouse, then use "CorePointer" instead of "SendCoreEvents"
in the "ServerLayout" section.
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
.
.
.
InputDevice "Touchscreen0" "SendCoreEvents"
EndSection
Section "InputDevice"
Identifier "TouchScreen0" Driver "xfdrvtouch" Option "Device"
"/dev/idtk0" Option "ScreenNo" "0" Option "Rotation" "0" Option "SwapY" "0" Option "DegbugLevel" "0" Option "AlwaysCore" Option "UpSound" "1" Option "DownSound" "1" Option "RightButtonON"
"1"
EndSection |
- Reboot.
-
Type the following command to get GTK version:
rpm -qa | grep gtk
Example get result on Fedora Core 5:
[root@localhost ~]# rpm -qa | grep gtk
pygtk2-2.4.0-1
gtkhtml2-2.6.2-1
gtk2-2.4.13-9
<-- GTK2
gnome-python2-gtkhtml2-2.6.0-3
usermode-gtk-1.74-1
authconfig-gtk-4.6.5-3.1
gtkhtml3-3.3.2-3
gtkspell-2.0.7-2
gtk+-1.2.10-33
gtk-engines-0.12-5
gtksourceview-1.1.0-3
pygtk2-libglade-2.4.0-1
gtk2-engines-2.2.0-6
iiimf-gtk-12.1-4
- Installation:
Decompress the utilities and copy to /usr/local/bin
Example command for GTK2.0:
#tar zxvf
LinearUSB_GTK2.0.tar.gz
#cp ./Linear232 /usr/local/bin
#tar zxvf FreeDraw_GTK2.0.tar.gz
#cp ./FreeDraw /usr/local/bin
- Run utilities:
- Touch panel 5 / 9 points linear calibration utility:
#Linear232USB /dev/idtk0 p
where p = 5 or 9 <default>
Note: If you use GTK1.x , you need to AutoHide X windows taskbar
by Manually to make the utility to occupy all screen area. If you don't,
the mouse data will be wrong.
- Free Draw Utility:
#FreeDraw
|