[cups] Cups failure?/

Nicolas Schmidt schmidtn at math.hu-berlin.de
Fri Oct 16 08:51:32 PDT 2015


I also had some trouble with getting a usb printer to work with cups. In the end it turned out that this was due to some interference between a USB printer kernel driver (ulpt) and the libusb library used by cups. The fix was to recompile the kernel without the driver, although there seems to be another workaround (see Johannes Meixner’s answer to my question on this list). To see whether your problem is due to the ulpt+libusb issue, check your dmesg to see if the kernel recognizes the printer and assigns it e.g. to /dev/ulpt0. Then do

echo „test“ > /dev/ulpt0’

If your printer doesn’t print, then something else is amiss. If it does however, try recompiling your kernel without ulpt and try again.

Best,
Nicolas A. Schmidt

> Am 15.10.2015 um 16:03 schrieb medusa <medusa569 at verizon.net>:
> 
> I have been having trouble for 3 weeks now trying to get a simply usb inkjet installed and have been unsuccessful. The same unit has worked before in this distro and other unix distros but for some reason now all seems to be going well but no printing.  A snip from the most recent attempt at printing is included and i need help deciphering it. It seems that for some reason the data cannot be sent to printer....why ?!  thanks in advance for any help.
> 
> D [15/Oct/2015:09:44:04 -0400] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=265, response=0x7f6e13873d70(IPP_IDLE), pipe_pid=0, file=-1
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
> D [15/Oct/2015:09:44:04 -0400] [Client 15] bytes=0, http_state=0, data_remaining=0
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] HTTP_STATE_WAITING Closing on EOF
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Closing connection.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Accepted from localhost (Domain)
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] POST /admin/ HTTP/1.1
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
> D [15/Oct/2015:09:44:04 -0400] [Client 15] No authentication data provided.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] 2.0 Resume-Printer 3
> D [15/Oct/2015:09:44:04 -0400] Resume-Printer ipp://localhost:631/printers/Canon_BJC-2100
> D [15/Oct/2015:09:44:04 -0400] cupsdIsAuthorized: username=""
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Returning HTTP Unauthorized for Resume-Printer (ipp://localhost:631/printers/Canon_BJC-2100) from localhost
> D [15/Oct/2015:09:44:04 -0400] [Client 15] WWW-Authenticate: Basic realm="CUPS", trc="y"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] HTTP_STATE_WAITING Closing on EOF
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Closing connection.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Accepted from localhost (Domain)
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 17] Accepted from localhost (Domain)
> D [15/Oct/2015:09:44:04 -0400] [Client 17] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] HTTP_STATE_WAITING Closing on EOF
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Closing connection.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Accepted from localhost (Domain)
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] [Client 17] HTTP_STATE_WAITING Closing on EOF
> D [15/Oct/2015:09:44:04 -0400] [Client 17] Closing connection.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] POST /admin/ HTTP/1.1
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Authorized as root using PeerCred
> D [15/Oct/2015:09:44:04 -0400] [Client 15] 2.0 Resume-Printer 3
> D [15/Oct/2015:09:44:04 -0400] Resume-Printer ipp://localhost:631/printers/Canon_BJC-2100
> D [15/Oct/2015:09:44:04 -0400] cupsdIsAuthorized: username="root"
> D [15/Oct/2015:09:44:04 -0400] cupsdMarkDirty(----S)
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
> D [15/Oct/2015:09:44:04 -0400] cupsdMarkDirty(P----)
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
> D [15/Oct/2015:09:44:04 -0400] cupsdRegisterPrinter(p=0x7f6e1384f220(Canon_BJC-2100))
> D [15/Oct/2015:09:44:04 -0400] cupsdMarkDirty(P----)
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
> I [15/Oct/2015:09:44:04 -0400] Printer "Canon_BJC-2100" started by "root".
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Returning IPP successful-ok for Resume-Printer (ipp://localhost:631/printers/Canon_BJC-2100) from localhost
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Content-Length: 75
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x7f6e13c93a10(IPP_IDLE), pipe_pid=0, file=-1
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
> D [15/Oct/2015:09:44:04 -0400] [Client 15] bytes=0, http_state=0, data_remaining=0
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] HTTP_STATE_WAITING Closing on EOF
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Closing connection.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Accepted from localhost (Domain)
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] POST / HTTP/1.1
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
> D [15/Oct/2015:09:44:04 -0400] [Client 15] No authentication data provided.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] 2.0 Get-Notifications 23
> D [15/Oct/2015:09:44:04 -0400] Get-Notifications /
> D [15/Oct/2015:09:44:04 -0400] cupsdIsAuthorized: requesting-user-name="thora"
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Returning IPP successful-ok for Get-Notifications (/) from localhost
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Content-Length: 1092
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1092, response=0x7f6e13cad870(IPP_IDLE), pipe_pid=0, file=-1
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
> D [15/Oct/2015:09:44:04 -0400] [Client 15] bytes=0, http_state=0, data_remaining=0
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Waiting for request.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:04 -0400] [Client 15] HTTP_STATE_WAITING Closing on EOF
> D [15/Oct/2015:09:44:04 -0400] [Client 15] Closing connection.
> D [15/Oct/2015:09:44:04 -0400] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
> D [15/Oct/2015:09:44:04 -0400] cupsd is not idle any more, canceling shutdown.
> D [15/Oct/2015:09:44:05 -0400] [Client 14] GET /admin/log/error_log HTTP/1.1
> D [15/Oct/2015:09:44:05 -0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
> D [15/Oct/2015:09:44:05 -0400] [Client 14] Authorized as root using Basic
> 
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups




More information about the cups mailing list