Re: [PATCH] upcoming kbdmux(4) integration

From: Maksim Yevmenkin <maksim.yevmenkin_at_savvis.net>
Date: Tue, 28 Feb 2006 16:29:51 -0800
Jonathan Noack wrote:
> On 02/27/06 13:13, Maksim Yevmenkin wrote:
> 
>>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.
> 
> I'm sure I'm missing something simple, but I can't figure out how to
> configure this.  I have a ps/2 keyboard (atkbd0/kbd0), kbdmux
> (kbdmux0/kbd1), and a usb keyboard (ukbd0/kbd2).  I tried to follow the
> examples in kbdcontrol but kept running into "unable to (un)mux the
> keyboard: Invalid argument" and "device busy" errors.

with the patch, committed to -current today, everything will happen 
automatically.

without the patch

# kbdcontrol -a ukbd0 < /dev/kbdmux0 -- add ukbd0 to mux

# kbdcontrol -k /dev/kbdmux0 < /dev/ttyv0 -- switch keyboard to kbdmux/ukbd

# kbdcontrol -a atkbd0 < /dev/ttyv0 -- add atkbd0 to kbdmux

thanks,
max
Received on Tue Feb 28 2006 - 23:29:54 UTC

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