* OMAP 5912OSK and touchscreen under Qt/Embedded
@ 2006-06-13 14:05 Birger Kroon
2006-06-13 14:48 ` Dirk Behme
0 siblings, 1 reply; 3+ messages in thread
From: Birger Kroon @ 2006-06-13 14:05 UTC (permalink / raw)
To: linux-omap-open-source
Hi list
Does anyone here have experience of getting a touchscreen working with Qt/embedded?
* I'm currently using the OMAP 5912OSK with the Mistral LCD unit.
* I've got Qt/Embedded up and running on the platform (at least the display).
* I'm using the latest kernel/patch.
* I see events when I touch the screen so the low level drivers does work correct I beleive.
My problem is that I do not know how to connect Qt/E with the touch screen drivers in the correct way. I've testet to set the 'QWS_MOUSE_PROTO' environment variable to different thing, but w/o success.
- Do I need the tslib to use a TS under Qt/E?
- Do I have to subclass QWSMouseHandler?
Any input would be much appriciated.
Regards
// Birger
Birger Kroon
Software Engineer
Automotive Solutions
Teleca Sweden West AB
Lindholmspiren 9
SE-417 56 Göteborg
Sweden
Tel +46 31 744 80 00
Fax +46 31 744 80 01
Direct +46 31 744 80 87
Mobile +46 703 79 19 11
birger.kroon@sys.teleca.se
www.teleca.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: OMAP 5912OSK and touchscreen under Qt/Embedded
2006-06-13 14:05 OMAP 5912OSK and touchscreen under Qt/Embedded Birger Kroon
@ 2006-06-13 14:48 ` Dirk Behme
0 siblings, 0 replies; 3+ messages in thread
From: Dirk Behme @ 2006-06-13 14:48 UTC (permalink / raw)
To: Birger Kroon; +Cc: linux-omap-open-source
Birger Kroon wrote:
> Does anyone here have experience of getting a touchscreen working with Qt/embedded?
>
> * I'm currently using the OMAP 5912OSK with the Mistral LCD unit.
> * I've got Qt/Embedded up and running on the platform (at least the display).
> * I'm using the latest kernel/patch.
> * I see events when I touch the screen so the low level drivers does work correct I beleive.
>
> My problem is that I do not know how to connect Qt/E with the touch screen drivers in the correct way. I've testet to set the 'QWS_MOUSE_PROTO' environment variable to different thing, but w/o success.
>
> - Do I need the tslib to use a TS under Qt/E?
Yes, you should use tslib for QT/E. Do calibration first
with tslib and then start QT/E.
Note that OMAP5912 touchscreen is broken in recent git. If
you use recent git, you should apply
http://linux.omap.com/pipermail/linux-omap-open-source/2006-June/007358.html
as well.
However, latest patch on http://www.muru.com/linux/omap/
should be okay (?).
Try to use -tslib to configure QT/E . If I remember
correctly there is a macro QT_QWS_TSLIB available within QT/E.
Maybe ask google as well.
Hth,
dirk
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: OMAP 5912OSK and touchscreen under Qt/Embedded
@ 2006-06-13 15:14 Birger Kroon
0 siblings, 0 replies; 3+ messages in thread
From: Birger Kroon @ 2006-06-13 15:14 UTC (permalink / raw)
To: linux-omap-open-source
Thanks for the quick responses...
I did not thought that tslib was needed, but I will try it and get back here if I can't figure it out. :)
Thanks again
// Birger
Birger Kroon
Software Engineer
Automotive Solutions
Teleca Sweden West AB
Lindholmspiren 9
SE-417 56 Göteborg
Sweden
Tel +46 31 744 80 00
Fax +46 31 744 80 01
Direct +46 31 744 80 87
Mobile +46 703 79 19 11
birger.kroon@sys.teleca.se
www.teleca.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-13 15:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 14:05 OMAP 5912OSK and touchscreen under Qt/Embedded Birger Kroon
2006-06-13 14:48 ` Dirk Behme
-- strict thread matches above, loose matches on Subject: below --
2006-06-13 15:14 Birger Kroon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox