From owner-freebsd-questions@FreeBSD.ORG Mon Mar 21 11:15:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 683CA106567C for ; Mon, 21 Mar 2011 11:15:38 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EBC428FC24 for ; Mon, 21 Mar 2011 11:15:37 +0000 (UTC) Received: by wyf23 with SMTP id 23so6056838wyf.13 for ; Mon, 21 Mar 2011 04:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=WoTqD+kxfA8vUh8+7QzLZxZDilVWzD9gbHQFwtnVLvQ=; b=ueYqPJVEwwWRH+CQ8g0MBBuANBAktCAzFzbtQ0ojaIkbnn+gSfzQXIjDp9LvZO8DIR UtW7za6PnRxMEUhVCNzbnYJzVR2iImn1WWmfAk9Ax9KfJ/GNxntUcrxmPegFoiM2HZAO ztwQrHQz8HCILv8WwiEPXvx6FFALMO8tU9Y8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=GcWAO2h60KYo5QwmvSbZS5q88+CsHt91SOwT3OYRd3TH/EwCR+yRHu35ebQwatOLIb kbOyomzppmZFV3xTCx9Xf+mh+tdPBF9QeYDBaAv7Ix7eNyLgw32Y2ODG5HIiHgZoUGEo YZGSoKMR9davoopBu3mCZPNFHerYL9+8zRZBk= Received: by 10.227.132.15 with SMTP id z15mr3935436wbs.218.1300706135485; Mon, 21 Mar 2011 04:15:35 -0700 (PDT) Received: from Melon.malikania.fr (wifi-osiris-sec-181-199.u-strasbg.fr [130.79.181.199]) by mx.google.com with ESMTPS id x1sm2705460wbh.36.2011.03.21.04.15.32 (version=SSLv3 cipher=OTHER); Mon, 21 Mar 2011 04:15:33 -0700 (PDT) Message-ID: <4D87330E.8000904@gmail.com> Date: Mon, 21 Mar 2011 12:14:22 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110306 Thunderbird/3.1.9 MIME-Version: 1.0 To: Polytropon 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> In-Reply-To: <20110321121134.b2e3011c.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: devd started with single-user mode? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 11:15:38 -0000 On 21/03/2011 12:11, Polytropon wrote: > On Mon, 21 Mar 2011 11:45:06 +0100, David Demelier 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