Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759719Ab1D0RXe (ORCPT ); Wed, 27 Apr 2011 13:23:34 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:37630 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759647Ab1D0RXc (ORCPT ); Wed, 27 Apr 2011 13:23:32 -0400 Date: Wed, 27 Apr 2011 13:23:31 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Jiri Kosina cc: Valdis.Kletnieks@vt.edu, Greg Kroah-Hartman , Dmitry Torokhov , , , Subject: Re: Wonkiness with keyboard adapter - not sure if it's in USB or input systems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1549 Lines: 36 On Tue, 26 Apr 2011, Jiri Kosina wrote: > It seems like the BIOS handover of the USB input device doesn't work > properly. > > The way things usually work in such situations -- BIOS is able to > understand USB input devices in a very basic mode (hidp) and translate the > events into PS/2-looking events, so that things like grub (which don't > understand USB HID) are able to see keyboard events -- BIOS presents those > as PS/2 devices. > > Once kernel is booted, it takes over devices in this 'legacy' mode from > BIOS, and initializes them properly as USB input devices. > > Seems like this process is broken on your system. Could you please try to > disable legacy USB emulation in your BIOS, and see if the problem > persists? (it will make USB keyboard unavailable in grub). If the drivers are set up properly in the initrd image, this shouldn't be a problem. Still, it's worth testing. A good test would be to use two keyboards, one attached to the PS2 port for typing in the decryption key and one attached to the adapter. Does the second keyboard work after the kernel has finished starting up? If it doesn't, does "rmmod ehci ; modprobe ehci" make any difference? Also, once the kernel is running, it is possible to fire up usbmon and see what it reveals. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/