hal/tools/linux hal_hotplug.c,1.12,1.13

David Zeuthen david at pdx.freedesktop.org
Sun Jul 4 13:28:28 PDT 2004


Update of /cvs/hal/hal/tools/linux
In directory pdx:/tmp/cvs-serv30296/tools/linux

Modified Files:
	hal_hotplug.c 
Log Message:
2004-07-04  David Zeuthen  <david at fubar.dk>

	* tools/linux/hal_hotplug.c: Don't wait for 'manufacturer' file for
	USB devices since it's not guaranteed to exist. 
	Observed by Eric Butler <eric at extremeboredom.net>



Index: hal_hotplug.c
===================================================================
RCS file: /cvs/hal/hal/tools/linux/hal_hotplug.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- hal_hotplug.c	14 Apr 2004 21:05:08 -0000	1.12
+++ hal_hotplug.c	4 Jul 2004 20:28:26 -0000	1.13
@@ -94,21 +94,22 @@
 }
 
 static const char *file_list_usb[] = {
-	"idProduct",
-	"idVendor",
-	"bcdDevice",
-	"bMaxPower",
-	/*"serial", */
-	"bmAttributes",
-	"manufacturer",
-	"product",
-	"bDeviceClass",
-	"bDeviceSubClass",
-	"bDeviceProtocol",
-	"bNumConfigurations",
-	"bConfigurationValue",
-	"bNumInterfaces",
+	 "idProduct",
+	 "idVendor",
+	 "bcdDevice",
+	 "bMaxPower",
+	 /*"serial", */
+	 "bmAttributes",
+	 /*"manufacturer",*/
+	 "product",
+	 "bDeviceClass",
+	 "bDeviceSubClass",
+	 "bDeviceProtocol",
+	 "bNumConfigurations",
+	 "bConfigurationValue",
+	 "bNumInterfaces",
 	NULL
+
 };
 
 static const char *file_list_usbif[] = {





More information about the hal-commit mailing list