[ubuntu-in] Touchscreen driver on Gutsy

Sanjay Bhangar sanjaybhangar at gmail.com
Fri Nov 23 15:09:54 GMT 2007


Hey,

Was trying to install a (cheapish Chinese) touchscreen device on Ubuntu (the
device works in windows), and the linux driver that came on the CD failed
(when running 'make') . Am posting my command line outputs below - if anyone
has any experience with this, please do let me know - thanks - it's a
Liyitec USB Touchscreen device -- usb id etc. below -- searched online but
couldn't find anything - to be honest, we figured out a workaround so I'm
not actively hacking on this, but would be nice to solve so if anyone knows
anything, please do be ping me --


Command Line Output for $sudo ./setup :
kiosk at kiosk:~/Desktop/TouchUtilityPackage$ sudo ./setup
make -C /lib/modules/2.6.22-14-generic/build
SUBDIRS=/home/kiosk/Desktop/TouchUtilityPackage modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/kiosk/Desktop/TouchUtilityPackage/touch.o
/home/kiosk/Desktop/TouchUtilityPackage/touch.c:728: warning: initialization
from incompatible pointer type
/home/kiosk/Desktop/TouchUtilityPackage/touch.c:746: error: unknown field
'mode' specified in initializer
/home/kiosk/Desktop/TouchUtilityPackage/touch.c: In function
'idealtek_probe':
/home/kiosk/Desktop/TouchUtilityPackage/touch.c:772: error: 'SLAB_ATOMIC'
undeclared (first use in this function)
/home/kiosk/Desktop/TouchUtilityPackage/touch.c:772: error: (Each undeclared
identifier is reported only once
/home/kiosk/Desktop/TouchUtilityPackage/touch.c:772: error: for each
function it appears in.)
/home/kiosk/Desktop/TouchUtilityPackage/touch.c: At top level:
/home/kiosk/Desktop/TouchUtilityPackage/touch.c:848: error: unknown field
'owner' specified in initializer
/home/kiosk/Desktop/TouchUtilityPackage/touch.c:848: warning: initialization
from incompatible pointer type
make[2]: *** [/home/kiosk/Desktop/TouchUtilityPackage/touch.o] Error 1
make[1]: *** [_module_/home/kiosk/Desktop/TouchUtilityPackage] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] Error 2


Output of $lsusb :
kiosk at kiosk:~$ lsusb
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 005: ID 04f3:0212 Elan Microelectronics Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 003: ID 1391:1000
Bus 004 Device 002: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

(The touchscreen device is Bus 004 Device 003: ID 1391:1000 )

Output of Dmesg when connecting device:
[ 3768.195491] usb 4-2: new low speed USB device using uhci_hcd and address
3
[ 3768.365494] usb 4-2: configuration #1 chosen from 1 choice


Sorry for the long output -- if it makes sense to anyone, please do tell ...
:-)
Thanks
-Sanjay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20071123/bcaaf780/attachment.htm 


More information about the ubuntu-in mailing list