preventing the backend from accessing the printer (STR #4707)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12869
a1ca3aef-8c08-0410-bb20-
df032aa958be
CHANGES IN CUPS V2.1.1
+ - The libusb-based USB backend did not unload the kernel usblp module
+ if it was preventing the backend from accessing the printer
+ (STR #4707)
- Current Primera printers were incorrectly reported as Fargo printers
(STR #4708)
- Updated localizations (STR #4709)
goto error;
}
+ else if ((errcode = libusb_detach_kernel_driver(printer->handle, printer->iface)) < 0)
+ {
+ fprintf(stderr,
+ "DEBUG: Failed to detach \"usblp\" module from %04x:%04x\n",
+ devdesc.idVendor, devdesc.idProduct);
+
+ goto error;
+ }
+
+ sleep (1);
}
/*