Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2011 08:48:20 +0100
From:      Sebastian Chmielewski <chmiels@o2.pl>
To:        freebsd-questions@freebsd.org
Subject:   X11 - keyboard driver unloaded, how to load it again
Message-ID:  <CAHrc_eubxgiUosgeiMmjXTFvUhK23UWSqwZ8XLuiGAds5FyvVw@mail.gmail.com>

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

best regards,
-- 
Sebastian Chmielewski



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