From: L. D. N. P. M. <per...@gm...> - 2008-12-02 12:31:11
|
On Mon, Dec 1, 2008 at 4:14 PM, Chris Dollar <chr...@gm...> wrote: > Hi Lisandro, > > I've worked with the touchscreen controller on the ucb1400 without > issue in the past. A couple of things to check: > > 1. I'm pretty sure the ucb1400_ts kernel module is not loaded by > default -- have you modprobed it? (check 'lsmod' to see) lsmod shows it, so it loads. > 2. If you 'cat /proc/interrupts' you should see an entry for the > ucb1400 -- that number should increment every time you press the > touchscreen, so make sure that is working. The ucb1400 generates an > interrupt to the pxa every time it is touched, and in the case of the > gumstix boards (audiostix and the like) this interrupt line on the > ucb1400 is connected to GPIO16 (PWM0) on the gumstix, so if you are > using that line for some other purpose you won't see the interrupts > generated by the touchscreen and it will appear to not function. I have that working, I can see the number of interrupts increasing. The TS it's still not working, so I guess I still need to configure something else. $ ls -al /dev/input/ crw-r----- 1 root root 13, 64 Jan 1 00:00 event0 lrwxrwxrwx 1 root root 6 Jan 1 00:00 touchscreen0 -> event0 $ cat /etc/profile.d/tslib.sh #!/bin/sh TSLIB_TSDEVICE=/dev/input/touchscreen0 export TSLIB_TSDEVICE So that part should be working. In /etc/ts.conf I commented out the line: # Uncomment if you wish to use the linux input layer event interface module_raw input grab_events=0 and uncommented: # Uncomment if you're using a device with a UCB1200/1300/1400 TS interface module_raw ucb1x00 Looking at [0] I checked for the env. variables TSLIB_TSDEVICE, TSLIB_CONFFILE, TSLIB_PLUGINDIR and TSLIB_CALIBFILE. The only one setted is the first one. I am using matchbox, perhaps I should be looking at some other thing :-/ > If you search the mailing list archives I posted a note to the list > titled 'touchscreen success' that gives an overview of how I got an > lcd+touchscreen working with a gpsstix and connex motherboard. I couldn't find this :-( Thank you in advance, Lisandro. [0] <http://www.nabble.com/Specifying-tslib-for-DirectFB-touchscreen-input-driver-td17327192.html#a19221341> -- Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/ |