You are not logged in.
Pages: 1
Hi all!!
After searching a lot in different forums i can't solve the following problem. Since a few months ago my system detects the printer connected via USB but i can't add the XP-211 printer using CUPS. I installed the drivers recommended for this printer. It doesn't show up in the list of local printers. Everything works fine with other printers except for the mentioned one. I tried reinstalling CUPS and using the default configuration because i thought maybe i broke something but everything i tried out fails. Can anybody help with my issue. Thanks!!!
Offline
What is the recommended driver you installed? What is the contents cups error log LogLevel debug when printer detection fails?
Offline
Thank you for answering!
The recommended driver is "epson-201304w"
The error log for my last attempt is the following:
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [Client 407] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [08/Feb/2020:19:13:45 -0300] [Client 407] Closing connection.
D [08/Feb/2020:19:13:45 -0300] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] PID 228128 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [Client 403] CGI data ready to be sent.
D [08/Feb/2020:19:13:45 -0300] [Client 403] con->http=0x55f58f21ae00
D [08/Feb/2020:19:13:45 -0300] [Client 403] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=228128, file=15
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for CGI data.
D [08/Feb/2020:19:13:45 -0300] [Client 403] Sending 0-length chunk.
D [08/Feb/2020:19:13:45 -0300] [Client 403] Flushing write buffer.
D [08/Feb/2020:19:13:45 -0300] [Client 403] New state is HTTP_STATE_WAITING
D [08/Feb/2020:19:13:45 -0300] [Client 403] Waiting for request.
D [08/Feb/2020:19:13:45 -0300] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:45 -0300] [CGI] Regular expression \"[a-z]+://\"
D [08/Feb/2020:19:13:55 -0300] [Client 403] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [08/Feb/2020:19:13:55 -0300] [Client 403] Closing connection.
D [08/Feb/2020:19:13:55 -0300] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
Offline
Not seeing anything related to detecting a printer in the log. Is the printer detected by lsusb?
Also please use code tags for commands, their outputs and log contents.
Offline
Yes, it is detected by lsusb indeed and that is why i don't understand the reason CUPS does not list it in local printers. The output of lsusb is
lBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0bda:0821 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 009: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 5986:06b1 Acer, Inc EasyCamera
Bus 001 Device 008: ID 0738:1302 Mad Catz, Inc. EasyCamera
Bus 001 Device 010: ID 04b8:08ae Seiko Epson Corp.
Bus 001 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubOffline
Is there no output in cups debug log such as
DEBUG: libusb_get_device_list=or
ERROR: Unable to initialize USB access via libusb, libusb error As one of those should be printed when cups performs USB device detection https://github.com/apple/cups/blob/v2.3 … usb.c#L791
Offline
I am sorry but i'm not following your last instructions, ¿could you please tell me more precisely what to do?
Offline
Search through /var/log/cups/error_log looking for the strings 'ibusb_get_device_list=' or 'Unable to initialize USB access via libusb, libusb error' one of them should be printed as a result of USB device detection.
That is the section you want to post not the last 100 lines.
Last edited by loqs (2020-02-10 16:32:11)
Offline
Hi, this is the output in my last attempt to add the usb printer:
26883 D [11/Feb/2020:06:13:00 -0300] [ -T ] # Print self-test card
26884 D [11/Feb/2020:06:13:00 -0300] [ -R ] # Reset printer
26885 D [11/Feb/2020:06:13:00 -0300] [CGI] libusb_get_device_list=9
26886 D [11/Feb/2020:06:13:00 -0300] [CGI] Failed to open device, code: -3
26887 D [11/Feb/2020:06:13:00 -0300] [cups-deviced] PID 809918 (gutenprint53+usb) exited with no errors.
26888 D [11/Feb/2020:06:13:00 -0300] [Client 291] CGI data ready to be sent.
26889 D [11/Feb/2020:06:13:00 -0300] [CGI] Flushed attributes...
26890 D [11/Feb/2020:06:13:00 -0300] [cups-deviced] Found device \"cups-brf:/\"...
26891 D [11/Feb/2020:06:13:00 -0300] [Client 291] con->http=0x55e7f4cb50f0
26892 D [11/Feb/2020:06:13:00 -0300] [Client 291] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POS T_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=809914, file=16
26893 D [11/Feb/2020:06:13:00 -0300] [Client 291] Waiting for CGI data.
26894 D [11/Feb/2020:06:13:00 -0300] [Client 291] con->http=0x55e7f4cb50f0
26895 D [11/Feb/2020:06:13:00 -0300] [Client 291] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POS T_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=809914, file=16
26896 D [11/Feb/2020:06:13:00 -0300] [Client 291] Waiting for CGI data.
26897 D [11/Feb/2020:06:13:00 -0300] [cups-deviced] PID 809921 (cups-brf) exited with no errors.
26898 D [11/Feb/2020:06:13:00 -0300] [CGI] cgiSetArray: device_class[1]=\"file\"
26899 D [11/Feb/2020:06:13:00 -0300] [CGI] cgiSetArray: device_id[1]=\"MFG:Generic;MDL:CUPS-PDF Printer; DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT;\"
26900 D [11/Feb/2020:06:13:00 -0300] [CGI] cgiSetArray: device_info[1]=\"CUPS-PDF\"
26901 D [11/Feb/2020:06:13:00 -0300] [CGI] cgiSetArray: device_make_and_model[1]=\"Virtual PDF Printer\"
Offline
Using busid and deviceid of the printer from lsusb what is the output of the following:
stat /dev/bus/usb/$busid/$deviceidOffline
Well, i'm sorry but i don't know how to do that!
Offline
If the lsusb output has not changed the entry for the printer will be
Bus 001 Device 010: ID 04b8:08ae Seiko Epson Corp. so $busid would be 001 and $deviceid would be 010. Substituting into stat /dev/bus/usb/$busid/$deviceid gives
stat /dev/bus/usb/001/010Offline
Hi, sorry for the delay. Here is the output
Bus 001 Device 008: ID 04b8:08ae Seiko Epson Corp. and
stat /dev/bus/usb/001/008 Fichero: /dev/bus/usb/001/008
Tamaño: 0 Bloques: 0 Bloque E/S: 4096 fichero especial de caracteres
Dispositivo: 6h/6d Nodo-i: 1871096 Enlaces: 1 Tipo de dispositivo: bd,7
Acceso: (0664/crw-rw-r--) Uid: ( 0/ root) Gid: ( 991/ lp)
Acceso: 2020-02-15 17:23:21.623402461 -0300
Modificación: 2020-02-15 17:23:21.623402461 -0300
Cambio: 2020-02-15 17:23:21.623402461 -0300
Creación: - Offline
The device is owned by group lp. I am out of ideas.
Offline
Ok don't worry. This problem drives me crazy since it began. It is really frustrating. Thanks a lot for your help!!!
Offline
I wonder if you have any packages to install ?
cups cups-filters cups-pdf ghostscript gsfonts foomatic-db-engine foomatic-db foomatic-db-ppds foomatic-db-nonfree foomatic-db-nonfree-ppds gutenprint foomatic-db-gutenprint-ppds system-config-printerEnable cups ?
sudo systemctl enableorg.cups.cupsd.socket
sudo systemctl start org.cups.cupsd.socketLast edited by judd1 (2020-02-19 14:11:02)
This isn't right. This isn't even wrong.
-- Wolfgang Pauli --
Offline
Pages: 1