From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 17:24:49 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 697E1106567C for ; Wed, 10 Dec 2008 17:24:49 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 42BF98FC14 for ; Wed, 10 Dec 2008 17:24:49 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 26429 invoked from network); 10 Dec 2008 17:24:48 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Dec 2008 17:24:48 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 14CE850826; Wed, 10 Dec 2008 12:24:47 -0500 (EST) To: =?utf-8?B?16DXldeoINeT15DXldeT?= References: <5646C960E487E84C8307CF11C1EC0B3D018A795B@comrax-dom.CORPORATE.LOCAL> <5646C960E487E84C8307CF11C1EC0B3D016E01D7@comrax-dom.CORPORATE.LOCAL> <20081210140247.2f634ab3.freebsd@edvax.de> <5646C960E487E84C8307CF11C1EC0B3D01830F79@comrax-dom.CORPORATE.LOCAL> From: Lowell Gilbert Date: Wed, 10 Dec 2008 12:24:46 -0500 In-Reply-To: <5646C960E487E84C8307CF11C1EC0B3D01830F79@comrax-dom.CORPORATE.LOCAL> (=?utf-8?B?Iteg15XXqCDXk9eQ15XXkyIncw==?= message of "Wed\, 10 Dec 2008 15\:07\:56 +0200") Message-ID: <44hc5cq6xt.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 17:24:49 -0000 Please don't top-post. =D7=A0=D7=95=D7=A8 =D7=93=D7=90=D7=95=D7=93 writes: > OK... This could work eventually, but think about another fact: > With GENERIC kernel, everything works correctly. I plug and unplug the ke= yboard, and it interacts wonderfully. Right. The generic kernel has kbdmux these days. > Noor > > > > -----Original Message----- > From: Polytropon [mailto:freebsd@edvax.de]=20 > Sent: Wednesday, December 10, 2008 3:03 PM > To: =D7=A0=D7=95=D7=A8 =D7=93=D7=90=D7=95=D7=93 > Cc: freebsd-questions@freebsd.org > Subject: Re: USB Keyboard is not working with a custom kernel > > 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). >>=20 >> 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 (=3D/dev/atkbd0) to "change focus" to the USB one > /dev/kbd1 (=3D/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. --=20 Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/