Page MenuHomeSolus

USB printer not found (Epson XP-625)
Open, HighPublic

Description

Hi all,

after reinstalling my Solus system in December, CUPS is not able to find my printer anymore. I tried to install the printer using the system settings (GNOME) and also using the CUPS web interface (http://localhost:631 -> "Find New Printers") but the printer does not show up at all. My impression is, that the problem might be related to installing USB printers in general, so I'm sorry, if this bug report is a duplicate.

  • The printer is an Epson XP-625 connected via USB.
  • The package epson-inkjet-printer-escpr is installed.
  • The printer is not shown in CUPS at all
  • The printer used to work perfectly before the reinstalling Solus.

The output of dmesg is:

[ 6961.431201] usb 1-2: new high-speed USB device number 5 using xhci_hcd
[ 6961.598601] usb 1-2: New USB device found, idVendor=04b8, idProduct=08c8
[ 6961.598609] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6961.598613] usb 1-2: Product: EPSON XP-620 Series
[ 6961.598617] usb 1-2: Manufacturer: EPSON
[ 6961.598621] usb 1-2: SerialNumber: *****************
[ 6961.628371] usblp 1-2:1.1: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08C8
[ 6961.632135] usb-storage 1-2:1.2: USB Mass Storage device detected
[ 6961.632708] scsi host2: usb-storage 1-2:1.2
[ 6962.650544] scsi 2:0:0:0: Direct-Access     EPSON    Storage          1.00 PQ: 0 ANSI: 2
[ 6962.663463] scsi 2:0:0:1: Direct-Access     EPSON    Storage          1.00 PQ: 0 ANSI: 2
[ 6962.979779] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 6963.000808] sd 2:0:0:1: [sdc] Attached SCSI removable disk

Please ask if you have any questions.

Thank you,
Nils

Related Objects

nils created this task.Jan 14 2018, 1:02 PM

Hi again,

it seems that the device permissions are wrong:

# lsusb -d 04b8:08c8
Bus 001 Device 006: ID 04b8:08c8 Seiko Epson Corp.
# ls -l /dev/bus/usb/001/006
crw-rw-r--+ 1 root scanner 189, 5 Mar 24 20:16 /dev/bus/usb/001/006
# lpinfo -v | grep direct
direct hp

The group "scanner" allows the scanner unit of this multi-function printer to be used but prevents printing. Note that the lpinfo command does not show my Epson printer.
If I change the group to "lp", I get:

# chgrp lp /dev/bus/usb/001/006
# lpinfo -v | grep direct
direct hp
direct usb://EPSON/XP-620%20Series?serial=******************&interface=1

Note that the Epson printer now appears in the output of lpinfo. The printer works fine.

Conclusion

  • Multi-functional printers may be added to the group "scanner" and not "lp". This makes printing impossible, because cups does not have the permission to access the printer.
  • In principle the group of the device file /dev/bus/usb/$BUS/$DEV should be "scanner" and "lp". I do not know how to handle this in a clean way.
  • Correct device permissions would solve this bug.
sunnyflunk triaged this task as High priority.Apr 12 2018, 9:06 AM
sunnyflunk added a subscriber: sunnyflunk.

This is also impacting on getting the Brother MFC/DCP's working.

Without brscan4 installed, printing works great, adding brscan4 with udev rules which make the printer/scanner owned by the scanner group, means printing stops working, but enables scanning.

watpi added a subscriber: watpi.EditedMay 26 2018, 6:37 PM

Same thing with Epson Stylus SX218. Uninstalled sane-backends package as a temporary solution (I never scan anyway). Now the printer gets detected and prints OK.