From: Jayesh S. <jay...@gm...> - 2007-05-11 16:45:52
|
Thanks Chris! Useful info. On 5/10/07, Chris Dollar <chr...@gm...> wrote: > > Just got the touchscreen working with my lcd on the regular > basix/connex buildroot. I put together this wiki page detailing how > to do it at http://docwiki.gumstix.org/Touchscreen > > There is a patch that has to be applied to the kernel (and one that > has to be removed), but it only applies to the 2.6.20 kernel as it is > fixed in 21. Other than that the build is pretty easy. The part that > got me was the ucb1400 interrupt back to the pxa - no matter what I > would do the pxa wouldn't get the interrupt and the touchscreen driver > would hang. As is turns out, the IRQOUT pin on the ucb1400 is > connected to PWM0, aka GPIO 16, on the gumstix, which I was using to > set my lcd contrast. Moving the lcd contrast to PWM1 to allow PWM0 to > function as the ucb1400 input pin got it all working. Moral of the > story is: if you are using PWM0 for something else, the touchscreen > driver won't work. > > Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |