Public bug reported:

Tried with both manufacturer and gutenprint driver:

1. plug an epson stylus photo rx560 via usb
2. add the driver (manufacturer first, retried with gutenprint) autodetected 
our gtk ubuntu specific application.
3. Tried to print with multiple apps: the task is queued and then immediately 
terminated with success. Nothing is printed.


$ lsmod | grep usb
usb_storage            77824  1 uas
usblp                  24576  0
btusb                  57344  0
btrtl                  24576  1 btusb
btbcm                  16384  1 btusb
btintel                24576  1 btusb
bluetooth             581632  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
usbhid                 57344  0
hid                   131072  2 usbhid,hid_generic

Logs when adding the printer:
$ tail -f /var/log/syslog 
Aug 18 09:36:00 casanier kernel: [ 2570.342143] usb 1-1: new high-speed USB 
device number 10 using xhci_hcd
Aug 18 09:36:00 casanier kernel: [ 2570.501144] usb 1-1: New USB device found, 
idVendor=04b8, idProduct=0827, bcdDevice= 1.00
Aug 18 09:36:00 casanier kernel: [ 2570.501150] usb 1-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Aug 18 09:36:00 casanier kernel: [ 2570.501154] usb 1-1: Product: USB2.0 
MFP(Hi-Speed)
Aug 18 09:36:00 casanier kernel: [ 2570.501157] usb 1-1: Manufacturer: EPSON
Aug 18 09:36:00 casanier kernel: [ 2570.501159] usb 1-1: SerialNumber: 
LH1010609180813040
Aug 18 09:36:00 casanier kernel: [ 2570.514421] usblp 1-1:1.1: usblp0: USB 
Bidirectional printer dev 10 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0827
Aug 18 09:36:00 casanier kernel: [ 2570.516384] usb-storage 1-1:1.2: USB Mass 
Storage device detected
Aug 18 09:36:00 casanier kernel: [ 2570.516676] scsi host5: usb-storage 1-1:1.2
Aug 18 09:36:00 casanier systemd[1]: Started Configure Plugged-In Printer.
Aug 18 09:36:00 casanier udev-configure-printer: add usb-001-010
Aug 18 09:36:00 casanier udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:14.0/usb1/1-1
Aug 18 09:36:00 casanier udev-configure-printer: Device already handled
Aug 18 09:36:00 casanier systemd[1]: configure-printer@usb-001-010.service: 
Main process exited, code=exited, status=1/FAILURE
Aug 18 09:36:00 casanier systemd[1]: configure-printer@usb-001-010.service: 
Failed with result 'exit-code'.
Aug 18 09:36:01 casanier kernel: [ 2571.538832] scsi 5:0:0:0: Direct-Access     
EPSON    Stylus Storage   1.00 PQ: 0 ANSI: 2
Aug 18 09:36:01 casanier kernel: [ 2571.539702] sd 5:0:0:0: Attached scsi 
generic sg0 type 0
Aug 18 09:36:01 casanier kernel: [ 2571.545241] sd 5:0:0:0: Power-on or device 
reset occurred
Aug 18 09:36:01 casanier kernel: [ 2571.601212] sd 5:0:0:0: [sda] Attached SCSI 
removable disk
^C
$ ls -l /dev/usb/lp0 
crw-rw---- 1 root lp 180, 0 août  18 09:36 /dev/usb/lp0
$ ls -l /dev/bus/usb/*/*
crw-rw-r--  1 root root    189,   0 août  18 08:53 /dev/bus/usb/001/001
crw-rw-r--  1 root root    189,   1 août  18 08:53 /dev/bus/usb/001/002
crw-rw-r--  1 root root    189,   2 août  18 08:53 /dev/bus/usb/001/003
crw-rw-r--  1 root root    189,   3 août  18 08:53 /dev/bus/usb/001/004
crw-rw----  1 root plugdev 189,   4 août  18 08:53 /dev/bus/usb/001/005
crw-rw-r--  1 root root    189,   5 août  18 08:53 /dev/bus/usb/001/006
crw-rw-r--+ 1 root lp      189,   9 août  18 09:36 /dev/bus/usb/001/010
crw-rw-r--  1 root root    189, 128 août  18 08:53 /dev/bus/usb/002/001
$ sudo usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR1;MDL:Stylus Photo 
RX560;CLS:PRINTER;DES:EPSON Stylus Photo RX560;
$ lpinfo -v
file cups-brf:/
network socket
network lpd
network http
network beh
network https
network ipp
direct hp
network ipps
direct usb://EPSON/Stylus%20Photo%20RX560?serial=LH1010609180813040&interface=1
direct hpfax

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon 
znvpair
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog:
 W [18/Aug/2020:09:01:38 +0200] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id 
\'Stylus-Photo-RX560-Gray..\' already exists
 W [18/Aug/2020:09:01:38 +0200] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id 
\'Stylus-Photo-RX560-RGB..\' already exists
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 18 09:37:40 2020
InstallationDate: Installed on 2020-04-24 (115 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Lpstat: device for EPSON-Stylus-Photo-RX560: 
usb://EPSON/Stylus%20Photo%20RX560?serial=LH1010609180813040&interface=1
MachineType: Entroware Kratos
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName', 
'/etc/cups/ppd/EPSON-Stylus-Photo-RX560.ppd'] failed with exit code 2: grep: 
/etc/cups/ppd/EPSON-Stylus-Photo-RX560.ppd: Permission denied
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_e2wti1@/vmlinuz-5.4.0-42-generic 
root=ZFS=rpool/ROOT/ubuntu_e2wti1 ro quiet splash vt.handoff=1
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/13/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.05.02E
dmi.board.asset.tag: Tag 12345
dmi.board.name: Kratos
dmi.board.vendor: Entroware
dmi.board.version: EL04R4
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1.05.02E:bd04/13/2018:svnEntroware:pnKratos:pvrEL04R4:rvnEntroware:rnKratos:rvrEL04R4:cvnNoEnclosure:ct10:cvrN/A:
dmi.product.family: Not Applicable
dmi.product.name: Kratos
dmi.product.sku: Not Applicable
dmi.product.version: EL04R4
dmi.sys.vendor: Entroware

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1891987

Title:
  epson stylus photo rx560 is detected, added, but when printing, task
  is ending up immediatelly with success

Status in cups package in Ubuntu:
  New

Bug description:
  Tried with both manufacturer and gutenprint driver:

  1. plug an epson stylus photo rx560 via usb
  2. add the driver (manufacturer first, retried with gutenprint) autodetected 
our gtk ubuntu specific application.
  3. Tried to print with multiple apps: the task is queued and then immediately 
terminated with success. Nothing is printed.

  
  $ lsmod | grep usb
  usb_storage            77824  1 uas
  usblp                  24576  0
  btusb                  57344  0
  btrtl                  24576  1 btusb
  btbcm                  16384  1 btusb
  btintel                24576  1 btusb
  bluetooth             581632  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
  usbhid                 57344  0
  hid                   131072  2 usbhid,hid_generic

  Logs when adding the printer:
  $ tail -f /var/log/syslog 
  Aug 18 09:36:00 casanier kernel: [ 2570.342143] usb 1-1: new high-speed USB 
device number 10 using xhci_hcd
  Aug 18 09:36:00 casanier kernel: [ 2570.501144] usb 1-1: New USB device 
found, idVendor=04b8, idProduct=0827, bcdDevice= 1.00
  Aug 18 09:36:00 casanier kernel: [ 2570.501150] usb 1-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
  Aug 18 09:36:00 casanier kernel: [ 2570.501154] usb 1-1: Product: USB2.0 
MFP(Hi-Speed)
  Aug 18 09:36:00 casanier kernel: [ 2570.501157] usb 1-1: Manufacturer: EPSON
  Aug 18 09:36:00 casanier kernel: [ 2570.501159] usb 1-1: SerialNumber: 
LH1010609180813040
  Aug 18 09:36:00 casanier kernel: [ 2570.514421] usblp 1-1:1.1: usblp0: USB 
Bidirectional printer dev 10 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0827
  Aug 18 09:36:00 casanier kernel: [ 2570.516384] usb-storage 1-1:1.2: USB Mass 
Storage device detected
  Aug 18 09:36:00 casanier kernel: [ 2570.516676] scsi host5: usb-storage 
1-1:1.2
  Aug 18 09:36:00 casanier systemd[1]: Started Configure Plugged-In Printer.
  Aug 18 09:36:00 casanier udev-configure-printer: add usb-001-010
  Aug 18 09:36:00 casanier udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:14.0/usb1/1-1
  Aug 18 09:36:00 casanier udev-configure-printer: Device already handled
  Aug 18 09:36:00 casanier systemd[1]: configure-printer@usb-001-010.service: 
Main process exited, code=exited, status=1/FAILURE
  Aug 18 09:36:00 casanier systemd[1]: configure-printer@usb-001-010.service: 
Failed with result 'exit-code'.
  Aug 18 09:36:01 casanier kernel: [ 2571.538832] scsi 5:0:0:0: Direct-Access   
  EPSON    Stylus Storage   1.00 PQ: 0 ANSI: 2
  Aug 18 09:36:01 casanier kernel: [ 2571.539702] sd 5:0:0:0: Attached scsi 
generic sg0 type 0
  Aug 18 09:36:01 casanier kernel: [ 2571.545241] sd 5:0:0:0: Power-on or 
device reset occurred
  Aug 18 09:36:01 casanier kernel: [ 2571.601212] sd 5:0:0:0: [sda] Attached 
SCSI removable disk
  ^C
  $ ls -l /dev/usb/lp0 
  crw-rw---- 1 root lp 180, 0 août  18 09:36 /dev/usb/lp0
  $ ls -l /dev/bus/usb/*/*
  crw-rw-r--  1 root root    189,   0 août  18 08:53 /dev/bus/usb/001/001
  crw-rw-r--  1 root root    189,   1 août  18 08:53 /dev/bus/usb/001/002
  crw-rw-r--  1 root root    189,   2 août  18 08:53 /dev/bus/usb/001/003
  crw-rw-r--  1 root root    189,   3 août  18 08:53 /dev/bus/usb/001/004
  crw-rw----  1 root plugdev 189,   4 août  18 08:53 /dev/bus/usb/001/005
  crw-rw-r--  1 root root    189,   5 août  18 08:53 /dev/bus/usb/001/006
  crw-rw-r--+ 1 root lp      189,   9 août  18 09:36 /dev/bus/usb/001/010
  crw-rw-r--  1 root root    189, 128 août  18 08:53 /dev/bus/usb/002/001
  $ sudo usb_printerid /dev/usb/lp0
  GET_DEVICE_ID string:
  MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR1;MDL:Stylus Photo 
