[cups.general] cannot find usb printer, though backend does

Michael R Sweet msweet at apple.com
Fri Apr 25 15:33:24 PDT 2008


Karl H. Beckers wrote:
> Hi all,
> this may be an odd config, but I've installed cups through optware on my DNS323 NAS device to print to a locally attached usb printer.
> 
> Now, neither the GUI, nor lpinfo -v, nor /opt/lib/cups/daemon/cups-deviced 1 0 65534 requested-attributes=all show anything about usb. As a matter of fact, lpinfo -v displays nothing at all! cups-deviced displays the same devices which end up in the error_log when trying through the GUI:
> 
> D [25/Apr/2008:16:35:39 +0100] [CGI] /opt/lib/cups/daemon/cups-deviced started - PID = 4606
> I [25/Apr/2008:16:35:39 +0100] Started "/opt/lib/cups/daemon/cups-deviced" (pid=4606)
> D [25/Apr/2008:16:35:39 +0100] cupsdSendCommand: 5 file=6
> D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "socket"...
> D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "scsi"...
> D [25/Apr/2008:16:35:39 +0100] [CGI] No address specified and no Address line in /opt/etc/cups/snmp.conf...
> D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "lpd"...
> D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "http"...
> D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "ipp"...
> D [25/Apr/2008:16:35:39 +0100] PID 4606 (/opt/lib/cups/daemon/cups-deviced) exited with no errors.
> D [25/Apr/2008:16:35:39 +0100] cupsdCloseClient: 5
> 
> However, the backend seems to detect the printer alright:
> ~# /opt/lib/cups/backend/usb
> direct usb://Samsung/ML-2010 "Samsung ML-2010" "Samsung ML-2010 USB #1" "MFG:Samsung;CMD:GDI;MDL:ML-2010;CLS:PRINTER;STATUS:BUSY;"
> 
> Am I missing smth.? I have heard about splix or the like being required for this printer, but shouldn't I at least be seeing the printer on the usb port, even if I can't correctly print before installing another driver? Shouldn't lpinfo say smth.? Any ideas where to look next?

I'd guess you are running into a permissions problem.  The usb backend
does not run as root...

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list