cvs commit: src/sys/dev/kbdmux kbdmux.c

Eric Anderson anderson at
Wed Mar 1 06:17:27 PST 2006

Ceri Davies wrote:
> On Wed, Mar 01, 2006 at 12:39:36AM -0700, Scott Long wrote:
>> Coleman Kane wrote:
>>> On 2/28/06, *Dag-Erling Sm?rgrav* <des at <mailto:des at>> wrote:
>>>    "Maksim Yevmenkin" <maksim.yevmenkin at
>>>    <mailto:maksim.yevmenkin at>> writes:
>>>     > we should make a decision which scancodes keyboard drivers should be
>>>     > returning and change kbdmux(4), syscons(4) etc. to support it.
>>>     >
>>>     > until then, i'm afraid, sun rs232 and powerpc adb keyboard drivers
>>>     > will have to translate their own scancodes into at scancodes (just
>>>     > like ukbd(4) does).
>>>    Considering that ukbd(4) is the only kbd driver that runs on all
>>>    platforms, it might make sense to have all other drivers translate
>>>    their scancodes to ukbd(4) scancodes and use that in kbdmux(4) and
>>>    syscons(4).
>>> I agree,  especially since atkbdc's are rapidly being replaced by USB on 
>>> the platforms they were made for.
>> Long term, yes, but what is the risk/benefit of doing this for 6.1?
> If it doesn't work, we look like bloody idiots.  6.2 isn't that far
> away, I'd think that anybody could manage waiting for it a little more
> (especially if it goes into RELENG_6 just after the 6.1 branch).
> The above not to be taken as a comment on the change, on which I am not
> informed enough to hold an opinion.

Can we have it all set, built in to GENERIC, but the device hint set to 
disabled?  Lots of systems, Dell PowerEdge and similar, come with a 
remote access card, which uses a USB tie in.  The only way I've found to 
make the console keyboard work after initial install, is to boot single 
user, hack /etc/devd.conf, and reboot, which is really ugly.  Many 
FreeBSD users get stuck with this, so it would be very nice to have a 
quick way to enable the kbdmux at loader time for 6.1, but if it goes in 
right after, I'm not going to cry. :)

Thanks again Maksim for all the work on this!


Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.

More information about the cvs-src mailing list