Hi, On Thu, Dec 19, 2002 at 10:14:04PM +0100, Oliver Neukum wrote: > > In http://www.geocrawler.com/mail/msg.php3?msg_id=9767006&list=2571 > > it was proposed to just remove this check. However, doesn't this mean > > that the scanner driver attaches to both interfaces, so the printer > > would be mistaken for a scanner? > > You have to check for the interface to be of the vendor specific class. > That'll help if the other interface is a printer.
Thanks. I guess I'll have to also check for the "bInterfaceClass 16 Data" (used by at least the HP ScanJet 3300c) and "bInterfaceClass: 0" (used by UMAX scanners). I don't think USB_CLASS_PER_INTERFACE makes much sense if used in bInterfaceClass, but that's the reality. Bye, Henning ------------------------------------------------------- This SF.NET email is sponsored by: The Best Geek Holiday Gifts! Time is running out! Thinkgeek.com has the coolest gifts for your favorite geek. Let your fingers do the typing. Visit Now. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
