FreeBSD installation and USB keyboard

From: Marcus Grando <marcus_at_corp.grupos.com.br>
Date: Sat, 06 Aug 2005 18:32:06 -0300
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
_at__at_ -40,5 +40,11 _at__at_
      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
Received on Sat Aug 06 2005 - 19:31:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC