lkml.org 
[lkml]   [2003]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: i8042 problem
On Tue, Jul 29, 2003 at 08:29:01PM +0200, Maciej W. Rozycki wrote:

> Nice joke, but I'll answer seriously. No support was provided. Hooking
> a PC/XT keyboard to the 8042, if supported, requires a different setup of
> the command byte and is possibly done by the system firmware. You can
> read the command byte to see which configuration is used.
>
> Wrt polling vs IRQ-driven probing and setup: using IRQ is a natural
> choice as you have to do keyboard detection in the IRQ handler anyway to
> properly support hot plugging of a PC/AT or a PS/2 keyboard.

The only problem there is that it results in a damn complex state
machine. Look at the PS/2 mouse probing and imagine how the state
machine would look.

--
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 13:47    [W:0.047 / U:2.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site