From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 29 23:05:55 2006 Return-Path: X-Original-To: freebsd-ports-bugs@freebsd.org Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74B4016A416; Thu, 29 Jun 2006 23:05:55 +0000 (UTC) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E76BD43E55; Thu, 29 Jun 2006 23:05:50 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MH-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J1N00I569HQO320@VL-MH-MR002.ip.videotron.ca>; Thu, 29 Jun 2006 19:05:50 -0400 (EDT) Date: Thu, 29 Jun 2006 19:05:49 -0400 From: Nicolas Blais In-reply-to: <200606271018.k5RAIlOq051464@freefall.freebsd.org> To: freebsd-ports-bugs@freebsd.org Message-id: <200606291905.49391.nb_root@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline References: <200606271018.k5RAIlOq051464@freefall.freebsd.org> User-Agent: KMail/1.9.3 Cc: Ion-Mihai Tetcu Subject: Re: ports/99460: CUPS 1.2.0: Unable to open USB device "usb:/dev/ulpt0": Permission denied X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 23:05:55 -0000 Here's a hack Jan-Espen Pettersen (sigsegv@radiotube.org) posted on FreeBSD-Questions which solved the problem: ---- START I found that the usb backend stalled here before actually doing any work. Before I've done any actual debugging of the backend, I suspect that it is being blocked on a status read attempt, though this is only my current guess. Here is a workaround: In printers.conf () you will probably find a line like this: DeviceURI usb:/dev/ulpt0 change usb: to file:, so that it looks something like this: DeviceURI file:/dev/ulpt0 Then restart cups. Cups will not read any status information from the printer, but at least it can print. Be warned about unknown side effects. :) ---- END Nicolas -- FreeBSD 7.0-CURRENT #4: Sun Jun 25 12:13:31 EDT 2006 root@clk01a:/usr/obj/usr/src/sys/CLK01A PGP? : http://www.clkroot.net/security/nb_root.asc