Subject: Re: usb keyboard update
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Lennart Augustsson <lennart@augustsson.net>
List: port-macppc
Date: 05/14/1999 20:32:12
Bill Studenmund wrote:

> On Fri, 14 May 1999, Tsubai Masanari wrote:
>
> > >Unfortunatly the "must press shift first" bug is still there. I haven't
> > >tryed Tsubai's patch yet.
> >
> > wskbd tries updating LEDs just after first key press.  This request
> > seems to make bad interaction with previous (keypress?) event.
> > This patch also works:
>
> Weird. Could part of the problem be that these keyboards only have one
> LED?
>
> Also, where does the mouse fit into this? I've found I don't get the
> problem w/o the mouse. ? Maybe mouse init is leaving something in a state
> whcih LED updating messes up?
>
> Lennart?

I've eyeballed the code, but I can't see anything.  Perhaps you can run it
with USB_DEBUG and a few of the debug variables set?
But if it is timing dependent I bet it will disappear when you do that.


--

        -- Lennart