From owner-freebsd-ports-bugs@freebsd.org Sun Mar 13 01:38:06 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02144ACDB5D for ; Sun, 13 Mar 2016 01:38:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC9F79F1 for ; Sun, 13 Mar 2016 01:38:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2D1c5XH067747 for ; Sun, 13 Mar 2016 01:38:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207939] print/cups: Removal of LIBUSB option breaks some printer types Date: Sun, 13 Mar 2016 01:38:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: russo@bogodyn.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2016 01:38:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207939 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@FreeBSD.org Reporter: russo@bogodyn.org Assignee: tijl@FreeBSD.org Flags: maintainer-feedback?(tijl@FreeBSD.org) With the most recent update of print/cups, the old LIBUSB option was remove= d, 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 a= nd 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 remo= ved 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? --=20 You are receiving this mail because: You are the assignee for the bug.=