[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



-----BEGIN PGP SIGNED MESSAGE-----
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
/dev/usb/lp0.

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.

Thanks,
- -- 
Kenshi Muto
kmuto@debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkVy37kACgkQQKW+7XLQPLGAfwCgxPmX1K/46502d7E9UnauV7D9
z5YAmwffnTZ/fPLlWDDCKVWOOTBpdaH0
=emIn
-----END PGP SIGNATURE-----




Reply to: