[PATCH] upcoming kbdmux(4) integration
Maksim Yevmenkin
maksim.yevmenkin at savvis.net
Mon Feb 27 10:13:55 PST 2006
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
More information about the freebsd-current
mailing list