This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

not able to get touch events on beagleboard-xm

Other Parts Discussed in Thread: TLC59108

hi all

i have been trying to interface ulcd7 lite touch screen with BB-xm on angstorm linux

even though i m able to get display the touch is not working

when i cat the /dev/input/touchscreen0 .. but no events are generated 

i m also tried with ts_calibrate and ts_test  and but i m getting error like "selected device is not a touchscreen I understand"



root@beagleboard:# ts_calibrate
xres = 800, yres = 520
selected device is not a touchscreen I understand
Took 2 samples...
Top left : X = -545538020 Y = -545537901
Took 2 samples...
Top right : X = -545538020 Y = -545537901
Took 2 samples...
Bot right : X = -545538020 Y = -545537901
Took 2 samples...
Bot left : X = -545538020 Y = -545537901
Took 2 samples...
Center : X = -545538020 Y = -545537901
-1.402344 -3.347656 3.335938
-1.783203 -2.181641 2.180664
Calibration constants: -91904 -219392 218624 -116864 -142976 142912 65536


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

here are my ts.conf

module_raw input

module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

export variables are

export TSLIB_TSDEVICE=/dev/input/touchscreen0

export TSLIB_CALIBFILE=/etc/pointercal

export TSLIB_CONFFILE=/etc/ts.conf

export TSLIB_PLUGINDIR=/usr/lib/ts

kindly help 

  • Hi Kiran,

    The /dev/input/touchscreen0 is a symbolic link to some event I advise you to execute the command:

    ls -l /dev/input/touchscreen0

    in the command prompt to check where it is linked.

    To verify whether the symbolic link is linked correctly or not you could preform the following test:

    List events in the /dev/input folder and execute for each event

    cat eventX ,  where X is 0, 1, 2, .....

    start touching the touch screen and see whether appears some symbols in the console.

    If symbols appear then this is the right event.

    BR

    Tsvetolin Shulev

  • hi Tsvetolin

    thank for reply 

    the /dev/touchscreen0 is linked to event0

    as u suggested i did for all eventX and tapping the touchscreen

    but none displayed any characters.. 

    anythng else i need to look in to ?

  • Hi Kiran,

    I have similar board with OMAP3 processor and I test touch screen events on it. I see touch screen events on /dev/input/event1.

    If you could not receive touch screen events on no one of the eventX it seems to be some hardware problem and I advise you to check cables, connectors and schematics.

    BR

    Tsvetolin Shulev

  • hi

    after integration tlc59108 driver .. i am now getting events on event0

     it seems touch is working but when i run the tslib application "ts_test" is not working .

    i mean the app is not responding to touch 

  • i checked the eeprom contents and found that they are proper as given in the link..
    that is 00 0b 00 04..
    when i test the board under angstorm linux(3.2) i m getting touch events on /dev/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