filter issue with h3600 equivalent touchscreen
"adrien\.constancin" <[email protected]> Fri, 26 Mar 2004 09:09:23 +0100
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi!
First message here :)
I am working on a small linux handheld devi=
ce with a
touchscreen driver which output the same structure as iPaq
h3=
600's driver so I decided to use a quickly modified version
of input/h36=
00ts.c to deal with it (just changed the device to
open and the header t=
o call but the structure defined is the
same).
For the moment the touch=
screen is the only input device.
When I try to play with any apps bundle=
d with picogui,
everything is fine until I touch the screen with the sty=
lus.
Usually the click will performe its action but the program
crashes=
just after, and pgserver goes with it.
<<<<<
*** PicoGUI ERROR (CLIE=
NT) : recv error
[1]+ Illegal instruction (core dumped) pgserver -c=
pguiconf
Broken pipe
>>>>>
The h3600ts driver uses :
"infilter_sen=
d_pointing(PG_TRIGGER_PNTR_STATUS, x, y,
ev.pressure, NULL);" to send th=
e event.
I use blackout as an application test. I tried to remove
every=
thing in blackout's evtMouseDown function and it still
crash so I guess =
it's server side that the problem occurs.
When the screen is touched, th=
e driver put ev.pressure at
0x0000FFFF (as reported in pgserver's input =
debugging). I
don't know the value for iPaq h3600ts, is there a differen=
ce?
What are the accepted values for the 4th parameter of
infilter_send=
_pointing ?
I tried 0x0000000F and also 0x00000001 without success so=0D
=
maybe the problem is not here...
Attached with this email is what I get =
with input debugging on
(maybe I should activate more debug options) and=
with
ev.pressure replaced by 1 in infilter_send_pointing of
h3600ts.c =
... if it can help.
I begin with picogui so I am not familiar yet and =
I don't know
what are all the files to look at to resolv this issue (gre=
p
is my friend ^_^ but sometimes I get lost >_< ).
------------------=
-------------------
Adrien CONSTANCIN
adrien.constancin@lapo=
ste.net
RICM3, Polytech'Grenoble
---------------------------------=
----=0A=0AAcc=E9dez au courrier =E9lectronique de La Poste : www.laposte.=
net ; =0A3615 LAPOSTENET (0,34=80/mn) ; t=E9l : 08 92 68 13 50 (0,34=80/m=
n)=0A=0A
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click