From owner-freebsd-hackers Thu Mar 30 19: 1:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.cdrom.com (mg128-098.ricochet.net [204.179.128.98]) by hub.freebsd.org (Postfix) with ESMTP id 1F5C037C2EE; Thu, 30 Mar 2000 19:01:10 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id TAA00407; Thu, 30 Mar 2000 19:05:11 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <200003310305.TAA00407@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: John Baldwin Cc: n_hibma@FreeBSD.org, hackers@FreeBSD.org Subject: Re: USB Installation - Working Release! In-reply-to: Your message of "Thu, 30 Mar 2000 21:33:02 EST." <200003310233.VAA91682@server.baldwin.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 30 Mar 2000 19:05:10 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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