After switching the connection of the printer in the printer properties,
from USB type to using the printer DNNS, my Canon printer is able to
print again.  In the make and mode, it shows Canon MG5300 series -
CUPS+Gutenprint v5.2.11. It is puzzling how cups is not able to detect
my printer.

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

Title:
  Canon printer failed to connect with CUPS

Status in cups package in Ubuntu:
  Incomplete

Bug description:
  My canon printer has been working with Ubuntu 16.04 for quite
  sometime. Presently, for no reason, it now cannot be recognised. I
  have checked that the USB connections are working fine. When I unplug
  and replug the printer usb connection to my computer the syslog
  reflects it's present. However, it shows that it failed to connect
  with CUPS. udev-configure-printer[5761]: failed to connect to CUPS
  server; giving up I have provide the results to my printer checks
  below.

  Appreciate help to reestablish the proper connection of my printer and
  get it working with  Ubuntu 16.04.

  
  tail -f /var/log/syslog
  Feb  2 22:36:38 Eliot kernel: [95807.581378] usb 1-14: New USB device found, 
idVendor=04a9, idProduct=1754
  Feb  2 22:36:38 Eliot kernel: [95807.581387] usb 1-14: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
  Feb  2 22:36:38 Eliot kernel: [95807.581391] usb 1-14: Product: MG5300 series
  Feb  2 22:36:38 Eliot kernel: [95807.581395] usb 1-14: Manufacturer: Canon
  Feb  2 22:36:38 Eliot kernel: [95807.581399] usb 1-14: SerialNumber: 20EE62
  Feb  2 22:36:38 Eliot kernel: [95807.591385] usblp 1-14:1.1: usblp0: USB 
Bidirectional printer dev 42 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1754
  Feb  2 22:36:38 Eliot kernel: [95807.591527] usb-storage 1-14:1.2: USB Mass 
Storage device detected
  Feb  2 22:36:38 Eliot kernel: [95807.593328] scsi host13: usb-storage 1-14:1.2
  Feb  2 22:36:38 Eliot systemd[1]: Starting Automatic USB/Bluetooth printer 
setup (-devices-pci0000:00-0000:00:14.0-usb1-1\x2d14)...
  Feb  2 22:36:38 Eliot udev-configure-printer[5761]: add 
/devices/pci0000:00/0000:00:14.0/usb1/1-14
  Feb  2 22:36:38 Eliot udev-configure-printer[5761]: device devpath is 
/devices/pci0000:00/0000:00:14.0/usb1/1-14
  Feb  2 22:36:38 Eliot udev-configure-printer[5761]: MFG:Canon MDL:MG5300 
series SERN:- serial:20EE62
  Feb  2 22:36:39 Eliot kernel: [95808.591918] scsi 13:0:0:0: Direct-Access     
Canon    MG5300 series    0103 PQ: 0 ANSI: 2
  Feb  2 22:36:39 Eliot kernel: [95808.592839] sd 13:0:0:0: Attached scsi 
generic sg6 type 0
  Feb  2 22:36:39 Eliot kernel: [95808.597229] sd 13:0:0:0: [sdf] Attached SCSI 
removable disk
  Feb  2 22:36:43 Eliot udev-configure-printer[5761]: failed to connect to CUPS 
server; giving up
  Feb  2 22:36:43 Eliot systemd[1]: 
udev-configure-printer@-devices-pci0000:00-0000:00:14.0-usb1-1\x2d14.service: 
Control process exited, code=exited status=1
  Feb  2 22:36:43 Eliot systemd[1]: Failed to start Automatic USB/Bluetooth 
printer setup (-devices-pci0000:00-0000:00:14.0-usb1-1\x2d14).
  Feb  2 22:36:43 Eliot systemd[1]: 
udev-configure-printer@-devices-pci0000:00-0000:00:14.0-usb1-1\x2d14.service: 
Unit entered failed state.
  Feb  2 22:36:43 Eliot systemd[1]: 
udev-configure-printer@-devices-pci0000:00-0000:00:14.0-usb1-1\x2d14.service: 
Failed with result 'exit-code'.

  @Eliot:~$ lsusb
  Bus 001 Device 043: ID 04a9:1754 Canon, Inc. 

  @Eliot:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
  crw-rw-r--+ 1 root lp   189,  42 Feb  2 22:40 /dev/bus/usb/001/043
  crw-rw----  1 root lp   180,   0 Feb  2 22:39 /dev/usb/lp0

  @Eliot:~$ sudo usb_printerid /dev/usb/lp0 
  GET_DEVICE_ID string:
  
MFG:Canon;CMD:BJL,BJRaster3,BSCCe,NCCe,IVEC,IVECPLI;SOJ:BJNP2,BJNPe;MDL:MG5300 
series;CLS:PRINTER;DES:Canon MG5300 
series;VER:1.030;STA:10;FSI:03;HRI:7;MSI:B030,DAT,E3,HFSF,JON,K21000700;PDR:6;PSE:ACFJ03117;

  @Eliot:~$ sudo usb_printerid /dev/bus/usb/001/043
  Error: Inappropriate ioctl for device: GET_DEVICE_ID on '/dev/bus/usb/001/043'

  @Eliot:~$ lpinfo -v
  lpinfo: Bad file descriptor

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: cups (not installed)
  ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
  Uname: Linux 4.4.0-59-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Feb  2 23:17:01 2017
  InstallationDate: Installed on 2016-05-01 (277 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1661287/+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