Canon printer failed to connect with CUPS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
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-
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-
Feb 2 22:36:38 Eliot udev-configure-
Feb 2 22:36:38 Eliot udev-configure-
Feb 2 22:36:38 Eliot udev-configure-
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-
Feb 2 22:36:43 Eliot systemd[1]: udev-configure-
Feb 2 22:36:43 Eliot systemd[1]: Failed to start Automatic USB/Bluetooth printer setup (-devices-
Feb 2 22:36:43 Eliot systemd[1]: udev-configure-
Feb 2 22:36:43 Eliot systemd[1]: udev-configure-
@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/
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;
@Eliot:~$ sudo usb_printerid /dev/bus/
Error: Inappropriate ioctl for device: GET_DEVICE_ID on '/dev/bus/
@Eliot:~$ lpinfo -v
lpinfo: Bad file descriptor
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cups (not installed)
ProcVersionSign
Uname: Linux 4.4.0-59-generic x86_64
NonfreeKernelMo
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)
Changed in cups (Ubuntu): | |
status: | Incomplete → Invalid |
Your syslog contains:
Feb 2 22:36:43 Eliot udev-configure- printer[ 5761]: failed to connect to CUPS server; giving up
and you also get
@Eliot:~$ lpinfo -v
lpinfo: Bad file descriptor
Seems that there is a problem with the CUPS daemon not starting.
Please run the command
ls -l /var/run/ cups/cups. sock
and post the output here.
Also attach your files /etc/cups/ cupsd.conf and /etc/cups/ cups-files. conf.
Go to
https:/ /wiki.ubuntu. com/DebuggingPr intingProblems
and follow the instructions of the "CUPS error_log" section.
Please attach the files one by one, do not compress them and do not package them together, thanks.