You are not logged in.

#1 2020-02-08 16:33:11

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Issues with Epson XP-211 printer

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

#2 2020-02-08 17:11:00

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Issues with Epson XP-211 printer

What is the recommended driver you installed?  What is the contents cups error log LogLevel debug when printer detection fails?

Offline

#3 2020-02-08 22:19:46

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Re: Issues with Epson XP-211 printer

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

#4 2020-02-09 18:35:18

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Issues with Epson XP-211 printer

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

#5 2020-02-09 23:28:31

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Re: Issues with Epson XP-211 printer

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 hub

Offline

#6 2020-02-10 01:23:46

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Issues with Epson XP-211 printer

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

#7 2020-02-10 16:28:01

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Re: Issues with Epson XP-211 printer

I am sorry but i'm not following your last instructions, ¿could you please tell me more precisely what to do?

Offline

#8 2020-02-10 16:31:39

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Issues with Epson XP-211 printer

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

#9 2020-02-11 09:23:43

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Re: Issues with Epson XP-211 printer

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

#10 2020-02-11 12:37:08

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Issues with Epson XP-211 printer

Using busid and deviceid of the printer from lsusb what is the output of the following:

stat /dev/bus/usb/$busid/$deviceid

Offline

#11 2020-02-12 00:38:28

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Re: Issues with Epson XP-211 printer

Well, i'm sorry but i don't know how to do that!

Offline

#12 2020-02-12 00:42:14

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Issues with Epson XP-211 printer

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/010

Offline

#13 2020-02-16 00:28:36

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Re: Issues with Epson XP-211 printer

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

#14 2020-02-18 20:02:22

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Issues with Epson XP-211 printer

The device is owned by group lp.  I am out of ideas.

Offline

#15 2020-02-19 13:19:48

blackbirdsr71
Member
Registered: 2020-02-08
Posts: 9

Re: Issues with Epson XP-211 printer

Ok don't worry. This problem drives me crazy since it began. It is really frustrating. Thanks a lot for your help!!!

Offline

#16 2020-02-19 13:51:14

judd1
Member
Registered: 2015-09-04
Posts: 260

Re: Issues with Epson XP-211 printer

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-printer

Enable cups  ?

sudo systemctl enableorg.cups.cupsd.socket
sudo systemctl start org.cups.cupsd.socket

Last edited by judd1 (2020-02-19 14:11:02)


This isn't right. This isn't even wrong.
-- Wolfgang Pauli --

Offline

Board footer

Powered by FluxBB