Author Topic: /dev Device Of The Touchscreen?  (Read 3992 times)

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
/dev Device Of The Touchscreen?
« 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
« Last Edit: May 28, 2005, 12:14:51 pm by Jinidog »

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
/dev Device Of The Touchscreen?
« Reply #1 on: May 28, 2005, 04:48:16 pm »
Okay, I found out.
It is /dev/ts.

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
/dev Device Of The Touchscreen?
« Reply #2 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)

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
/dev Device Of The Touchscreen?
« Reply #3 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.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
/dev Device Of The Touchscreen?
« Reply #4 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.