From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 08:07:15 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 753C7106564A for ; Wed, 7 Dec 2011 08:07:15 +0000 (UTC) (envelope-from chmiels@o2.pl) Received: from tur.go2.pl (tur.go2.pl [193.17.41.50]) by mx1.freebsd.org (Postfix) with ESMTP id F31698FC0A for ; Wed, 7 Dec 2011 08:07:14 +0000 (UTC) Received: from moh1-ve2.go2.pl (moh1-ve2.go2.pl [193.17.41.132]) by tur.go2.pl (Postfix) with ESMTP id 430B22333A9 for ; Wed, 7 Dec 2011 08:48:26 +0100 (CET) Received: from moh1-ve2.go2.pl (unknown [10.0.0.132]) by moh1-ve2.go2.pl (Postfix) with ESMTP id 8CCB910653F4 for ; Wed, 7 Dec 2011 08:48:24 +0100 (CET) Received: from unknown (unknown [10.0.0.108]) by moh1-ve2.go2.pl (Postfix) with SMTP for ; Wed, 7 Dec 2011 08:48:24 +0100 (CET) Received: from mail-gx0-f182.google.com [209.85.161.182] by poczta.o2.pl with ESMTP id pEdAEt; Wed, 07 Dec 2011 08:51:44 +0100 Received: by ggnp1 with SMTP id p1so420167ggn.13 for ; Tue, 06 Dec 2011 23:48:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.174.106 with SMTP id br10mr3369656obc.40.1323244100053; Tue, 06 Dec 2011 23:48:20 -0800 (PST) Received: by 10.182.41.170 with HTTP; Tue, 6 Dec 2011 23:48:20 -0800 (PST) Date: Wed, 7 Dec 2011 08:48:20 +0100 Message-ID: From: Sebastian Chmielewski To: freebsd-questions@freebsd.org X-O2-Trust: 2, 61 X-O2-SPF: neutral Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: X11 - keyboard driver unloaded, how to load it again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: chmiels@o2.pl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 08:07:15 -0000 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: on usbus0 kbd2 at ukbd0 ums0: on usbus0 ums0: 5 buttons and [XYZT] coordinates ID=26 ums0: 0 buttons and [T] coordinates ID=0 uhid0: 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