Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 10:13:52 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
To:        freebsd-current@freebsd.org
Subject:   [PATCH] upcoming kbdmux(4) integration
Message-ID:  <44034160.8060905@savvis.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44034160.8060905>