From owner-freebsd-mobile@FreeBSD.ORG Wed May 10 17:20:40 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35F7916A466 for ; Wed, 10 May 2006 17:20:40 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D61843D46 for ; Wed, 10 May 2006 17:20:39 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id DBFD43BE6E; Wed, 10 May 2006 12:20:38 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14517-01-37; Wed, 10 May 2006 12:20:38 -0500 (CDT) Received: from [10.254.186.111] (sntc04ep01.savvis.net [64.14.1.106]) by mailgate1b.savvis.net (Postfix) with ESMTP id 6D05A3BE6D; Wed, 10 May 2006 12:20:38 -0500 (CDT) Message-ID: <446220E5.8010503@savvis.net> Date: Wed, 10 May 2006 10:20:37 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sebastiaan van Erk References: <446217AD.3070203@sebster.com> In-Reply-To: <446217AD.3070203@sebster.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-mobile@freebsd.org Subject: Re: keyboard does not work in kernel space X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 17:20:40 -0000 Sebastiaan van Erk wrote: > Hi all! > > I just got a new Inspiron 9400 laptop and was trying to do full disk > encryption with GEOM ELI. Everything seems to be working fine now, > except that the keyboard does not seem to work in kernel space so that > when my USB boot stick asks me for the passphrase of my internal hard > drive, I cannot enter anything. I know this is not specific to GEOM ELI, > since I was messing around with my USB pendrive and forgot to specify a > root device, which the kernel prompted me for the root device and I had > exactly the same problem: the keyboard did not work. known issue. kbdmux(4) + atkbd(4) does not currently work in "kernel" space. the reason is because atkbd(4) does not seem to deal with "polled" mode correctly. in "kernel" space interrupts are disabled and the keyboard has to be polled for characters. kbdmux(4) expects low level keyboard driver to deal with it. ukbd(4) driver does that, atkbd(4) does not. > When I change the root device to my pen drive it boots to the login > prompt (user space), and the keyboard works fine at that moment. > > Is this problem familiar to anybody? Is there any way to solve it? 1) disable kbdmux(4) or 2) use ukbd(4) (usb) keyboard i'm looking into this, but due to limited time i can not provide eta. thanks, max