From owner-freebsd-mobile@FreeBSD.ORG Wed May 10 18:21:18 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 848B616A92E for ; Wed, 10 May 2006 18:21:18 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2433F43D76 for ; Wed, 10 May 2006 18:20:10 +0000 (GMT) (envelope-from grafan@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so1737283nzi for ; Wed, 10 May 2006 11:20:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=F/QfzDZGPZG466h8QVBqHRIRMziDK0oUAD+rp/Ef0A8Mb3Ecc79/YTwPGVnVD4bQFErACMci20yN+RD/bOXy0MLgHm5k/uSbqmIdDXoMdCN2+b7VgJ0UwyehNt5jsh9x3B4OgNntuVMoivk2B0lyFEZac0sWB2nSdqt5VrtiDgg= Received: by 10.37.12.70 with SMTP id p70mr927069nzi; Wed, 10 May 2006 11:20:09 -0700 (PDT) Received: by 10.36.60.19 with HTTP; Wed, 10 May 2006 11:20:09 -0700 (PDT) Message-ID: <6eb82e0605101120j70ec552ar1bb15c839573ac84@mail.gmail.com> Date: Wed, 10 May 2006 14:20:09 -0400 From: "Rong-En Fan" To: "Maksim Yevmenkin" In-Reply-To: <446220E5.8010503@savvis.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <446217AD.3070203@sebster.com> <446220E5.8010503@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 18:21:30 -0000 On 5/10/06, Maksim Yevmenkin wrote: > 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. Since we have kbdmux turned on as default in 6.1R, could we have an ERRATA entry for this? So people will be warned about this. As for me, I turned off kbdmux for all boxes that I might need break into debugger. Thanks, Rong-En Fan