From owner-freebsd-stable@FreeBSD.ORG Fri Mar 18 18:52:32 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95D06106566C for ; Fri, 18 Mar 2011 18:52:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id 8237C8FC17 for ; Fri, 18 Mar 2011 18:52:32 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta15.emeryville.ca.mail.comcast.net with comcast id LiQ11g00J1wfjNsAFisY3C; Fri, 18 Mar 2011 18:52:32 +0000 Received: from koitsu.dyndns.org ([76.102.12.206]) by omta23.emeryville.ca.mail.comcast.net with comcast id LisV1g00s4SkFJc8jisWjk; Fri, 18 Mar 2011 18:52:31 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 5C9E49B429; Fri, 18 Mar 2011 11:52:29 -0700 (PDT) Date: Fri, 18 Mar 2011 11:52:29 -0700 From: Jeremy Chadwick To: Christian Weisgerber Message-ID: <20110318185229.GA38835@icarus.home.lan> References: <20110313060702.GA1056@faust> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: happy hacker lite 2 keyboard X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2011 18:52:32 -0000 On Fri, Mar 18, 2011 at 06:20:22PM +0000, Christian Weisgerber wrote: > Zoran Kolic wrote: > > > They are all usb models nowadays. > > PS/2 is dead. Get used to it. Hear, hear. Not to get off-track, but I want to make you aware: There are known complexities with FreeBSD and USB-based keyboards (such as if the kernel crashes before the USB stack and kbdmux can get configured, you can't type anything). The "USB Legacy" or "USB Emulation" option in a BIOS doesn't help -- the kernel is already loaded at that point, so emulation interrupts induced by the BIOS (to emulate USB keyboard->PS/2) are lost. The only thing this option helps is the boot0/boot2/loader stages. There are also problems when dropping to single-user mode (occasionally the keyboard won't work); nothing ticks me off more than doing a system upgrade only to find that one can't type at the "Select a shell or hit enter for /bin/sh" prompt. There is evidence that disabling kbdmux and/or atkbd/atkbc can help, but for some people this isn't an option (such as those using laptops who do need/rely on kbdmux). There has been improvement in this area between 8.0 and 8.2, but I stopped tracking the efforts and switched everything FreeBSD I had over to PS/2 because I can't chance it any longer. I would love to know how Linux solved this predicament, if at all. God I love PC architecture. ;-) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |