----- Original Message ----- From: Sanjay Bhangar <[EMAIL PROTECTED]> Date: Friday, November 23, 2007 8:59 pm Subject: [ubuntu-in] Touchscreen driver on Gutsy To: [email protected]
> 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 : > [EMAIL PROTECTED]:~/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: > initializationfrom 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 > undeclaredidentifier 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: > initializationfrom 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 : > [EMAIL PROTECTED]:~$ 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 > address3 > [ 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 > Hi, I'm not sure if this shall work, but do tryThe duplicate SLAB_xxx flags are now removed from the mainline. Use the GFP it again after installing the 'lirc*', i guess more specifically lirc-modules, but be on the safer side.. My friend wanted to get his tablet-pc touchscreen working... will WACOM do the job?? Let me know if it works.. Regards, Venkatesh Nandakumar Undergraduate Student, Department of Electronics and Computer Engineering, IIT Roorkee -- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
