lkml.org 
[lkml]   [2005]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc/rft] Fujitsu B-Series Lifebook PS/2 TouchScreen driver
On Sun, Feb 13, 2005 at 11:05:00AM +0100, Kenan Esau wrote:

> > > This
> > > sequence does not always work and there is not something like a "magic
> > > knock sequence".
> >
> > You mean that the only needed bit is setting the resolution to '7'?
>
> The lifebook touchscreen has some extensions to the standard protocol:
>
> 0xe8 0x06: Stop absolute coordinate output
> 0xe8 0x07: Start absolute coordinate outpout (3-byte packets)
> 0xe8 0x08: Start absolute coord. output with 6-byte packets

Are the 6-byte packets carrying any more information than the 3-byte
packets do, for example pressure? Would it be useful to go for the
6-byte mode instead in the driver?

Have you tried whether the controller responds to the GETID (f2),
GETINFO (e9) and POLL (eb) commands? Maybe we could detect it that way.

Did you try to test all possible commands (from 0xe0 to 0xff) to check
what commands the lifebook hw accepts?

> > > The lifebook-touchscreen hardware is a little bit slow
> > > and it happens quite often that it does not understand a command that
> > > you send.
> >
> > I don't believe this - the PS/2 protocol has handshakes for both sides,
> > so each side can slow down as much as it wants. PLUS, the clock is
> > driven by the device.
>
> I dont't know the PS2-specs. But I know the lifebook hardware quite
> well. While implementing my driver (for xfree 4.0 at that time) I
> noticed that it happens often that the device came back with an error or
> resend. I fixed this by just waiting a short time and then retry.

serio with libps2 now is a very solid foundation that makes sure the
commands are issued and waited for correctly. It is however possible
that the lifebook hardware will still need some workarounds.

> If you agree I will take your patch as the basis and make it work. Now I
> know how you want it to look like.

That would be very much appreciated.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site