[openbeos] Re: ps2_hid problem

Marcus Overhagen <marcusoverhagen@xxxxxxxx> wrote:
> our ps2 input driver has a problem. The change that Michael Lotz made 
> to
> get his keyboard working at Begeistert now prevents mine from 
> working.
> I confirmed that reverting his change
[...]
> will make my keyboard work again. But that can't be the solution.

Definitely not. I also have a strange problem since then: the mouse is 
only sporadically recognized, on every second boot or so.

> When ps2_hid is compiled with DEBUG=1, mouse and keyboard do work. :-
> (((

Hm, that could be a good sign, couldn't it? Maybe we just have some too 
strong timeouts, missing snoozes(), etc. that the debug output is 
accidently correcting?

> When compiled without debug, the keyboard works as long as I don't 
> move
> the mouse.
> Once I move the mouse, the keyboard stops working, and the keyboard
> interrupt is no longer generated. However, a mouse interrupt is not 
> generated
> at all (I added dprintfs there).

Oh, that problem again. Okay, than it's probably still not a good sign.

> One minor strange thing is that input server opens keyboard and 
> closes it
> again, then opens it for the second time, but this shouldn't do any 
> harm.

This shouldn't cause problems (if the driver is working correctly), but 
it could very well trigger the symptoms we see.

> I don't know to fix the problem, already spent many hours on it. 
> There is atleast one other
> person on IRC who has this problem now, too.

I didn't think keyboard controllers are that annoying.
I have some local changes on my keyboard.c as well, maybe they can 
improve the situation (they are already quite old, but there must have 
been a reason for playing with it).

Bye,
   Axel.


Other related posts: