[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#401405: [Pkg-cups-devel] Bug#401405: bogus error message with ownership problems

Hash: SHA1

At Sun, 3 Dec 2006 11:02:34 +0100,
Ulrich Eckhardt wrote:
> Package: cupsys
> Version:1.2.7-1
> I just installed an USB printer (Samsung ML-1610) and stumbled across
> the problem that after the wizard correctly detects the printer's
> presence and type, it totally fails when printing. Worse, the 
> diagnostic is complete and utter nonsense, it says:
>   "Printer not connected; will retry in 30 seconds..."
> By looking around a bit and trying this and that, I found out that
> the problem is that the device node (/dev/usb/lp0) has owner root:lp.
> A simple chmod lp:lp resolved the issue[1]. However, that's not the
> issue here, the problem is rather that cupsys falsely diagnoses the
> error, there is no connection missing but it's a simple permission
> problem.

I understand CUPS provides not enough messages. It has to be improved
more in the future.
Well, let's think about /dev/usb/lp0 permission problem at this time.
As far as I know CUPS backend will run as ownership root:root or lp:lp.
USB backend will run as lp:lp, so it should be able to access

If your machine is i386 architecture, could you replace /usr/lib/cups/
backend/usb by http://kmuto.jp/tmp/usb-debug.tar.gz ?
After then, try to print something to your USB printer.
You'll see the result of ownership check at /tmp/o2 file.
Please send it to us.

- -- 
Kenshi Muto
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>


Reply to: