Date: Sat, 6 Aug 2005 21:30:23 GMT From: Marcus Grando <marcus@corp.grupos.com.br> To: freebsd-usb@FreeBSD.org Subject: Re: usb/84295: Install FreeBSD with usb keyboard need start usbd before sysinstall Message-ID: <200508062130.j76LUNEI015273@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: 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--
--
Marcus Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508062130.j76LUNEI015273>
