CUPS not detect the USB printer connected

Senthil Murugan senthil_pushpavanalingam at mindtree.com
Thu Sep 2 22:38:05 PDT 2010


Michael,

Here the /dev/usb/* file permission details,

crw-rw----    1 root     root     180,   0 Jan  1 00:09 lp0
crw-rw----    1 root     root     180,   1 Jan  1 00:10 lp1

In /etc/cups/cupsd.conf enable the debug level as "debug2" and i could see the polling process detects only 5 fd some time. some time it shows 7 fd.

[02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5...
this may give some info to you on the problem part.

Thanks,
Senthil

> You need to check the permissions of the /dev/usb/* files.
>
> On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote:
>
> > Thanks Michael for quick input. OpenWrt for embedded device not having =
> all the users in my config. I have only root user and admin user. I have =
> root permission for the /usr/lib/cups/backend/usb. owner and group =
> permission also for user root. I login as a root and executes lpinfo -v. =
> its shows only 5 devices. Same time when i change the directory =
> /usr/lib/cups/backend/ run "usb" i could able to see the printer details =
> including serial number.
> >=20
> > Thanks,
> > Senthil
> >=20
> >> Sounds like a permissions problem - the USB backend runs as the "lp" =
> =3D
> >> user by default, so the USB device files will need to be writable by =
> =3D
> >> "lp" or have the appropriate group with group write enabled.
> >>=20
> >> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote:
> >>=20
> >>> Hi Team,
> >>> =3D20
> >>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. =3D
> >> lpinfo -v not listing my usb printer connected. I could see the =
> device =3D
> >> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb also =
> =3D
> >> shows the printer connected. But my lpinfo -v command shows always 5 =
> =3D
> >> other devices (http, ipp, socket, lpd & scsi).
> >>> =3D20
> >>> went through some extend of debug by enabling DEBUG option in code =3D=
>
> >> (debug.h). when i enable DEBUG option lpinfo -v hangs.
> >>> =3D20
> >>> Looking experts input to resolve my problem.
> >>> =3D20
> >>> Thanks,
> >>> Senthil
> >>> _______________________________________________
> >>> cups-dev mailing list
> >>> cups-dev at easysw.com
> >>> http://lists.easysw.com/mailman/listinfo/cups-dev
> >>=20
> >> =
> ________________________________________________________________________
> >> Michael Sweet, Senior Printing System Engineer, PWG Chair
> >>=20
> >>=20
> >>=20
> >>=20
> >=20
> > _______________________________________________
> > cups-dev mailing list
> > cups-dev at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-dev
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
>
>





More information about the cups-devel mailing list