Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 19:05:10 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        n_hibma@FreeBSD.org, hackers@FreeBSD.org
Subject:   Re: USB Installation - Working Release! 
Message-ID:  <200003310305.TAA00407@mass.cdrom.com>
In-Reply-To: Your message of "Thu, 30 Mar 2000 21:33:02 EST." <200003310233.VAA91682@server.baldwin.cx> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Ok, I've been working on trying to build a release that can be
> installed onto machines that have USB keyboards as well as other
> USB foo.  My current patch to src/ for this is at
> http://www.FreeBSD.org/~jhb/patches/usb.release.patch.  You can
> use it to build a release via
> 'make release LOCAL_PATCHES=usb.release.patch'.  A release of
> -current made with this patch can be found at
> ftp://ftp.Baldwin.cx/pub/FreeBSD/5.0-BALDWIN_CX-USB-20000330/
> 
> 
> 1) The kernel userconfig does not work with a USB keyboard.  The
>    result is that we can't put INTRO_USERCONFIG into the install
>    floppy.  Since we want this for installation whenever we can
>    this means that we will have to have a seperate USB kern.flp
>    until userconfig is moved out to the loader where it arguably
>    belongs.

INTRO_USERCONFIG should probably be smart enough to work out that there 
isn't an early input device and just punt.

> 2) Right now the GENERIC kernel doesn't have the atkbd0 device
>    in it, so it won't work on a system with just an AT keyboard.
>    For a workaround, I'm thinking of adding kbdcontrol to the
>    install floppy, and adding an entry into /etc/usbd.conf for
>    ukbd0 that runs kbdcontrol to change the default keyboard to
>    the first USB keyboard.  Thus, on a system with both an AT
>    and a USB keyboard, the USB keyboard would be used, and on a
>    system with either the working one would be used.  I'll be
>    working on this later on this evening and then try to roll
>    another release.  However, this would require a change to
>    /usr/src/etc/usbd.conf if that is ok with everyone.
> 
> Comments?

If there's an AT keyboard, it should always be used first. 

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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