[parisc-linux] keyboards and such.
Philipp Rumpf
prumpf@suse.de
Tue, 26 Oct 1999 08:56:54 +0200
> Does anyone have docs on how to speak to a standard AT or PS/2 keyboard?
> The Black Puffin of Death will haunt you if you point me to 8042
> controller docs.
what about looking at the current keyboard driver ? It looks to me like it
shouldn't be too difficult to work from the assumption that kbd_read_input is
RCVDATA, kbd_read_status is STATUS, KBD_STAT_OBF is RBNE, KBD_STAT_IBF is TBNE,
KBD_STAT_MOUSE_OBF we don't need, KBD_STAT_GTO is TERR and KBD_STAT_PERR is
PERR.
looking at it again, the bit correlations are:
8042 Lasi
0-1 0-1
6-7 2-3
2-5 unimplemented
unimplemented 4-7
assuming there is a 8042-compatible chip inside lasi, it just seems to get the
line for bit 2 as both input line 2 and 3 (and there's some additional logic
around it).
Philipp Rumpf