FreeBSD installation and USB keyboard

Marcus Grando marcus at corp.grupos.com.br
Sat Aug 6 21:31:50 GMT 2005


Hi List,

In FreeBSD installation, USB keyboard don't work.

Proposed patch to sysinstall:

--- 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);
  }

-- 
Marcus Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br


More information about the freebsd-current mailing list