aboutsummaryrefslogtreecommitdiff
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2004-09-07 23:26:52 +0000
committerBrooks Davis <brooks@FreeBSD.org>2004-09-07 23:26:52 +0000
commitff92be2bfc2fe503baa8dddc1de06a461c972578 (patch)
treec4a01fec6ab34f093cdf62dff5602ed0106b27bb /etc/devd.conf
parentdf09f373678f38526e1615c65e45ad94c86454d9 (diff)
Notes
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 70fde5c77a8fa..a19fee9fb7eb7 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -55,6 +55,16 @@ detach 100 {
device-name "ed50";
};
+# When a USB keyboard arrives, attach it as the console keyboard
+attach 100 {
+ device-name "ukbd0";
+ action "test -c /dev/kbd1 && kbdcontrol -k /dev/kbd1 < /dev/console";
+};
+detach 100 {
+ device-name "ukbd0";
+ action "kbdcontrol -k /dev/kbd0 < /dev/console";
+};
+
#
# Rescan scsi device-names on attach, but not detach.
#