Keyboard lockup fixed! (Re: keyboard loss in DF)
Jansen Gotis
jtgotis at gmail.com
Thu Dec 16 08:55:59 PST 2004
On Thu, 16 Dec 2004 00:35:32 -0800 (PST), Matthew Dillon
<dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
> I believe I have fixed the problem. I would like to thank everyone who
> submitted bug reports on this issue! The reports were invaluable and I
> believe I was able to find the problem.
>
> Basically the problem is that the keyboard interrupt is edge-triggered,
> a left-over from the early PC days. Due to this it is possible for an
> interrupt to be 'lost' and create a situation where no new interrupt
> occurs.
>
> The keyboard driver has a 10hz poll routine to detect the lost interrupt
> and get things moving again. Callout timer work I did in September
> broke the poll routine. Without a working poll routine the keyboard
> can basically stop working under certain latency-related conditions.
>
> I would like everyone who reported problems to update their kernels,
> make sure you have /usr/src/sys/dev/misc/kbd/kbd.c rev 1.14, and retest.
>
> -Matt
>
>
Just finished building a few minutes ago, and it works! Thanks, Mr. Dillon! =D
- Jansen
More information about the Bugs
mailing list