From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 10:50:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 229851065675 for ; Wed, 7 Dec 2011 10:50:36 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id D6CAA8FC0A for ; Wed, 7 Dec 2011 10:50:35 +0000 (UTC) Received: from vixen42.vulpes.vvelox.net (vixen42.vulpes.vvelox.net [192.168.15.2]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id 7BA843F58C; Wed, 7 Dec 2011 04:31:51 -0600 (CST) Date: Wed, 7 Dec 2011 04:31:41 -0600 From: "Zane C. B-H." To: freebsd-questions@freebsd.org Message-ID: <20111207043141.53d009f0@vixen42.vulpes.vvelox.net> In-Reply-To: References: X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: chmiels@o2.pl Subject: Re: X11 - keyboard driver unloaded, how to load it again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 10:50:36 -0000 On Wed, 7 Dec 2011 08:48:20 +0100 Sebastian Chmielewski wrote: > Hi, > I've an USB Mouse - Microsoft Wireless Mouse 1000, which is > recognized also as a keyboard: > ugen1.3: at usbus1 (disconnected) > ums0: at uhub2, port 2, addr 3 (disconnected) > ugen0.5: at usbus0 > ukbd0: 2.00/6.56, addr 5> on usbus0 > kbd2 at ukbd0 > ums0: 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: 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.