From owner-freebsd-questions@FreeBSD.ORG Tue Jan 7 16:27:03 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B00C584 for ; Tue, 7 Jan 2014 16:27:03 +0000 (UTC) Received: from wp376.webpack.hosteurope.de (wp376.webpack.hosteurope.de [IPv6:2a01:488:42::50ed:8591]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0872C16F6 for ; Tue, 7 Jan 2014 16:27:03 +0000 (UTC) Received: from tmo-100-244.customers.d1-online.com ([80.187.100.244] helo=dijkstra.cruwe.de); authenticated by wp376.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1W0ZUZ-0003BF-HI; Tue, 07 Jan 2014 17:27:00 +0100 Date: Tue, 7 Jan 2014 13:26:39 -0300 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Subject: Re: Logitech unifying receivers and keyboard ordering (ukbd0/1) Message-ID: <20140107132639.249b15d5@dijkstra.cruwe.de> In-Reply-To: <52CBBB18.80302@qeng-ho.org> References: <20140106192049.1e62a580@dijkstra.cruwe.de> <20140106203112.d5fbc6a7.freebsd@edvax.de> <52CBBB18.80302@qeng-ho.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;cjr@cruwe.de;1389112023;b81cd837; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2014 16:27:03 -0000 On Tue, 07 Jan 2014 08:30:16 +0000 Arthur Chance wrote: > On 06/01/2014 19:31, Polytropon wrote: > > On Mon, 6 Jan 2014 19:20:49 +0100, Christopher J. Ruwe wrote: > >> I am sorry, I know that my question has been addressed quite > >> recently, but I cannot find the post, I do not know why. > >> > >> I have a Logitech mouse with unifying Bluetooth receiver and a > >> keyboard attached by USB "wire". When I boot with both devices > >> attached, the non-existent keyboard unifying Bluetooth attached > >> keyboard becomes ukbd0 and the "wired" ukbd1. Accordingly, my real > >> keyboard does not work on either syscons as well as X11 and I > >> cannot type on the non-existent. > >> > >> What I would like to have the "wired2 and "real" keyboard to > >> attach to ukbd0 and if that must be the non-existent to ukbd1. > >> What I do now is to unplug the Bluetooth dongle when booting to > >> ensure that ordering. I usually forget that on first boot, though, > >> ensuring my first rush of wild swearing each morning. > > > > Depending on your kernel konfiguration, there may be two options: > > > > First, the kbdmux component should enable all detected keyboards > > to work "in parallel", so switching from one to another is not > > needed, especially if one of them doesn't even exist. A typical > > situation is when an AT keyboard (PS/2 keyboard connector) and > > a USB keyboard (USB connector) are present. > > > > Then, there's the kbdcontrol program that allows switching key- > > boards. This program can be called by devd to perform the required > > action when the USB keyboard is present (or not present). As I > > don't own any BT hardware, I can't be more specific on how this > > kind of keyboard will be represented to the OS, sorry. > > > > See "man kbdmux" and "man kbdcontrol" for details. > > > > > > Also take a look at /etc/rc.d/syscons. I see that it responds to an > rc.conf variable "keyboard". > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Thanks to both Polytropon and Arthur for your kind help. Polytropon's tip to have a look at my kernel config provided the solution. I had 'device kbdmux' in my KERNCONF _and_ tried to load kbdmux as a module from loader.conf. This resulted in /dev/kbdmux malfunctioning, i.e., being absent. Removing kbdmux from loader.conf allows me to use all keyboards without further configuration. Thanks again, cheers, -- Christopher TZ: GMT + 1h GnuPG/GPG: 0xE8DE2C14 FreeBSD 9.2-STABLE #1 r256184: Thu Oct 10 19:12:54 CEST 2013 cjr@dijkstra.cruwe.de:/usr/obj/usr/home/cjr/media/src/freebsd/base/stable/9/sys/GEN_WDTRACE Punctuation matters: "Lets eat Grandma." or "Lets eat, Grandma." - Punctuation saves lives. "A panda eats shoots and leaves." or "A panda eats, shoots, and leaves." - Punctuation teaches proper biology. "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." (RFC 1925)