[PATCH] upcoming kbdmux(4) integration

From: Maksim Yevmenkin <maksim.yevmenkin_at_savvis.net>
Date: Mon, 27 Feb 2006 10:13:52 -0800
Dear Hackers,

the bug, causing hard lockup with kbdmux(4), atkbd(4) and psm(4), was 
fixed in both releng_6 and head.

i'd like to go ahead and integrate kbdmux(4) with the kbd code and 
syscons(4). also i'd like to make kbdmux(4) default in -current.

please comment on the following patch

http://people.freebsd.org/~emax/kbdmux.diff.txt

(freefall:~emax/kbdmux.diff.txt)

this is one of the earlier kbdmux(4) patches and parts of it have 
already been integrated into the source tree. it will probably not apply 
cleanly onto current source tree, however the intension is just to give 
general idea.

1) syscons(4) will try to look for kbdmux(4) keyboard first, and then,
if not found, look for any keyboard;

2) kbd code is modified so if kbdmux(4) is the current keyboard, all new 
keyboards are automatically added to the kbdmux(4);

3) switch to kbdmux(4) can be done at boot time, by loading kbdmux 
module, or at run time, by kldload'ing kbdmux and releasing current 
active keyboard;

4) if, for whatever reason, kbdmux(4) is not required/desired then just 
do not load it and everything should work as before.

thanks,
max
Received on Mon Feb 27 2006 - 17:13:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC