Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2008 15:07:56 +0200
From:      =?windows-1255?B?8OX4IOPg5eM=?= <noor@comrax.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: USB Keyboard is not working with a custom kernel
Message-ID:  <5646C960E487E84C8307CF11C1EC0B3D01830F79@comrax-dom.CORPORATE.LOCAL>
In-Reply-To: <20081210140247.2f634ab3.freebsd@edvax.de>
References:  <5646C960E487E84C8307CF11C1EC0B3D018A795B@comrax-dom.CORPORATE.LOCAL><5646C960E487E84C8307CF11C1EC0B3D016E01D7@comrax-dom.CORPORATE.LOCAL> <20081210140247.2f634ab3.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
OK... This could work eventually, but think about another fact:
With GENERIC kernel, everything works correctly. I plug and unplug the =
keyboard, and it interacts wonderfully.

Noor



-----Original Message-----
From: Polytropon [mailto:freebsd@edvax.de]=20
Sent: Wednesday, December 10, 2008 3:03 PM
To: =F0=E5=F8 =E3=E0=E5=E3
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, "??? ????" <noor@comrax.com> 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
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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