ulcd7 lite touch not working-pls help

191 views
Skip to first unread message

kiran nayak

unread,
Oct 31, 2012, 8:59:17 AM10/31/12
to beagl...@googlegroups.com

hi all

i have been trying to interface ulcd7 lite to beagleboard-xm. even though i am able to get display the touch is not working..

i have linux-omap-3 kernel and i have neatly applied the keons patch found in 

stil i m not able to get touch working.. 
there are no devices found under /dev/input/touchscreen0 

kindly help

--
with regards
kiran nayak


kiran nayak

unread,
Nov 1, 2012, 12:47:23 AM11/1/12
to beagl...@googlegroups.com
hi andy

thanks for reply 

do u mean, the problem may be  due to the different board id ? 
which piece of code i need to look in to solve the touch issue .. ?



On Wednesday, October 31, 2012 11:09:31 PM UTC+5:30, Andy wrote:
I have this same problem.  I have an older ulcd7 that works fine but some new ones I just got in do not work.  There is no touchscreen driver listed when I put on the new screen, but there is when I put on the older screen.  Pretty odd.  The older screen serial number starts with 0612, the new ones that don't work start with 1812.  Putting that out there in case it leads to anything.

kiran nayak

unread,
Nov 1, 2012, 2:22:16 AM11/1/12
to beagl...@googlegroups.com
hi all

now i am able to get /dev/input/touchscreen0 device 

when i run the ts_calibrate and ts_test i m getting error like below

root@beagleboard# ts_calibrate 
xres = 800, yres = 520
selected device is not a touchscreen I understand
Took 2 samples...
Top left : X = -546334668 Y = -546334549
Took 2 samples...
Top right : X = -546334668 Y = -546334549
Took 2 samples...
Bot right : X = -546334668 Y = -546334549
Took 2 samples...
Bot left : X = -546334668 Y = -546334549
Took 2 samples...
Center : X = -546334668 Y = -546334549
-1.468750 -3.414062 3.421875
-1.828125 -2.226562 2.228516
Calibration constants: -96256 -223744 224256 -119808 -145920 146048 65536 


root@beagleboard:# ts_test 
selected device is not a touchscreen I understand

touch is still not working.. kindly help us to resolve the issue 

Andy

unread,
Nov 1, 2012, 2:04:08 PM11/1/12
to beagl...@googlegroups.com
Hi Kiran,
    It's looking like I have an eeprom problem.  My old working touchscreen has 0x0 0x0b 0x00 0x04 as the first registers in the ulcd7 board eeprom.  The rest is 0xff.  On the new non-working touchscreen the eeprom contains all 0xff.  I think they didn't program the eeprom and so the beagle does not recognize the tsc2007 chip responsible for reporting touch info.  I guess my next step is to pull some resistors and reprogram the eeprom to see if that works.

I'm not sure if this relates to your problems but you could easily check by getting the i2c-tools package and running i2cdump on the eeprom.

kiran nayak

unread,
Nov 2, 2012, 12:16:48 AM11/2/12
to beagl...@googlegroups.com
hi Andy

i will consider your suggestions.. but the Datasheet of ulcd7 lite also says that it uses tlc59108 LED driver for some LCD initialization using I2C
anyways i will give a try
thank u 

Andy

unread,
Nov 5, 2012, 6:47:25 PM11/5/12
to beagl...@googlegroups.com
I reprogrammed the EEPROM and it still didn't work.  But for my configuration (3.2.30, ubuntu, xorg, openbox) I had to remove a mysterious utouch package.  I got rid of anything with utouch in it and now it works.  But I upgraded my kernel to 3.6 and now it doesn't work again....

kiran nayak

unread,
Nov 5, 2012, 10:26:12 PM11/5/12
to beagl...@googlegroups.com
hi Andy 

i checked the eeprom contents and found that they are proper as given in the link of beagleboard toys
that is 00 0b 00 04..


when i test the board under angstorm linux(3.2 ) i m getting touch events on /dev/input/event0 whenever i tap the board
but my issue is that tslib applications like "ts_calibrate" and "ts_test" are throwing the error like 
"selected device is not a touchscreen i understand " and i could not test any touch application properly

kiran nayak

unread,
Nov 6, 2012, 3:00:54 AM11/6/12
to beagl...@googlegroups.com
ok finally the touch screen calibration apps are  working(get rid of "selected device is not a touchscreen i understand " and "segmentation fault " errors  when i removed the tslib components of angstrom repo and
build it my own by referring this tutorial.. it may help others

thanks Andy for your suggestions

http://embedfun.blogspot.ch/2011/07/compiling-qt-embedded-for-arm.html
Reply all
Reply to author
Forward
0 new messages