Author Topic: Touch screen driver for embedded applications???  (Read 3028 times)

eatingdirt

  • Newbie
  • *
  • Posts: 2
    • View Profile
Touch screen driver for embedded applications???
« on: June 17, 2004, 09:17:06 pm »
Hi Group,
  I am new to this group and hope perhaps someone here can help or point me in the correct direction.

  I am software developer who has been writing software for the Zaurus SL5500 and SL5600.  My applications use the zaurus as an embedded target and execute outside the normal qpe environment.  This has worked wonderfully.

  I was recently handed an SL6000 which has the most gorgeous screen I have seen on a PDA and asked to get the same software running on this target.  No problem the stuff executes just fine....with one small catch.  The touch screen doesnt seem to be recognised by Qt.
  On the SL5x00 I would use
export QWS_MOUSE_PROTO=linuxtp
to get the touch screen but this does not seem to work for the SL6000.

  Any hints or suggestions would be greatly appriciated.
Thanks in advance
Dave

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Touch screen driver for embedded applications???
« Reply #1 on: June 18, 2004, 05:29:33 am »
What makes you expect that Qt Embedded handles touchscreens which were not even existing at the time it was written? :-D
Your best bet is probably to read drivers/char/tosa_ts.c and add the touchpanel event structure to qwsmouse. Or even better, make a patch to tslib handling the tosa raw events.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

eatingdirt

  • Newbie
  • *
  • Posts: 2
    • View Profile
Touch screen driver for embedded applications???
« Reply #2 on: June 18, 2004, 08:39:44 am »
Sort of what I expected...any idea where I could find some information on the new touch screen byte stream.  I think I have managed to reverse engineer the format but it would be good to confirm.

Also hoping that perhaps someone had already some the mod to the driver for me....lazy at heart. :wink:

Thanks

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Touch screen driver for embedded applications???
« Reply #3 on: June 18, 2004, 10:14:08 am »
Well, Sharp implemented it in Qtopia/Sharp 1.5.4... which probably doesn\'t help you due to the nature of closed source.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.