Commit Graph

21 Commits

Author SHA1 Message Date
thorpej 4560ac465a Split the PC-like keyboard controller driver into chip back-end and
bus front-end.
1999-12-03 22:48:22 +00:00
ross 3844ce8324 Spelling. 1999-08-25 00:59:08 +00:00
drochner b458b1c57e In pckbd_decode(), do the remapping of "extended" (multibyte) keys
before the elimination of typematic events.
This fixes the case where the "extended" prefix was not ignored and
affected the next keystroke. (seen with the AltGr key)
1999-06-04 15:03:43 +00:00
drochner d93fe6b483 now that wscons_glue is gone we can back out rev. 1.16 (which made
"pckbd_enable()" polling to deal with calls without process context)
1999-05-15 15:55:55 +00:00
drochner 068cafa92a In a PC keyboard doesn't accept a "set to scanset 2" command, reset it
and ignore the error. Scanset 2 should be the default after reset, so
this allows some broken keyboards to work. (Reset is needed because at
least 1 keyboard locks up if the "set scanset" is attempted.)
1999-03-26 12:39:13 +00:00
drochner 56dd07cea5 don't wait for completion of keyboard enable/disable commands; this
might be called without process context, leading to tsleep() panics
(This is a workaround. The timeout() driven wscons glue code
should go instead.)
Fixes tsleep() panics reported by Mark Brinicombe <mark@causality.com>
and Eric Haszlakiewicz <haszlaki@UAccess.NET>.
1999-01-26 11:07:25 +00:00
drochner ad6d798d6a Move keyboard map from <dev/wscons/wskbdmap_mfii.h> into a _source_ file. 1998-09-17 18:21:04 +00:00
drochner 453b195c4d Can't use pckbc_enqueue_cmd() in attach() because pckbc's initialization
is not yet completed, have to use pckbc_poll_cmd() instead.
1998-09-02 20:01:15 +00:00
mycroft cc8a78e783 Assign my copyrights to TNF. 1998-08-15 04:42:42 +00:00
mycroft 6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
drochner 49637cda8d use an md keyboard beep replacement function on alpha too 1998-08-07 10:28:36 +00:00
drochner 86b0985e69 Adapt to wskbd interface changes; implement enable/disable function.
Disable the keyboard on attach if not console.
1998-08-02 14:21:02 +00:00
drochner 26609292fd defopt PCKBD_LAYOUT 1998-06-16 11:26:04 +00:00
drochner 68891be537 implement a way to get raw keyboard data (for X) 1998-06-11 22:15:14 +00:00
drochner 8669ad14fc Let keyboard probe succeed without a keyboard connected if it is used
as console input. (Previously, it did always succeed.)
(closes PR kern/5372 by Jason R Thorpe)
Make error messages cleaner and add some "#ifdef DEBUG" to reduce noise.
1998-05-03 09:57:50 +00:00
thorpej 925fe63713 Fix a couple of function names used in diagnostic printfs. 1998-04-28 17:48:35 +00:00
drochner 1745de275b -Set keyboard (and/or controller) to XT scancode in early console
initialzation. Closes PR port-alpha/5303 (Jason Thorpe).
-Namespace protection: give key description table a more private name.
-Make sure "struct pckbd_internal" is completely initialized.
-Improve locator comparition in probe().
-Remove BROKEN_INDIRECT_CONFIG.
1998-04-18 09:49:58 +00:00
drochner d3067d3f3f -don't modify call arguments in place - bad for debugging
-give at least the i386 its keyboard beep back
1998-04-16 21:18:46 +00:00
hannken 311e30018d Split wscons/wskbd.c's softc into a static and a nonstatic part.
Booting into debugger (-d) now works.
Cleaned wscons/wskbdvar.h. Use the same attach arguments for
console and normal keyboards.
1998-04-09 13:09:45 +00:00
hannken 64f1bb73d6 Initial import of MI keyboard translation for dev/wscons. 1998-04-07 13:43:16 +00:00
drochner 2390332103 Devices attached to the PC keyboard controller (or its aux port),
for use with the new wscons code.
(keyboard map management will change)
1998-03-22 15:41:27 +00:00