usb/84295: Install FreeBSD with usb keyboard need start usbd
before sysinstall
Marcus Grando
marcus at corp.grupos.com.br
Sat Aug 6 21:30:23 GMT 2005
The following reply was made to PR usb/84295; it has been noted by GNATS.
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--
--
Marcus Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br
More information about the freebsd-usb
mailing list