From owner-cvs-all@FreeBSD.ORG Wed Sep 1 00:41:55 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DD5E16A4CE; Wed, 1 Sep 2004 00:41:55 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE3E843D53; Wed, 1 Sep 2004 00:41:54 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i810g8KR004703; Tue, 31 Aug 2004 17:42:08 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i810g8a7004702; Tue, 31 Aug 2004 17:42:08 -0700 Date: Tue, 31 Aug 2004 17:42:08 -0700 From: Brooks Davis To: Scott Long Message-ID: <20040901004208.GB25779@odin.ac.hmc.edu> References: <200409010008.i8108Fxq081685@repoman.freebsd.org> <413513FB.20505@samsco.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: <413513FB.20505@samsco.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: cvs-src@FreeBSD.org cc: Brooks Davis cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc devd.conf X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 00:41:55 -0000 --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 31, 2004 at 06:12:43PM -0600, Scott Long wrote: > Brooks Davis wrote: > >brooks 2004-09-01 00:08:15 UTC > > > > FreeBSD src repository > > > > Modified files: > > etc devd.conf=20 > > Log: > > When an USB keyboard is plugged in to a machine with a builtin keyboar= d, > > cause the USB keyboard to take over from the builtin one. This means = my > > laptop just works when I'm using it as a desktop. >=20 > What happens when you boot into single-user mode? Is this case handled > correctly? Come to think of it, I haven't had any problems with the USB > keyboard on my amd64 system and 6-CURRENT. Is there a specific > degenerate case here? In single-user mode, you will be able to use the PS/2 keyboard. This change effects systems where there is a system keyboard and then a USB keyboard is plugged in. When the USB keyboard is plugged in, it will become the console keyboard. When it is removed, the first keyboard is set back to the console keyboard. The logic isn't perfect, but it should work for any case you're likely to see in the real world. The "test -c /dev/kbd1" insures that this won't cause weird problems with legacy free systems. The issue I'm seeing is that with the PS/2 keyboard is always being picked up, my USB keyboard works as a legacy keyboard before the kernel boots, but during boot, the controller seems to switch out of legacy mode and the USB keyboard stops working except natively. I my poorly informed theory is that something about the hack my BIOS uses to make legacy OSes work was broken with Alfred's flags change. It's entirely possible this is a perversion of my particular BIOS or something wonky with the hardware (HP OmniBook 500) but wanting to plug a USB keyboard into a server after boot isn't that weird and this is pretty much the same case. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBNRrfXY6L6fI4GtQRAqwBAJ9l8rWkhhb46H+hqyx0Lid/vDXh7wCfRRAF 7yw5x+MjHt9GUhqDUfR7ON0= =Z254 -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--