Results 1 to 10 of 11
Thread: TouchScreen calibration
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
02-20-2007 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 31
TouchScreen calibration
I just received a touchscreen monitor that I order Online.
The details can be found at http://www.mini-box.com/8-Desktop-TF...8&category=101
It clams it comes with Linux Drivers. But the only drivers on the CD are for Windows. Linux detects the screen and will respond to the touching of the screen but it does not seem to be calibrated. I move one way and the cursor moves another, which is the same thing it did in Windows XP before I calibrated it. You know click this 'X' now click this 'X', Like a Palm Pilot.
Anyway, I've tried it with my hard disc install of Mandriva 2007 and now I'm trying it with Knoppix 5.1. Same results with both. Is there a program out there for calibrating a touchscreen in Linux. Or, am I doing something wrong?
Thanks
-
02-20-2007 #2
Touch Screen Problem!!
Hi metalx1000,
I am fairly new to all this, But I would suggest have a read thought the documentation which was delivered with the screen, like my own palmtop, before loading any additional applications or even synchronization to my desktop, you may first have to setup the monitor settings.
I hope this is useful, just trying to cover all bases.
jnike
-
02-21-2007 #3Just Joined!
- Join Date
- Sep 2006
- Posts
- 31
The documentation only has Windows instructions.
I'm trying to install touchkit drivers for the screen under Mandriva 2007. Touchkit is the driver that is installed under windows.
Currently with how linux detects the screen when I touch the screen in the center and move right the cursor moves down. When I move Left the cursor move UP. When I move up it goes left. When I move down it moves right.
When I download the Touchkit drivers for Mandriva 2007 and run the install as root I get the following.
I've tryed installing "glibc-devel" with the install manager and it goes thought the install process with out any errors and says it is installed, but next time I login to the install manager it show that it is not installed.Code:(*) Extract files from [./touchkit.setup.sh] to [/tmp/touchkit] (*) Start installer [/tmp/touchkit/setup] === TouchKit for Linux Installer === (Step 1) Check Packages Installed [Common] make OK (make-3.81-1mdv2007.0) tcl OK (tcl-8.4.13-1mdk) tk OK (tk-8.4.13-1mdk) [Required for Full Mode] gcc OK (gcc-4.1.1-3mdk) glibc-devel not found kernel-source OK (kernel-source-2.6.17.8mdv-1-1mdv2007.0) (Step 2) Select Installation Mode (Q) Which installation mode do you prefer? (1) Compact Mode, (only RS232 and PS/2) or (2) Full Mode (RS232, PS/2 and [USB])
I am able to continue though. At this point I have tried both option 1 and 2 both with different errors.
-
02-21-2007 #4Just Joined!
- Join Date
- Sep 2006
- Posts
- 31
I'm focusing in on option 2 since my touch screen connects through USB. After selecting 2 I get the following:
Code:for n in include driver utility xf86drv diag usb; do \ make -C $n || exit 1; \ done make[1]: Entering directory `/tmp/touchkit/include' tcl ../utility/tcl2h.tcl configSTR.tcl > configSTR.h tcl ../utility/tcl2h.tcl configINT.tcl > configINT.h tcl ../utility/ini2tcl.tcl touch.ini > touch.tcl make[1]: Leaving directory `/tmp/touchkit/include' make[1]: Entering directory `/tmp/touchkit/driver' gcc -o tpaneld tpaneld.c -g -O -Wall -I. -I../include tpaneld.c:7:23: error: sys/types.h: No such file or directory tpaneld.c:8:22: error: sys/stat.h: No such file or directory tpaneld.c:9:22: error: sys/wait.h: No such file or directory tpaneld.c:10:22: error: sys/time.h: No such file or directory tpaneld.c:11:23: error: sys/ioctl.h: No such file or directory tpaneld.c:12:21: error: termios.h: No such file or directory tpaneld.c:13:20: error: unistd.h: No such file or directory tpaneld.c:14:19: error: fcntl.h: No such file or directory tpaneld.c:15:19: error: stdio.h: No such file or directory tpaneld.c:16:20: error: stdlib.h: No such file or directory tpaneld.c:17:20: error: signal.h: No such file or directory tpaneld.c:18:19: error: paths.h: No such file or directory tpaneld.c:19:19: error: ctype.h: No such file or directory tpaneld.c:20:20: error: string.h: No such file or directory tpaneld.c:21:19: error: errno.h: No such file or directory In file included from ../include/config.h:6, from ../include/tpanel.h:8, from tpaneld.c:43: ../include/configSTR.h:74:36: warning: backslash and newline separated by space In file included from tpaneld.c:44: ../include/configSTR.h:74:36: warning: backslash and newline separated by space In file included from tpaneld.c:48: ../include/device.c: In function ‘Dev_SaveState’: ../include/device.c:29: warning: implicit declaration of function ‘tcgetattr’ ../include/device.c: In function ‘Dev_RestoreState’: ../include/device.c:33: warning: implicit declaration of function ‘tcsetattr’ ../include/device.c:33: error: ‘TCSAFLUSH’ undeclared (first use in this function) ../include/device.c:33: error: (Each undeclared identifier is reported only once ../include/device.c:33: error: for each function it appears in.) ../include/device.c: In function ‘Dev_SetBaud’: ../include/device.c:37: error: storage size of ‘tty’ isn’t known ../include/device.c:40: error: ‘IGNBRK’ undeclared (first use in this function) ../include/device.c:40: error: ‘IGNPAR’ undeclared (first use in this function) ../include/device.c:44: error: ‘VTIME’ undeclared (first use in this function) ../include/device.c:45: error: ‘VMIN’ undeclared (first use in this function) ../include/device.c:46: error: ‘CS8’ undeclared (first use in this function) ../include/device.c:46: error: ‘CREAD’ undeclared (first use in this function) ../include/device.c:46: error: ‘CLOCAL’ undeclared (first use in this function) ../include/device.c:49: error: ‘B19200’ undeclared (first use in this function) ../include/device.c:50: error: ‘B9600’ undeclared (first use in this function) ../include/device.c:51: error: ‘B4800’ undeclared (first use in this function) ../include/device.c:52: error: ‘B2400’ undeclared (first use in this function) ../include/device.c:56: error: ‘TCSAFLUSH’ undeclared (first use in this function) ../include/device.c:37: warning: unused variable ‘tty’ ../include/device.c: In function ‘ReadFunc’: ../include/device.c:61: error: ‘fd_set’ undeclared (first use in this function) ../include/device.c:61: error: expected ‘;’ before ‘fset’ ../include/device.c:62: error: storage size of ‘tv’ isn’t known ../include/device.c:65: warning: implicit declaration of function ‘FD_ZERO’ ../include/device.c:65: error: ‘fset’ undeclared (first use in this function) ../include/device.c:66: warning: implicit declaration of function ‘FD_SET’ ../include/device.c:70: warning: implicit declaration of function ‘select’ ../include/device.c:70: error: ‘NULL’ undeclared (first use in this function) ../include/device.c:73: warning: implicit declaration of function ‘read’ ../include/device.c:74: error: ‘errno’ undeclared (first use in this function) ../include/device.c:74: error: ‘ENODEV’ undeclared (first use in this function) ../include/device.c:75: warning: implicit declaration of function ‘perror’ ../include/device.c:62: warning: unused variable ‘tv’ ../include/device.c: In function ‘MilliSecDelay’: ../include/device.c:83: error: ‘fd_set’ undeclared (first use in this function) ../include/device.c:83: error: expected ‘;’ before ‘fset’ ../include/device.c:84: error: storage size of ‘tv’ isn’t known ../include/device.c:86: warning: implicit declaration of function ‘pipe’ ../include/device.c:87: error: ‘fset’ undeclared (first use in this function) ../include/device.c:91: error: ‘NULL’ undeclared (first use in this function) ../include/device.c:94: warning: implicit declaration of function ‘close’ ../include/device.c:84: warning: unused variable ‘tv’ ../include/device.c: In function ‘SendAndWait’: ../include/device.c:101: error: ‘fd_set’ undeclared (first use in this function) ../include/device.c:101: error: expected ‘;’ before ‘fset’ ../include/device.c:102: error: storage size of ‘tv’ isn’t known ../include/device.c:109: error: ‘fset’ undeclared (first use in this function) ../include/device.c:121: warning: implicit declaration of function ‘write’ ../include/device.c:122: error: ‘NULL’ undeclared (first use in this function) ../include/device.c:148: warning: pointer targets in initialization differ in signedness ../include/device.c:148: warning: implicit declaration of function ‘memcpy’ ../include/device.c:148: warning: incompatible implicit declaration of built-in function ‘memcpy’ ../include/device.c:153: warning: incompatible implicit declaration of built-in function ‘memcpy’ ../include/device.c:102: warning: unused variable ‘tv’ ../include/device.c: In function ‘LoopBackOK’: ../include/device.c:179: warning: implicit declaration of function ‘ioctl’ ../include/device.c:179: error: ‘TIOCMGET’ undeclared (first use in this function) ../include/device.c:180: error: ‘TIOCM_CTS’ undeclared (first use in this function) ../include/device.c:180: error: ‘TIOCM_DSR’ undeclared (first use in this function) ../include/device.c:210: warning: implicit declaration of function ‘sprintf’ ../include/device.c:210: warning: incompatible implicit declaration of built-in function ‘sprintf’ ../include/device.c:210: warning: implicit declaration of function ‘getpid’ ../include/device.c:211: warning: implicit declaration of function ‘readlink’ ../include/device.c:213: warning: implicit declaration of function ‘strncmp’ In file included from tpaneld.c:50: ../include/eeprom.c: In function ‘_ReadEEPROM’: ../include/eeprom.c:59: warning: pointer targets in initialization differ in signedness ../include/eeprom.c: In function ‘LoadEEPROM’: ../include/eeprom.c:175: error: ‘FILE’ undeclared (first use in this function) ../include/eeprom.c:175: error: ‘fp’ undeclared (first use in this function) ../include/eeprom.c:178: warning: implicit declaration of function ‘fopen’ ../include/eeprom.c:178: error: ‘NULL’ undeclared (first use in this function) ../include/eeprom.c:182: warning: implicit declaration of function ‘fread’ ../include/eeprom.c:183: warning: implicit declaration of function ‘fclose’ ../include/eeprom.c: In function ‘SaveEEPROM’: ../include/eeprom.c:194: error: ‘FILE’ undeclared (first use in this function) ../include/eeprom.c:194: error: ‘fp’ undeclared (first use in this function) ../include/eeprom.c:197: error: ‘NULL’ undeclared (first use in this function) ../include/eeprom.c:200: warning: implicit declaration of function ‘fwrite’ ../include/eeprom.c:200: warning: incompatible implicit declaration of built-in function ‘fwrite’ In file included from tpaneld.c:51: ../include/filter.c: In function ‘OnZTransfer’: ../include/filter.c:61: warning: implicit declaration of function ‘abs’
-
02-21-2007 #5Just Joined!
- Join Date
- Sep 2006
- Posts
- 31
Continued
Code:tpaneld.c: At top level: tpaneld.c:80: error: field ‘TrackingTime’ has incomplete type tpaneld.c:104: error: field ‘prevTime’ has incomplete type tpaneld.c:104: error: field ‘thisTime’ has incomplete type tpaneld.c:117: error: ‘NULL’ undeclared here (not in a function) tpaneld.c:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fdSet’ tpaneld.c: In function ‘DumpSetting’: tpaneld.c:140: warning: implicit declaration of function ‘printf’ tpaneld.c:140: warning: incompatible implicit declaration of built-in function ‘printf’ tpaneld.c: In function ‘GetRomFilename’: tpaneld.c:200: warning: implicit declaration of function ‘strrchr’ tpaneld.c:200: warning: incompatible implicit declaration of built-in function ‘strrchr’ tpaneld.c:203: warning: incompatible implicit declaration of built-in function ‘sprintf’ tpaneld.c: In function ‘NewPanel’: tpaneld.c:216: warning: incompatible implicit declaration of built-in function ‘printf/ ............................................. .....Cut Somethings out does to space........ ............................................. function ‘printf’ tpaneld.c:1184: warning: comparison of distinct pointer types lacks a cast tpaneld.c: In function ‘DaemonReset’: tpaneld.c:1201: warning: incompatible implicit declaration of built-in function ‘exit’ tpaneld.c:1206: warning: implicit declaration of function ‘strncpy’ tpaneld.c:1206: warning: incompatible implicit declaration of built-in function ‘strncpy’ tpaneld.c: In function ‘tpd_killed’: tpaneld.c:1214: error: ‘SIGHUP’ undeclared (first use in this function) tpaneld.c:1217: error: ‘SIGUSR1’ undeclared (first use in this function) tpaneld.c:1219: warning: incompatible implicit declaration of built-in function ‘exit’ tpaneld.c: In function ‘CreateDatPipe’: tpaneld.c:1229: warning: incompatible implicit declaration of built-in function ‘sprintf’ tpaneld.c: In function ‘SharePort’: tpaneld.c:1245: warning: assignment from incompatible pointer type tpaneld.c:1251: warning: incompatible implicit declaration of built-in function ‘strncpy’ tpaneld.c: In function ‘SetEEPROM’: tpaneld.c:1287: warning: incompatible implicit declaration of built-in function ‘strrchr’ tpaneld.c:1301: warning: incompatible implicit declaration of built-in function ‘strlen’ tpaneld.c:1311: warning: implicit declaration of function ‘sscanf’ tpaneld.c:1311: warning: incompatible implicit declaration of built-in function ‘sscanf’ tpaneld.c: In function ‘ProcessCommand’: tpaneld.c:1341: warning: incompatible implicit declaration of built-in function ‘sscanf’ tpaneld.c:1346: warning: incompatible implicit declaration of built-in function ‘printf’ tpaneld.c:1360: warning: incompatible implicit declaration of built-in function ‘exit’ tpaneld.c:1378: warning: implicit declaration of function ‘atoi’ tpaneld.c:1443: warning: implicit declaration of function ‘sleep’ tpaneld.c:1469: warning: incompatible implicit declaration of built-in function ‘sprintf’ tpaneld.c:1470: warning: incompatible implicit declaration of built-in function ‘strlen’ tpaneld.c: In function ‘ProcessShare’: tpaneld.c:1509: warning: assignment from incompatible pointer type tpaneld.c: In function ‘EndlessServiceLoop’: tpaneld.c:1519: error: ‘fd_set’ undeclared (first use in this function) tpaneld.c:1519: warning: statement with no effect tpaneld.c:1519: error: expected ‘;’ before ‘fds’ tpaneld.c:1523: error: ‘fds’ undeclared (first use in this function) tpaneld.c:1523: error: ‘fdSet’ undeclared (first use in this function) tpaneld.c:1523: warning: statement with no effect tpaneld.c:1526: warning: implicit declaration of function ‘FD_ISSET’ tpaneld.c: In function ‘InitMyFilter’: tpaneld.c:1547: warning: incompatible implicit declaration of built-in function ‘sscanf’ tpaneld.c: In function ‘GetOpt’: tpaneld.c:1559: warning: implicit declaration of function ‘getopt’ tpaneld.c: In function ‘main’: tpaneld.c:1573: warning: implicit declaration of function ‘daemon’ tpaneld.c:1577: warning: incompatible implicit declaration of built-in function ‘sprintf’ tpaneld.c:1578: warning: implicit declaration of function ‘system’ tpaneld.c:1579: warning: incompatible implicit declaration of built-in function ‘printf’ tpaneld.c:1583: error: ‘SIGKILL’ undeclared (first use in this function) tpaneld.c:1584: warning: implicit declaration of function ‘waitpid’ tpaneld.c:1590: error: ‘SIGHUP’ undeclared (first use in this function) tpaneld.c:1592: error: ‘fdSet’ undeclared (first use in this function) tpaneld.c:1597: warning: incompatible implicit declaration of built-in function ‘printf’ tpaneld.c:1603: warning: incompatible implicit declaration of built-in function ‘printf’ tpaneld.c:1609: warning: incompatible implicit declaration of built-in function ‘printf’ tpaneld.c: In function ‘DataFilter’: tpaneld.c:392: warning: control reaches end of non-void function tpaneld.c: In function ‘NewPanel’: tpaneld.c:266: warning: control reaches end of non-void function tpaneld.c: In function ‘SendAndWait’: ../include/device.c:168: warning: control reaches end of non-void function make[1]: *** [tpaneld] Error 1 make[1]: Leaving directory `/tmp/touchkit/driver' make: *** [all] Error 1
I cut some stuff out due to the amount of space allow in one post
I Don't know if this is do to the "glibc-devel" not being found.
I'm lost at this point and it's driving me crazy. I've been working on this for 2 days now.
Please Help
Thanks
-
02-22-2007 #6
Re:Touchscreen Calibration Issue
Hi metalx1000,
I was just looking round the WWW, try the sites below, for drivers to touch screen monitors.
http://www.cartft.com/support/drivers/TFT/
http://www.xenarc.com/product/700ts.html
I hope the information is useful.
Jnike
-
02-22-2007 #7Just Joined!
- Join Date
- Sep 2006
- Posts
- 31
Thanks,
I've been to both those pages a few times.
OK
I've got the touchkit touchcfg running. This is the program that is used to calibrate and test the touch screen. But, I can get to the calibration part untill touchcfg has detected the screen.
when I use the command cat command I get the followingI only get a response when touching the screen not moveing the mouse so I know that "/dev/input/mice" is the screen and not my mouse.Code:#cat /dev/input/mice ')))))))9)99 ))* ))99)9))))))99 ) )))))9999 ) )))9)99 )))))999 )9)999) ) 999� 99�9� 99�� ) 999�9�9 )))))))9 )))999999
I have gotten touchcfg running on both Ubuntu and Mandriva 2007.
But I get an "bad eeprom" on the "/dev/input/mice" port I believe the screen is on.
I also get a "bad eeprom" on the "/dev/ttyS0" port in Ubuntu, but the same port locks up when I'm testing it in Mandriva.
Also, and I don't know if this helps, when I use the "lsusb" command I get the followingthanksCode:# lsusb Bus 003 Device 001: ID 0000:0000 Bus 001 Device 004: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen Bus 001 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000
-
02-22-2007 #8
Re:Touchscreen Calibration Issue
Hi metalx1000,
I hope you'll find new direction in the following:
The site below has a download centre, where you can try the driver utilities and the particular description in the snip extract, seems to match your manufactory type of device....
http://www.touch-base.com/main.asp?item=707
<snip> Open a terminal window and type cat /proc/bus/usb/devices. This is best performed with all other USB devices unplugged as sometimes it is unclear which device is which, especially if the description string has not been implemented in the device.
Typically, the output will be in the format shown below. For clarity, the USB touch screen is shown in bold, but does not appear highlighted in the actual output. The VID = 0AFA and the PID = 03E8. The manufacturer/controller id = TSC-10 DMC.
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=0afa ProdID=03e8 Rev= 1.10
S: Manufacturer=TSC-10 DMC
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 5 Ivl= 10ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=045e ProdID=0039 Rev= 3.00
S: Manufacturer=Microsoft
S: Product=Microsoft 5-Button Mouse with IntelliEye(TM)
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl= 10ms
LSUSB command
If the optional USBUTILS package is installed on your system you can also obtain a list of USB devices using the LSUSB command.
The USB devices are listed in the following format:
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 066b:2213 Linksys, Inc. WUSB12v1.1 802.11b Adapter
Bus 003 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 001 Device 001: ID 0000:0000
<snip end> In the above example, the highlighted entry is a USB touch screen controller.
I hope the information is of help
Jnike
-
02-27-2007 #9Just Joined!
- Join Date
- Feb 2007
- Posts
- 1
touch screen
Hi
I have this touch screen monitor from
http://www.carav.cn/product.asp?smal...=Car%20Monitor
TM-80 is the model. I have this monitor from 6-7months and make many tests.. but now calibration work only with this drivers
http://www.eeti.com.tw/web20/eg/drivers.htm
And Fedora core 3 with 2.6.12 kernel and Fedora core 4 with 2.6.11 kernel if I update kernel to 2.6.17 the Touchkit.sh installation fall. And this driver remove the Fedora touchkitusb and make my serial to TCP server(ser2net) fall always I plug some USB device..
This is the Mail from Daniel Ritz but I can`t make this. If some calibrate touchscreen with new kernels write me mail please.
stanimir@taxi-burgas.com
first of all, with recent kernels use the usbtouchscreen module, not
touchkitusb...
also for a somewhat outdated but still useful description read the
howto here (replace touchkitusb by usbtouchscreen):
http://linux.chapter7.ch/touchkit/
a calibration util that gives you the right values for xorg.conf using the
evtouch driver (link also on the page)
-
03-07-2007 #10Just Joined!
- Join Date
- Mar 2007
- Posts
- 1
Hi all,
I met this trouble when install the touch monitor
Please help me how to fix this ? Thanks in advanceCode:(*) Extract files from [./touchkit.setup.sh] to [/tmp/touchkit] (*) Start installer [/tmp/touchkit/setup] === TouchKit for Linux Installer === (Step 1) Check Packages Installed [Common] make OK tcl OK tk not found [Required for Full Mode] gcc OK glibc-devel OK kernel-source not found Installation Abort


