[RFC] USB keyboard and devd.conf

Hans Petter Selasky hselasky at c2i.net
Mon Feb 11 12:42:26 UTC 2013


Hi,

Does anyone need these lines in /etc/devd.conf ?

=== etc/devd.conf
==================================================================
--- etc/devd.conf	(revision 246620)
+++ etc/devd.conf	(local)
@@ -105,16 +105,6 @@
 #	action "sleep 2 && /usr/sbin/ath3kfw -d $device-name -f /usr/local/etc/ath3k-1.fw";
 #};
 
-# When a USB keyboard arrives, attach it as the console keyboard.
-attach 100 {
-	device-name "ukbd0";
-	action "/etc/rc.d/syscons setkeyboard /dev/ukbd0";
-};
-detach 100 {
-	device-name "ukbd0";
-	action "/etc/rc.d/syscons setkeyboard /dev/kbd0";
-};
-
 notify 100 {
 	match "system" "DEVFS";
 	match "subsystem" "CDEV";


I plan to remove the lines marked with minus, because we now have kbdmux.

--HPS


More information about the freebsd-current mailing list