Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 17:42:08 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Scott Long <scottl@samsco.org>
Cc:        src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/etc devd.conf
Message-ID:  <20040901004208.GB25779@odin.ac.hmc.edu>
In-Reply-To: <413513FB.20505@samsco.org>
References:  <200409010008.i8108Fxq081685@repoman.freebsd.org> <413513FB.20505@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040901004208.GB25779>