Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2006 19:05:49 -0400
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-ports-bugs@freebsd.org
Cc:        Ion-Mihai Tetcu <itetcu@freebsd.org>
Subject:   Re: ports/99460: CUPS 1.2.0: Unable to open USB device "usb:/dev/ulpt0": Permission denied
Message-ID:  <200606291905.49391.nb_root@videotron.ca>
In-Reply-To: <200606271018.k5RAIlOq051464@freefall.freebsd.org>
References:  <200606271018.k5RAIlOq051464@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606291905.49391.nb_root>