From owner-freebsd-usb@FreeBSD.ORG Sat Aug 6 21:30:23 2005 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A73E716A41F for ; Sat, 6 Aug 2005 21:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 790E543D45 for ; Sat, 6 Aug 2005 21:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j76LUNVF015280 for ; Sat, 6 Aug 2005 21:30:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j76LUNEI015273; Sat, 6 Aug 2005 21:30:23 GMT (envelope-from gnats) Date: Sat, 6 Aug 2005 21:30:23 GMT Message-Id: <200508062130.j76LUNEI015273@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Marcus Grando 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: Marcus Grando List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 21:30:23 -0000 The following reply was made to PR usb/84295; it has been noted by GNATS. 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-- -- Marcus Grando Grupos Internet S/A marcus(at)corp.grupos.com.br