[HIGH] STR #4088: libusb_kernel_driver_active may may return unsupported
Antoine Jacoutot <[email protected]>
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi. On OpenBSD (but I guess other BSDs may have the same issue), the libusb_kernel_* functions return LIBUSB_ERROR_NOT_SUPPORTED because there is no implementation for it (also "usblp" is a Linux thing). The following patch adds a check to open_device() that catches LIBUSB_ERROR_NOT_SUPPORTED and continues with a warning assuming that the kernel hasn't attached the device so that libusb is used. This allows my USB printers to work with version 1.5.3. Link: http://www.cups.org/str.php?L4088 Version: 1.5.3 _______________________________________________ cups-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/cups-bugs
patch-backend_usb-libusb_c
(application/octet-stream, 586 B) - not displayed