Hi,
With this patch, information about user-supplied ids is printed only
once at startup instead of everytime any USB device is plugged in.
The patch is on top of the new ids patch.
Bye,
Henning
--- linux-2.4.21-pre3.newids/drivers/usb/scanner.c 2003-01-12 23:11:55.000000000
+0100
+++ linux-2.4.21-pre3.user_supplied/drivers/usb/scanner.c 2003-01-12
+23:30:16.000000000 +0100
@@ -332,6 +332,8 @@
*
* 0.4.10 01/07/2003
* - Added vendor/product ids for Visioneer scanners.
+ * - Print information about user-supplied ids only once at startup instead
+ * of everytime any USB device is plugged in.
*
* TODO
* - Remove the 2/3 endpoint limitation
@@ -852,10 +854,6 @@
char have_bulk_in, have_bulk_out, have_intr;
char name[10];
- if (vendor != -1 && product != -1) {
- info("probe_scanner: User specified USB scanner -- Vendor:Product -
%x:%x", vendor, product);
- }
-
dbg("probe_scanner: USB dev address:%p", dev);
dbg("probe_scanner: ifnum:%u", ifnum);
@@ -1154,6 +1152,8 @@
return -1;
info(DRIVER_VERSION ":" DRIVER_DESC);
+ if (vendor != -1 && product != -1)
+ info("probe_scanner: User specified USB scanner -- Vendor:Product -
+%x:%x", vendor, product);
return 0;
}
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel