From owner-freebsd-usb@FreeBSD.ORG Sun Aug 7 09:30:25 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DBA016A41F; Sun, 7 Aug 2005 09:30:25 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D7243D6B; Sun, 7 Aug 2005 09:30:20 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== Received: from mp-217-209-161.daxnet.no ([193.217.209.161] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 4487858; Sun, 07 Aug 2005 11:30:17 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Marcus Grando , bug-followup@FreeBSD.org Date: Sun, 7 Aug 2005 11:31:07 +0200 User-Agent: KMail/1.7 References: <200508062130.j76LUNEI015273@freefall.freebsd.org> In-Reply-To: <200508062130.j76LUNEI015273@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508071131.11304.hselasky@c2i.net> Cc: Subject: Re: usb/84295: Install FreeBSD with usb keyboard need start usbd before sysinstall X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2005 09:30:25 -0000 On Saturday 06 August 2005 23:30, Marcus Grando wrote: > The following reply was made to PR usb/84295; it has been noted by GNATS. On FreeBSD 5/6, the keyboard is started from "devd". Is usbd currently present on the boot floppies? Maybe you could add a line to start kbdcontrol instead, which will work on all versions of FreeBSD ? : kbdcontrol -k /dev/kbd0 < /dev/console > > From: Marcus Grando > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: usb/84295: Install FreeBSD with usb keyboard need start usbd > before sysinstall > Date: Sat, 06 Aug 2005 18:25:11 -0300 > > Test patch to sysinstall > > --patch-- > --- usb.c.orig Fri May 12 00:01:17 2000 > +++ usb.c Sat Aug 6 18:23:12 2005 > @@ -40,5 +40,11 @@ > variable_set2("usbd_enable", "YES", 1); > > vsystem("/stand/usbd"); > + > + if ((fd = open("/dev/ukbd0", O_RDONLY)) != -1) { > + close(fd); > + vsystem("kbdcontrol -k /dev/ukbd0 < /dev/console"); > + } > + > restorescr(w); > } > --patch-- > --HPS