conf/73799: Move the last stuff out of usbd.conf

Anish Mistry amistry at am-productions.biz
Wed Nov 10 18:10:29 PST 2004


>Number:         73799
>Category:       conf
>Synopsis:       Move the last stuff out of usbd.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 02:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Anish Mistry
>Release:        FreeBSD 6.0-CURRENT
>Organization:
AM Productions
>Environment:
System: FreeBSD littleguy 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Tue Nov  9 21:41:14 EST 2004     root at littleguy:/usr/obj/usr/src/sys/LITTLEGUY  i386


	
>Description:
	Transfer the last stuff out of usbd.conf since it has been superceeded by devd.conf
	
>How-To-Repeat:
	
>Fix:

	

--- devd.conf.patch begins here ---
--- /usr/src/etc/devd.conf	Tue Nov  9 17:17:58 2004
+++ /etc/devd.conf	Wed Nov 10 17:35:45 2004
@@ -66,6 +66,42 @@
 	action "kbdcontrol -k /dev/kbd0 < /dev/console";
 };
 
+# New USB mouse available
+attach 100 {
+	device-name "ums[0-9]+";
+	action "/etc/rc.d/moused start $device-name";
+};
+# This won't do anything until moused no longer bails out when a device disappears,
+# but this will make it future safe if this "feature" is ever fixed
+detach 100 {
+	device-name "ums[0-9]+";
+	action "/etc/rc.d/moused stop $device-name";
+};
+
+# ActiveWire board, firmware download
+attach 100 {
+	match "vendor" "0x0854";
+	match "product" "0x0100";
+	match "release" "0x0000";
+	action "/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex $device-name";
+};
+
+# Firmware download for Entrega Serial DB25 adapter.
+attach 100 {
+	match "vendor" "0x8001";
+	match "product" "0x1645";
+	match "release" "0x0101";
+	action "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi ; /usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/$device-name";
+};
+
+attach 100 {
+        device-name "ucom[0-9]+";
+        match "vendor" "0x082d";
+        match "product" "0x0100";
+	match "release" "0x0100";
+        action "/usr/local/bin/coldsync -md -p /dev/$device-name -t usb";
+};
+
 #
 # Rescan scsi device-names on attach, but not detach.
 #
--- devd.conf.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list