[Bug 207939] print/cups: Removal of LIBUSB option breaks some printer types
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 13 01:38:06 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207939
Bug ID: 207939
Summary: print/cups: Removal of LIBUSB option breaks some
printer types
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tijl at FreeBSD.org
Reporter: russo at bogodyn.org
Assignee: tijl at FreeBSD.org
Flags: maintainer-feedback?(tijl at FreeBSD.org)
With the most recent update of print/cups, the old LIBUSB option was removed,
and LIBUSB is always turned on (and the file
%%DATADIR%%/usb/org.cups.usb-quirks
unconditionally installed per pkg-plist).
This is a major problem for a small class of USB printers such as the HP LJ
1020, which will not work if cups is built with LIBUSB. The problem is that
the usb driver attempts to detach the kernel driver using
libusb_detach_kernel_driver, which fails. The result is an endless "Waiting
for printer to become available" error.
I was able to force cups to be built without LIBUSB by hacking the
print/cups/Makefile to add the "--diable-libusb" option to CONFIGURE_ARGS and
removing the %%DATADIR%%/usb/org.cups.usb-quirks line from pkg-plist.
This is obviously NOT the solution for the port, but it WAS the solution to the
problem of getting my printer working again after the upgrade to cups 2.1.3
this afternoon. I only got the solution by googling like crazy, watching
ktraces of the usb: process that was screwing up, and finally finding an
article saying "Just build the port with LIBUSB off." It was then that I
realized that there was no longer such an option, and that it had been removed
yesterday. I must have had it selected for all previous builds of cups.
Would the port maintainer please re-insert the LIBUSB option so that oddball
uses of cups with printers that have this problem can actually print?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list