touchscreen problem on mini6410

Jakub Kovac
Hello everybody,
I am running on mini6410 with 7" screen and 4wire touchscreen. I downloaded
and compiled the latest linux image 2.6.32 for mini6410 witch contains
driver for touchscreen. When I boot that image, touchscreen doesn't work.
If I do "cat /dev/touchscreen" I get no response. If I do "cat /proc/kmesg"
every time I touch the screen I get kernel error "mini6410-ts touch event
buffer full". Does anybody have this issue or have the latest kernel on
mini6410???

elmo23x
I have the same problem with a kernel 2.6.36... (2.6.28 was working without
problems)

Jakub Kovac
I figured it out. Message "mini6410-ts touch event buffer full" means,
there is no application using data from ts buffer. Don't worry about that
message.

If I run rootfs from friendlyARM, touchscreen is working perfectly even if
I run my application. If I run rootfs created by me, touchscreen doesn't
work. It looks like tslib is compiled wrong.

elmo23x
I am using the rootfs from friendlyARM, but not working. If I go back to
old rootfs with kernel 2.6.28, then I have no problems... unfortunately I
need a newer kernel for some hardware.

Is anybody using kernel 2.6.36 with the touchscreen?

asdf
Are you using the 7" LCD with TouchCom?
The new 7" displays for for the Mini6410 have a touch controller included:
http://www.friendlyarm.net/dl.php?file=lcd70_schematic.zip

elmo23x
My 7" LCD has a TouchCom, but it worked perfectly with older rootfs (the
ones ending its name in -s). But in the new ones rootfs for linux or
android I do not find them with ending -s.

The link you sent me is form model 1044, mine is 1034, and in it
R6,R7,R8,R9 are not connected, but I can not find R11, R20, R21, R22 in the
board. :(

Any other ideas of what can I do?

elmo23x
for some reason, in another version of the 2.6.36 kernel was nor working...
with the one I am using now, the device ttySAC3 is receiving perfectly the
signals from the touchscreen. The problem is that the board is waiting for
the information to come from another source.
To fix it in linux (I did not try android yet) do this from the terminal
connected to the serial port:

# echo "TSLIB_TSDEVICE=/dev/ttySAC3" > /etc/friendlyarm-ts-input.conf
# sync
# reboot

and the system will ask you to calibrate not from the /dev/touchscreen next
time.

I hope it works for you

Daniel
elmo23x,

could you please upload your kernel image? I'm still hanging around with
2.6.28 and can't find a working kernel image on the net nor build it
myself. booting my selfcompiled kernels, there's always the error:

unrecognized/unsopported machine ID (r1 = 0x0000065a)


the workaround you posted doesn't seem to work with 2.6.28 :(

Meena
I am new user of mini6410
I need help for touch screen programming. How do I allot buttons as per my
requirement?

Elessar
# echo"TSLIB_TSDEVICE=/dev/touchscreen-1wire" >
/etc/friendlyarm-ts-input.conf
# sync
# reboot

worked for mini6410 v1041 linux-2.6.38

ps: i'm sorry for posting to a 4 years old post but i may help someone have
problems

hani
HI all. i have tiny6410 linux-2.6.38 . and i do 
# echo"TSLIB_TSDEVICE=/dev/touchscreen-1wire" >
/etc/friendlyarm-ts-input.conf
# sync
# reboot

but my toch screen not work :(

pasha
Hi there.

I just got a new P43 touchscreen. I am able to get the screen working with
similar configuration like a N43 or A70 (with a resolution 480x272) but the
touch screen is not working. 

I tried different options like "TSLIB_TSDEVICE=/dev/touchscreen" (used to
work with my A70 7" screen) or "TSLIB_TSDEVICE=/dev/touchscreen-1wire"
(used to work with my H43 4.3" screen). But none of the two options are
working.

Btw, I am compiling linux-2.6.38 kernel from the source available in the
DVD.

Any suggestion on how to get the touch working?

Regards

davef
I guess you know that that screen is used on the NanoPi.  Maybe
http://wiki.friendlyarm.com/wiki/index.php/NanoPi might help.

I vaguely recall some comment about the 1-wire interface.

Maybe ask on their new forum http://www.friendlyarm.com/Forum/ and in the
6410 (Samsung S3C6410) section.