All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] keyboards and such.
@ 1999-10-25  3:01 Alex deVries
  1999-10-26  6:56 ` Philipp Rumpf
  0 siblings, 1 reply; 2+ messages in thread
From: Alex deVries @ 1999-10-25  3:01 UTC (permalink / raw)
  To: parisc-linux


So, I've spent some time looking at the keyboard device driver in the
Linux kernel, and it really wants there to be an 8042 PS/2 controller,
which just doesn't exist on the Lasi.

This means that I can speak directly to the keyboard, which shouldn't be
too difficult to whip up a driver if I had the docs on how to speak to the
keyboard.

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.

- Alex

-- 
Alex deVries <adevries@thepuffingroup.com>
Vice President Engineering
The Puffin Group

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [parisc-linux] keyboards and such.
  1999-10-25  3:01 [parisc-linux] keyboards and such Alex deVries
@ 1999-10-26  6:56 ` Philipp Rumpf
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Rumpf @ 1999-10-26  6:56 UTC (permalink / raw)
  To: Alex deVries; +Cc: parisc-linux

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-10-26  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-25  3:01 [parisc-linux] keyboards and such Alex deVries
1999-10-26  6:56 ` Philipp Rumpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.