Public bug reported: Terminal log follows
neil@neil-Latitude-D630:~$ lsmod | grep usb usbhid 49152 0 hid 118784 2 hid_generic,usbhid neil@neil-Latitude-D630:~$ tail -f /var/log/syslog Feb 10 15:02:17 neil-Latitude-D630 avahi-daemon[960]: Registering new address record for fe80::221:5cff:fe6f:bbe5 on wlp12s0.*. Feb 10 15:03:08 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:03:16 neil-Latitude-D630 systemd-timesyncd[463]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com). Feb 10 15:03:16 neil-Latitude-D630 systemd[1581]: Time has been changed Feb 10 15:03:16 neil-Latitude-D630 systemd[1]: Time has been changed Feb 10 15:03:16 neil-Latitude-D630 systemd[1]: snapd.refresh.timer: Adding 5h 11min 5.412159s random time. Feb 10 15:03:16 neil-Latitude-D630 systemd[1]: apt-daily.timer: Adding 50min 41.219140s random time. Feb 10 15:13:09 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:17:01 neil-Latitude-D630 CRON[15040]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Feb 10 15:23:09 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.068213] usb 2-4: new high-speed USB device number 4 using ehci-pci Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202919] usb 2-4: New USB device found, idVendor=04a9, idProduct=10d3 Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202928] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202934] usb 2-4: Product: iP2700 series Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202938] usb 2-4: Manufacturer: Canon Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202943] usb 2-4: SerialNumber: 234517 Feb 10 15:33:09 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:41:10 neil-Latitude-D630 mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4" Feb 10 15:41:10 neil-Latitude-D630 mtp-probe: bus: 2, device: 4 was not an MTP device Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Created slice system-udev\x2dconfigure\x2dprinter.slice. Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Starting Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4)... Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Started CUPS Scheduler. Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Reached target Printer. Feb 10 15:41:11 neil-Latitude-D630 kernel: [17269.076606] usblp 2-4:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10D3 Feb 10 15:41:11 neil-Latitude-D630 kernel: [17269.076648] usbcore: registered new interface driver usblp Feb 10 15:41:11 neil-Latitude-D630 udev-configure-printer[15223]: add /devices/pci0000:00/0000:00:1d.7/usb2/2-4 Feb 10 15:41:11 neil-Latitude-D630 udev-configure-printer[15223]: device devpath is /devices/pci0000:00/0000:00:1d.7/usb2/2-4 Feb 10 15:41:11 neil-Latitude-D630 udev-configure-printer[15223]: MFG:Canon MDL:iP2700 series SERN:- serial:234517 Feb 10 15:41:12 neil-Latitude-D630 kernel: [17269.577898] audit: type=1400 audit(1486741272.103:36): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=15225 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Feb 10 15:41:12 neil-Latitude-D630 systemd[1]: cups.service: Main process exited, code=exited, status=1/FAILURE Feb 10 15:41:12 neil-Latitude-D630 systemd[1]: cups.service: Unit entered failed state. Feb 10 15:41:12 neil-Latitude-D630 systemd[1]: cups.service: Failed with result 'exit-code'. Feb 10 15:41:17 neil-Latitude-D630 udev-configure-printer[15223]: failed to connect to CUPS server; giving up Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: udev-configure-printer@-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4.service: Control process exited, code=exited status=1 Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: Failed to start Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4). Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: udev-configure-printer@-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4.service: Unit entered failed state. Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: udev-configure-printer@-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4.service: Failed with result 'exit-code'. ^C neil@neil-Latitude-D630:~$ lsusb Bus 002 Device 004: ID 04a9:10d3 Canon, Inc. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 003: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 002: ID 03f0:0641 Hewlett-Packard Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub neil@neil-Latitude-D630:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/* crw-rw-r-- 1 root root 189, 0 Feb 10 08:24 /dev/bus/usb/001/001 crw-rw-r-- 1 root root 189, 128 Feb 10 08:24 /dev/bus/usb/002/001 crw-rw-r-- 1 root lp 189, 131 Feb 10 15:41 /dev/bus/usb/002/004 crw-rw-r-- 1 root root 189, 256 Feb 10 08:24 /dev/bus/usb/003/001 crw-rw-r-- 1 root root 189, 384 Feb 10 08:24 /dev/bus/usb/004/001 crw-rw-r-- 1 root root 189, 512 Feb 10 08:24 /dev/bus/usb/005/001 crw-rw-r-- 1 root root 189, 640 Feb 10 08:24 /dev/bus/usb/006/001 crw-rw-r-- 1 root root 189, 641 Feb 10 08:26 /dev/bus/usb/006/002 crw-rw-r-- 1 root root 189, 768 Feb 10 08:24 /dev/bus/usb/007/001 crw-rw-r-- 1 root root 189, 769 Feb 10 08:24 /dev/bus/usb/007/002 crw-rw-r-- 1 root root 189, 770 Feb 10 08:26 /dev/bus/usb/007/003 crw-rw---- 1 root lp 180, 0 Feb 10 15:41 /dev/usb/lp0 neil@neil-Latitude-D630:~$ sudo usb_printerid /dev/usb/lp0 [sudo] password for neil: GET_DEVICE_ID string: MFG:Canon;CMD:BJL,BJRaster3,BSCCe,IVEC,IVECPLI;SOJ:TXT01;MDL:iP2700 series;CLS:PRINTER;DES:Canon iP2700 series;VER:1.030;STA:10;FSI:00;HRI:EU;MSI:AOFF,BOFF,DAT,E3;PDR:4; neil@neil-Latitude-D630:~$ sudo usb_printerid /dev/usb/lp1 Error: No such file or directory: can't open '/dev/usb/lp1' neil@neil-Latitude-D630:~$ lpinfo -v lpinfo: Bad file descriptor ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: cups 2.1.3-4 ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40 Uname: Linux 4.4.0-62-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 CupsErrorLog: CurrentDesktop: Unity Date: Fri Feb 10 15:45:46 2017 EcryptfsInUse: Yes InstallationDate: Installed on 2015-11-20 (447 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Bad file descriptor MachineType: Dell Inc. Latitude D630 Papersize: a4 PccardctlIdent: Socket 0: no product info available PccardctlStatus: Socket 0: no card ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-62-generic root=UUID=840a961c-e077-42dd-97ef-0e8947731353 ro quiet splash vt.handoff=7 SourcePackage: cups UpgradeStatus: Upgraded to xenial on 2016-06-07 (248 days ago) dmi.bios.date: 07/28/2008 dmi.bios.vendor: Dell Inc. dmi.bios.version: A13 dmi.board.name: 0KU184 dmi.board.vendor: Dell Inc. dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA13:bd07/28/2008:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn0KU184:rvr:cvnDellInc.:ct8:cvr: dmi.product.name: Latitude D630 dmi.sys.vendor: Dell Inc. ** Affects: cups (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apparmor apport-bug xenial -- 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/1663647 Title: cannot add printer Status in cups package in Ubuntu: New Bug description: Terminal log follows neil@neil-Latitude-D630:~$ lsmod | grep usb usbhid 49152 0 hid 118784 2 hid_generic,usbhid neil@neil-Latitude-D630:~$ tail -f /var/log/syslog Feb 10 15:02:17 neil-Latitude-D630 avahi-daemon[960]: Registering new address record for fe80::221:5cff:fe6f:bbe5 on wlp12s0.*. Feb 10 15:03:08 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:03:16 neil-Latitude-D630 systemd-timesyncd[463]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com). Feb 10 15:03:16 neil-Latitude-D630 systemd[1581]: Time has been changed Feb 10 15:03:16 neil-Latitude-D630 systemd[1]: Time has been changed Feb 10 15:03:16 neil-Latitude-D630 systemd[1]: snapd.refresh.timer: Adding 5h 11min 5.412159s random time. Feb 10 15:03:16 neil-Latitude-D630 systemd[1]: apt-daily.timer: Adding 50min 41.219140s random time. Feb 10 15:13:09 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:17:01 neil-Latitude-D630 CRON[15040]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Feb 10 15:23:09 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.068213] usb 2-4: new high-speed USB device number 4 using ehci-pci Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202919] usb 2-4: New USB device found, idVendor=04a9, idProduct=10d3 Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202928] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202934] usb 2-4: Product: iP2700 series Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202938] usb 2-4: Manufacturer: Canon Feb 10 15:41:10 neil-Latitude-D630 kernel: [17268.202943] usb 2-4: SerialNumber: 234517 Feb 10 15:33:09 neil-Latitude-D630 wpa_supplicant[1147]: wlp12s0: WPA: Group rekeying completed with 58:98:35:15:e9:b9 [GTK=TKIP] Feb 10 15:41:10 neil-Latitude-D630 mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4" Feb 10 15:41:10 neil-Latitude-D630 mtp-probe: bus: 2, device: 4 was not an MTP device Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Created slice system-udev\x2dconfigure\x2dprinter.slice. Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Starting Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4)... Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Started CUPS Scheduler. Feb 10 15:41:11 neil-Latitude-D630 systemd[1]: Reached target Printer. Feb 10 15:41:11 neil-Latitude-D630 kernel: [17269.076606] usblp 2-4:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10D3 Feb 10 15:41:11 neil-Latitude-D630 kernel: [17269.076648] usbcore: registered new interface driver usblp Feb 10 15:41:11 neil-Latitude-D630 udev-configure-printer[15223]: add /devices/pci0000:00/0000:00:1d.7/usb2/2-4 Feb 10 15:41:11 neil-Latitude-D630 udev-configure-printer[15223]: device devpath is /devices/pci0000:00/0000:00:1d.7/usb2/2-4 Feb 10 15:41:11 neil-Latitude-D630 udev-configure-printer[15223]: MFG:Canon MDL:iP2700 series SERN:- serial:234517 Feb 10 15:41:12 neil-Latitude-D630 kernel: [17269.577898] audit: type=1400 audit(1486741272.103:36): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=15225 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 Feb 10 15:41:12 neil-Latitude-D630 systemd[1]: cups.service: Main process exited, code=exited, status=1/FAILURE Feb 10 15:41:12 neil-Latitude-D630 systemd[1]: cups.service: Unit entered failed state. Feb 10 15:41:12 neil-Latitude-D630 systemd[1]: cups.service: Failed with result 'exit-code'. Feb 10 15:41:17 neil-Latitude-D630 udev-configure-printer[15223]: failed to connect to CUPS server; giving up Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: udev-configure-printer@-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4.service: Control process exited, code=exited status=1 Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: Failed to start Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4). Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: udev-configure-printer@-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4.service: Unit entered failed state. Feb 10 15:41:17 neil-Latitude-D630 systemd[1]: udev-configure-printer@-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d4.service: Failed with result 'exit-code'. ^C neil@neil-Latitude-D630:~$ lsusb Bus 002 Device 004: ID 04a9:10d3 Canon, Inc. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 003: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 002: ID 03f0:0641 Hewlett-Packard Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub neil@neil-Latitude-D630:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/* crw-rw-r-- 1 root root 189, 0 Feb 10 08:24 /dev/bus/usb/001/001 crw-rw-r-- 1 root root 189, 128 Feb 10 08:24 /dev/bus/usb/002/001 crw-rw-r-- 1 root lp 189, 131 Feb 10 15:41 /dev/bus/usb/002/004 crw-rw-r-- 1 root root 189, 256 Feb 10 08:24 /dev/bus/usb/003/001 crw-rw-r-- 1 root root 189, 384 Feb 10 08:24 /dev/bus/usb/004/001 crw-rw-r-- 1 root root 189, 512 Feb 10 08:24 /dev/bus/usb/005/001 crw-rw-r-- 1 root root 189, 640 Feb 10 08:24 /dev/bus/usb/006/001 crw-rw-r-- 1 root root 189, 641 Feb 10 08:26 /dev/bus/usb/006/002 crw-rw-r-- 1 root root 189, 768 Feb 10 08:24 /dev/bus/usb/007/001 crw-rw-r-- 1 root root 189, 769 Feb 10 08:24 /dev/bus/usb/007/002 crw-rw-r-- 1 root root 189, 770 Feb 10 08:26 /dev/bus/usb/007/003 crw-rw---- 1 root lp 180, 0 Feb 10 15:41 /dev/usb/lp0 neil@neil-Latitude-D630:~$ sudo usb_printerid /dev/usb/lp0 [sudo] password for neil: GET_DEVICE_ID string: MFG:Canon;CMD:BJL,BJRaster3,BSCCe,IVEC,IVECPLI;SOJ:TXT01;MDL:iP2700 series;CLS:PRINTER;DES:Canon iP2700 series;VER:1.030;STA:10;FSI:00;HRI:EU;MSI:AOFF,BOFF,DAT,E3;PDR:4; neil@neil-Latitude-D630:~$ sudo usb_printerid /dev/usb/lp1 Error: No such file or directory: can't open '/dev/usb/lp1' neil@neil-Latitude-D630:~$ lpinfo -v lpinfo: Bad file descriptor ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: cups 2.1.3-4 ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40 Uname: Linux 4.4.0-62-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 CupsErrorLog: CurrentDesktop: Unity Date: Fri Feb 10 15:45:46 2017 EcryptfsInUse: Yes InstallationDate: Installed on 2015-11-20 (447 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Bad file descriptor MachineType: Dell Inc. Latitude D630 Papersize: a4 PccardctlIdent: Socket 0: no product info available PccardctlStatus: Socket 0: no card ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-62-generic root=UUID=840a961c-e077-42dd-97ef-0e8947731353 ro quiet splash vt.handoff=7 SourcePackage: cups UpgradeStatus: Upgraded to xenial on 2016-06-07 (248 days ago) dmi.bios.date: 07/28/2008 dmi.bios.vendor: Dell Inc. dmi.bios.version: A13 dmi.board.name: 0KU184 dmi.board.vendor: Dell Inc. dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA13:bd07/28/2008:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn0KU184:rvr:cvnDellInc.:ct8:cvr: dmi.product.name: Latitude D630 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1663647/+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