kbdmux(4) keyboard multiplexer integration

o Add minimal kbdmux(4) man page to the source tree (more details to follow);

o Hook up kbdmux(4) to the build.

This concludes the first part of the kbdmux(4) keyboard multiplexer
integration. It now should be possible to use kbdmux(4), however one
must configure kbdmux(4) by hand (i.e. load kbdmux(4) module and use
kbdcontrol(1) to add/remove slave keyboards to/from kbdmux(4)).

MFC after:	1 week
This commit is contained in:
Maksim Yevmenkin 2005-07-14 23:04:23 +00:00
parent 4673ea01e3
commit f9e566779c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148018
4 changed files with 54 additions and 0 deletions

View File

@ -122,6 +122,7 @@ MAN= aac.4 \
ixgb.4 \
joy.4 \
kame.4 \
kbdmux.4 \
keyboard.4 \
kld.4 \
ktr.4 \

51
share/man/man4/kbdmux.4 Normal file
View File

@ -0,0 +1,51 @@
.\" $Id: kbdmux.4,v 1.1 2005/07/14 20:32:10 max Exp $
.\" $FreeBSD$
.\"
.Dd July 12, 2005
.Os
.Dt kbdmux 4
.Sh NAME
.Nm kbdmux
.Nd keyboard multiplexer
.Sh SYNOPSIS
.Cd device kbdmux
.Sh DESCRIPTION
The
.Nm
keyboard driver provides support for basic keyboard multiplexer.
It is built around the idea of
.Dq super keyboard ,
that is
.Nm
is a keyboard that consumes input from all slave keyboards attached to it.
.Pp
Slave keyboards can be attached to or detached from the
.Nm
keyboard driver with
.Xr kbdcontrol 1
utility.
.Sh SEE ALSO
.Xr kbdcontrol 1 ,
.Xr atkbd 4 ,
.Xr pcvt 4 ,
.Xr syscons 4 ,
.Xr ukbd 4
.Sh CAVEAT
The
.Nm
keyboard driver switches all slave keyboards into
.Dv K_RAW
mode.
Thus all slave keyboards attached to the
.Nm
keyboard share the same state.
The
.Nm
keyboard is logically equivalent to one keyboard with lots of duplicated keys.
.Sh HISTORY
The
.Nm
module was implemented in
.Fx 6.0 .
.Sh AUTHORS
.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com

View File

@ -627,6 +627,7 @@ dev/ixgb/ixgb_hw.c optional ixgb
dev/joy/joy.c optional joy
dev/joy/joy_isa.c optional joy isa
dev/joy/joy_pccard.c optional joy pccard
dev/kbdmux/kbdmux.c optional kbdmux
dev/led/led.c standard
dev/lge/if_lge.c optional lge
dev/lnc/if_lnc.c optional lnc

View File

@ -124,6 +124,7 @@ SUBDIR= ${_3dfx} \
ispfw \
iwi \
joy \
kbdmux \
kue \
lge \
libalias \