Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jan 2014 08:30:16 +0000
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        Polytropon <freebsd@edvax.de>, "Christopher J. Ruwe" <cjr@cruwe.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Logitech unifying receivers and keyboard ordering (ukbd0/1)
Message-ID:  <52CBBB18.80302@qeng-ho.org>
In-Reply-To: <20140106203112.d5fbc6a7.freebsd@edvax.de>
References:  <20140106192049.1e62a580@dijkstra.cruwe.de> <20140106203112.d5fbc6a7.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52CBBB18.80302>