Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 21:31:00 -0800
From:      Yuri <yuri@rawbw.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Plugging out Microsoft Nano Tranceiver (USB mouse) causes PS2 keyboard to cease functioning
Message-ID:  <50F63B14.8050901@rawbw.com>
In-Reply-To: <201301150812.33427.hselasky@c2i.net>
References:  <50F48D49.1060406@rawbw.com> <201301150812.33427.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/14/2013 23:12, Hans Petter Selasky wrote:
> The problem is that the Nano transceiver also provides a keyboard, which is
> set as default.
>
> See /etc/devd.conf and:
>
> # When a USB keyboard arrives, attach it as the console keyboard.
> attach 100 {
>          device-name "ukbd0";
>          action "/etc/rc.d/syscons setkeyboard /dev/ukbd0";
> };
> detach 100 {
>          device-name "ukbd0";
>          action "/etc/rc.d/syscons setkeyboard /dev/kbd0";
> };
>
> Which probably should be updated.

Actually, disabling the above entries altogether also doesn't solve the 
problem.
However, stopping devd daemon causes the problem to disappear. Even 
though devd.conf even didn't have those ukbd directives.
I ran devd with -D flag, but log only shows the execution of 'syscons' 
and 'moused' when the mouse is plugged/unplugged.
Removing moused entries also doesn't solve the problem.

So devd does something that triggers this problem, even though it 
doesn't execute any commands. Looks like a mystery.

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F63B14.8050901>