Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2005 09:40:19 GMT
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@FreeBSD.org
Subject:   Re: usb/84295: Install FreeBSD with usb keyboard need start usbd before sysinstall
Message-ID:  <200508070940.j779eJvB002210@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/84295; it has been noted by GNATS.

From: Hans Petter Selasky <hselasky@c2i.net>
To: freebsd-usb@freebsd.org,
 Marcus Grando <marcus@corp.grupos.com.br>,
 bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/84295: Install FreeBSD with usb keyboard need start usbd before sysinstall
Date: Sun, 7 Aug 2005 11:31:07 +0200

 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 <marcus@corp.grupos.com.br>
 > 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



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