OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: Jinidog on May 28, 2005, 12:04:42 pm

Title: /dev Device Of The Touchscreen?
Post by: Jinidog on May 28, 2005, 12:04:42 pm
Hello,

I finally got an x-server running on my zaurus SL5600 with gentoo.
Now it's the question, on which device I can find the touchscreen.
Can you give me a hint?

thanks
Title: /dev Device Of The Touchscreen?
Post by: Jinidog on May 28, 2005, 04:48:16 pm
Okay, I found out.
It is /dev/ts.
Title: /dev Device Of The Touchscreen?
Post by: Jinidog on May 28, 2005, 06:39:34 pm
hmm, I don't get it running.
When I do something like:
Xfbdev -mouse /dev/sharp_ts
I just get a long list of this printed out:
Switching to mouse protocol "bus"
Switching to mouse protocol "ps/2"
Switching to mouse protocol "imps/2"
Switching to mouse protocol "exps/2"
Switching to mouse protocol "bus"
Switching to mouse protocol "ps/2"
Switching to mouse protocol "imps/2"
Switching to mouse protocol "exps/2"
Switching to mouse protocol "bus"
Switching to mouse protocol "ps/2"
Switching to mouse protocol "imps/2"
Switching to mouse protocol "exps/2"

I compiled an xserver-freedesktop ebuild, which installs an xserver of early 2004. I applied the necessary patches from Openembedded.
I don't know what I have to do to get my touchscreen working.
I installed tslib but I doesn't know what to do with it. (there is no configure-option to compile it for poodle)
Do I have to use some configure-option to tell the xserver to compile in tslib?

I searched the web and I searched the OE-mailing list, but I cannot find anything useful.

Please help me or tell me, where I can find some information of how to get this running.
Obviously there is no documentation about this in the web (as for many other embedded-stuff)
Title: /dev Device Of The Touchscreen?
Post by: koen on May 29, 2005, 06:45:10 am
Quote
hmm, I don't get it running.
When I do something like:
Xfbdev -mouse /dev/sharp_ts

<snip>

Please help me or tell me, where I can find some information of how to get this running.
Obviously there is no documentation about this in the web (as for many other embedded-stuff)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=81974\"][{POST_SNAPBACK}][/a][/div]

Use tslib (documented) and not the -mouse switch. See the tslib docs on how to set it up.
Title: /dev Device Of The Touchscreen?
Post by: Jinidog on May 29, 2005, 08:30:58 am
So, I got it working.
I had to install tslib and compile the xserver that way to use it.
Therefor you need to set a #define tslib 1 in the configure script and you may not forget to install the calibrate x11 stuff.