RX560;CLS:PRINTER;DES:EPSON Stylus Photo RX560;
  $ lpinfo -v
  file cups-brf:/
  network socket
  network lpd
  network http
  network beh
  network https
  network ipp
  direct hp
  network ipps
  direct 
usb://EPSON/Stylus%20Photo%20RX560?serial=LH1010609180813040&interface=1
  direct hpfax

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: cups 2.3.1-9ubuntu1.1
  ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
  Uname: Linux 5.4.0-42-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon 
znvpair
  ApportVersion: 2.20.11-0ubuntu27.4
  Architecture: amd64
  CasperMD5CheckResult: skip
  CupsErrorLog:
   W [18/Aug/2020:09:01:38 +0200] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id 
\'Stylus-Photo-RX560-Gray..\' already exists
   W [18/Aug/2020:09:01:38 +0200] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id 
\'Stylus-Photo-RX560-RGB..\' already exists
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 18 09:37:40 2020
  InstallationDate: Installed on 2020-04-24 (115 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  Lpstat: device for EPSON-Stylus-Photo-RX560: 
usb://EPSON/Stylus%20Photo%20RX560?serial=LH1010609180813040&interface=1
  MachineType: Entroware Kratos
  Papersize: a4
  PpdFiles: Error: command ['fgrep', '-H', '*NickName', 
'/etc/cups/ppd/EPSON-Stylus-Photo-RX560.ppd'] failed with exit code 2: grep: 
/etc/cups/ppd/EPSON-Stylus-Photo-RX560.ppd: Permission denied
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_e2wti1@/vmlinuz-5.4.0-42-generic 
root=ZFS=rpool/ROOT/ubuntu_e2wti1 ro quiet splash vt.handoff=1
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/13/2018
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1.05.02E
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: Kratos
  dmi.board.vendor: Entroware
  dmi.board.version: EL04R4
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: No Enclosure
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1.05.02E:bd04/13/2018:svnEntroware:pnKratos:pvrEL04R4:rvnEntroware:rnKratos:rvrEL04R4:cvnNoEnclosure:ct10:cvrN/A:
  dmi.product.family: Not Applicable
  dmi.product.name: Kratos
  dmi.product.sku: Not Applicable
  dmi.product.version: EL04R4
  dmi.sys.vendor: Entroware

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1891987/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to