Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2011 04:31:41 -0600
From:      "Zane C. B-H." <v.velox@vvelox.net>
To:        freebsd-questions@freebsd.org
Cc:        chmiels@o2.pl
Subject:   Re: X11 - keyboard driver unloaded, how to load it again
Message-ID:  <20111207043141.53d009f0@vixen42.vulpes.vvelox.net>
In-Reply-To: <CAHrc_eubxgiUosgeiMmjXTFvUhK23UWSqwZ8XLuiGAds5FyvVw@mail.gmail.com>
References:  <CAHrc_eubxgiUosgeiMmjXTFvUhK23UWSqwZ8XLuiGAds5FyvVw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Dec 2011 08:48:20 +0100
Sebastian Chmielewski <chmiels@o2.pl> wrote:

> Hi,
> I've an USB Mouse - Microsoft Wireless Mouse 1000, which is
> recognized also as a keyboard:
> ugen1.3: <vendor 0x192f> at usbus1 (disconnected)
> ums0: at uhub2, port 2, addr 3 (disconnected)
> ugen0.5: <Microsoft> at usbus0
> ukbd0: <Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev
> 2.00/6.56, addr 5> on usbus0
> kbd2 at ukbd0
> ums0: <Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev
> 2.00/6.56, addr 5> on usbus0
> ums0: 5 buttons and [XYZT] coordinates ID=26
> ums0: 0 buttons and [T] coordinates ID=0
> uhid0: <Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev
> 2.00/6.56, addr 5> on usbus0
> 
> After disconnecting this mouse kbd module was unloaded by X:
> 
> [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports
> core events
> [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports
> core events
> [ 40002.704] (**) Option "Protocol" "standard"
> [ 40002.704] (**) Option "XkbRules" "base"
> [ 40002.704] (**) Option "XkbModel" "pc105"
> [ 40002.704] (**) Option "XkbLayout" "pl"
> [ 40002.704] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp"
> [ 40002.709] (**) Option "config_info"
> "hal:/org/freedesktop/Hal/devices/usb_device_45e_745_noserial_if0"
> [ 40002.709] (II) XINPUT: Adding extended input device "Microsoft
> 2.4GHz Transceiver v8.0" (type: KEYBOARD)
> [ 47161.229] (II) 3rd Button detected: disabling emulate3Button
> [ 49888.691] (II) config/hal: removing device Microsoft 2.4GHz
> Transceiver v8.0
> [ 49888.696] (II) UnloadModule: "kbd"
> [ 49888.696] (II) Unloading kbd
> 
> Question is: how to prevent this behavior in X and how to reload
> module 'kbd' under working X session (I can connect through ssh to
> this machine).

I would suggest just disabling HAL support for x11-server/xorg-server
and just statically configuring the file. The only thing you may
possibly want to do after that is make sure moused is started if you
are have any non-USB mice on that system as well.




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