[Touch-packages] [Bug 1891987] Re: epson stylus photo rx560 is detected, added, but when printing, task is ending up immediatelly with success

2020-12-18 Thread Launchpad Bug Tracker
[Expired for cups (Ubuntu) because there has been no activity for 60
days.]

** Changed in: cups (Ubuntu)
   Status: Incomplete => Expired

-- 
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:
  Expired

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_storage77824  1 uas
  usblp  24576  0
  btusb  57344  0
  btrtl  24576  1 btusb
  btbcm  16384  1 btusb
  btintel24576  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/pci:00/: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   
  EPSONStylus 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 root189,   0 août  18 08:53 /dev/bus/usb/001/001
  crw-rw-r--  1 root root189,   1 août  18 08:53 /dev/bus/usb/001/002
  crw-rw-r--  1 root root189,   2 août  18 08:53 /dev/bus/usb/001/003
  crw-rw-r--  1 root root189,   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 root189,   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 root189, 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.A

[Touch-packages] [Bug 1891987] Re: epson stylus photo rx560 is detected, added, but when printing, task is ending up immediatelly with success

2020-10-19 Thread Till Kamppeter
I think best is that you go through all applicable parts of

https://wiki.ubuntu.com/DebuggingPrintingProblems

Especially I need

- How is your printer connected (USB, network)
- All info about the healthiness of the connection (see the USB and network 
connection sections)
- The PPD file(s) of your print queues (in /etc/cups/ppd/)
- Thew CUPS error_log (in debug mode) from an execution of a print job
- Input files you tried to print without success

The output of the command

driverless

(to see whether there are alternative approaches to use the printer)

Please attach all logs, files, ... one by one, do not compress them and
do not package them together (so one can navigate through everything of
the bug report inside the browser).

** Changed in: cups (Ubuntu)
   Status: New => Incomplete

-- 
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:
  Incomplete

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_storage77824  1 uas
  usblp  24576  0
  btusb  57344  0
  btrtl  24576  1 btusb
  btbcm  16384  1 btusb
  btintel24576  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/pci:00/: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   
  EPSONStylus 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 root189,   0 août  18 08:53 /dev/bus/usb/001/001
  crw-rw-r--  1 root root189,   1 août  18 08:53 /dev/bus/usb/001/002
  crw-rw-r--  1 root root189,   2 août  18 08:53 /dev/bus/usb/001/003
  crw-rw-r--  1 root root189,   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 root189,   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 root189, 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%20RX56