Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2011 12:14:22 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: devd started with single-user mode?
Message-ID:  <4D87330E.8000904@gmail.com>
In-Reply-To: <20110321121134.b2e3011c.freebsd@edvax.de>
References:  <4D85C107.9060704@gmail.com>	<20110320121336.837fadc9.freebsd@edvax.de>	<4D86F7C7.90008@gmail.com>	<86tyewztrn.fsf@gmail.com>	<4D872C32.6090300@gmail.com> <20110321121134.b2e3011c.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21/03/2011 12:11, Polytropon wrote:
> On Mon, 21 Mar 2011 11:45:06 +0100, David Demelier<demelier.david@gmail.com>  wrote:
>> By the way why is kbdmux needed for an usb keyboard? Should not be
>> managed by ukbd only?
>>
>> I don't understand .. But thanks for the patch.
>
> Basically, the kbdmux option "wires keyboards in parallel", so
> you can use both keyboards (assume they are physically present)
> at the same time, like "one keyboard for each hand". If this
> option was not present, you would have to use "kbdcontrol -k"
> to switch from one keyboard (the currently active one) to the
> other (not usable). Problems may occur if your mainboard does
> provide an AT style keyboard (usually with PS/2 connector) as
> atkbdc0 and adkbd0 (controller and keyboard) even if there is
> no physical keyboard attached. This would then usually become
> the primary keyboard. A USB keyboard, detected later on as
> ukbd0, would not automatically be activated (or switched over
> to by a "kbdcontrol -k" command issued by devd) and can therefore
> not be used, even if physically present (in opposite to the
> "phantom" keyboard atkbd0). The kbdmux option makes _all_
> keyboards available for input (without using "kbdcontrol -k"
> and without dependency of devd) so the USB keyboard will be
> used, the AT "phantom" keyboard will be ignored (which is good
> when it's not even present).
>
> So basically, kbdmux means "use all of them", while its absence
> means "use this or that".
>
>
>

Thanks for this information :-) I understood. I hope the patch proposed 
will be MFC to -STABLE then.

Kind regards,

-- 
David Demelier



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