cvs commit: src/etc devd.conf

Brooks Davis brooks at one-eyed-alien.net
Tue Aug 31 17:41:55 PDT 2004


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 
> >  Log:
> >  When an USB keyboard is plugged in to a machine with a builtin keyboard,
> >  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.
> 
> 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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040831/67d07a6e/attachment.bin


More information about the cvs-src mailing list