usb/84295: Install FreeBSD with usb keyboard need start usbd before sysinstall

Hans Petter Selasky hselasky at c2i.net
Sun Aug 7 09:30:25 GMT 2005


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 at corp.grupos.com.br>
> To: bug-followup at 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


More information about the freebsd-usb mailing list