From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 13:03:06 2008 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 51BFD106564A for ; Wed, 10 Dec 2008 13:03:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 13BEB8FC16 for ; Wed, 10 Dec 2008 13:03:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-75-140.dynamic.qsc.de [92.196.75.140]) by mx01.qsc.de (Postfix) with ESMTP id 706173CA81; Wed, 10 Dec 2008 14:02:56 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBAD2msM001537; Wed, 10 Dec 2008 14:02:48 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 10 Dec 2008 14:02:47 +0100 From: Polytropon To: "??? ????" Message-Id: <20081210140247.2f634ab3.freebsd@edvax.de> In-Reply-To: <5646C960E487E84C8307CF11C1EC0B3D016E01D7@comrax-dom.CORPORATE.LOCAL> References: <5646C960E487E84C8307CF11C1EC0B3D018A795B@comrax-dom.CORPORATE.LOCAL> <5646C960E487E84C8307CF11C1EC0B3D016E01D7@comrax-dom.CORPORATE.LOCAL> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: USB Keyboard is not working with a custom kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 13:03:06 -0000 On Wed, 10 Dec 2008 07:33:44 +0200, "??? ????" wrote: > With this kernel, whenever I connect a USB keyboard, I see on > the console an alert ("USB keyboard device this and that, > connected to ....") and even the make/model of the keyboard > is shown, but the keyboard doesn't work. The Num/Caps locks > work (I mean, the light on the keyboard alternates between > ON/OFF whenever press on the keys). > > Anyone knows what's the problem? And how to fix it? This *may* be due to kbdmux. On older FreeBSD systems (such as FreeBSD 5), you had to manually change the active keyboard using the kbdcontrol command. Let's say, you have an AT keyboard present (which has the "focus") and you plugged in the USB keyboard, the keyboard would get recognized and powered (so you can toggle the Blinkenlights), but no input would come from it. Then you would have to use the "focused" keyboard /dev/kbd0 (=/dev/atkbd0) to "change focus" to the USB one /dev/kbd1 (=/dev/ukbd0). Since kbdmux has been introduced, "focus" is on all keybpards that are plugged into the system, so it doesn't matter where you type something. Maybe you could check the presence of kbdmux or use an AT keyboard to check via kbdcontrol. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...