[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697331: installation-reports: Printer not working / recognised - Fixed - 2



About the fix :

As the name implies, it helped me to get the printer working, but was not the right/best way to do it.
As I never used CUPS before (no need in squeeze !), I was confused when it was asking for username/password.
I entered the name of the user for which I wanted print capability. Which was refused because not in lpadmin. And thus the mail "fixed : added lpadmin"

I should have logged as root and then add the printer !

So I thing there is no need to insert the first user in the lpadmin group, as C. Perrier objected/stated.


However, there is a regression in wheezy as plug and play printing is no longer working as it used in squeeze !

I made some tests with debian 6(live-gnome) and 7 (testing-xfce).
Attachment : extracts of /var/log/syslog

Debian 6 - live; /var/log/syslog

Jan  9 14:34:10 localhost kernel: [    0.000000] Linux version 2.6.32-5-486 (Debian 2.6.32-38) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Mon Oct 3 03:34:28 UTC 2011

Jan  9 14:34:11 localhost kernel: [   16.916063] lp: driver loaded but no devices found
Jan  9 14:34:11 localhost kernel: [   16.955471] ppdev: user-space parallel port driver
Jan  9 14:34:11 localhost acpid: client connected from 2923[0:0]
Jan  9 14:34:11 localhost acpid: 1 client rule loaded
Jan  9 14:34:11 localhost udev-configure-printer: add /module/lp
Jan  9 14:34:11 localhost udev-configure-printer: Failed to get parent
Jan  9 14:34:11 localhost kernel: [   17.243308] [drm] Initialized drm 1.1.0 20060810
Jan  9 14:34:15 localhost polkitd[3429]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jan  9 14:34:22 localhost AptDaemon: INFO: Initializing daemon
Jan  9 14:34:22 localhost kernel: [   28.561181] EXT4-fs (sdb5): warning: maximal mount count reached, running e2fsck is recommended
Jan  9 14:34:22 localhost kernel: [   28.585138] EXT4-fs (sdb5): mounted filesystem with ordered data mode
Jan  9 14:39:23 localhost AptDaemon: INFO: Quiting due to inactivity
Jan  9 14:39:23 localhost AptDaemon: INFO: Shutdown was requested

Plugged printer.
Jan  9 14:39:58 localhost kernel: [  363.474077] usb 1-3: new high speed USB device using xhci_hcd and address 0
Jan  9 14:39:58 localhost kernel: [  363.494539] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.495672] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.496754] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.497809] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.497847] usb 1-3: New USB device found, idVendor=04b8, idProduct=0848
Jan  9 14:39:58 localhost kernel: [  363.497853] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan  9 14:39:58 localhost kernel: [  363.497858] usb 1-3: Product: USB2.0 MFP(Hi-Speed)
Jan  9 14:39:58 localhost kernel: [  363.497862] usb 1-3: Manufacturer: EPSON
Jan  9 14:39:58 localhost kernel: [  363.497866] usb 1-3: SerialNumber: 4B504B593130333311
Jan  9 14:39:58 localhost kernel: [  363.499495] usb 1-3: configuration #1 chosen from 1 choice
Jan  9 14:39:58 localhost kernel: [  363.501943] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.503022] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.504099] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost udev-configure-printer: add /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb1/1-3/1-3:1.1
Jan  9 14:39:58 localhost udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb1/1-3
Jan  9 14:39:58 localhost udev-configure-printer: Device vendor/product is 04B8:0848
Jan  9 14:39:58 localhost udev-configure-printer: MFG:EPSON MDL:Stylus Office BX300F SERN:- serial:4B504B593130333311
Jan  9 14:39:58 localhost kernel: [  363.529070] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.540079] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:39:58 localhost kernel: [  363.540160] usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0848
Jan  9 14:39:58 localhost kernel: [  363.540173] usbcore: registered new interface driver usblp
Jan  9 14:39:58 localhost udev-configure-printer: add /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb1/1-3/1-3:1.1/usb/lp0
Jan  9 14:39:59 localhost kernel: [  364.578575] usb 1-3: usbfs: interface 1 claimed by usblp while 'usb' sets config #1
Jan  9 14:39:59 localhost kernel: [  364.579870] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 14:40:14 localhost udev-configure-printer: URI matches without serial number: usb://EPSON/Stylus%20Office%20BX300F
Jan  9 14:40:14 localhost udev-configure-printer: No serial number URI matches so using those without
Jan  9 14:40:14 localhost udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb1/1-3
Jan  9 14:40:14 localhost udev-configure-printer: About to add queue for usb://EPSON/Stylus%20Office%20BX300F
Jan  9 14:40:14 localhost udev-add-printer: add_queue: URIs=['usb://EPSON/Stylus%20Office%20BX300F']
Jan  9 14:40:14 localhost udev-add-printer: Failed to install drivers: DBusException('The name org.freedesktop.PackageKit was not provided by any .service files',)
Jan  9 14:40:17 localhost udev-add-printer: PPD: gutenprint.5.2://escp2-of-bx300f/expert; Status: 0

Printing ok; printer automatically defined in CUPS.

================================================================================

Debian 7 testing - xfce; /var/log/syslog

I unplugged the printer and removed it from CUPS.
Reboot; checked CUPS : no printer defined

Jan  9 18:06:01 pc4 kernel: [    0.000000] Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-12) ) #1 SMP Debian 3.2.32-1
Jan  9 18:06:01 pc4 kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 root=UUID=b70d950c-5f26-4fda-ac59-dc3b215b6a9a ro quiet
...
Jan  9 18:06:03 pc4 avahi-daemon[2558]: Service "pc4" (/services/udisks.service) successfully established.
Jan  9 18:06:04 pc4 kernel: [   18.080501] lp: driver loaded but no devices found
Jan  9 18:06:04 pc4 kernel: [   18.246000] ppdev: user-space parallel port driver
Jan  9 18:06:04 pc4 udev-configure-printer: add /module/lp
Jan  9 18:06:04 pc4 udev-configure-printer: Failed to get parent
Jan  9 18:06:04 pc4 NetworkManager[2640]: <info> NetworkManager (version 0.9.4.0) is starting...
...
Plugged printer
Jan  9 18:06:27 pc4 dbus[2293]: [system] Successfully activated service 'org.freedesktop.UDisks'
Jan  9 18:08:45 pc4 kernel: [  179.490258] usb 2-1: new high-speed USB device number 2 using xhci_hcd
Jan  9 18:08:45 pc4 kernel: [  179.510756] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:45 pc4 kernel: [  179.511863] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:45 pc4 kernel: [  179.512946] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:45 pc4 kernel: [  179.514026] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:45 pc4 kernel: [  179.514047] usb 2-1: New USB device found, idVendor=04b8, idProduct=0848
Jan  9 18:08:45 pc4 kernel: [  179.514051] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan  9 18:08:45 pc4 kernel: [  179.514054] usb 2-1: Product: USB2.0 MFP(Hi-Speed)
Jan  9 18:08:45 pc4 kernel: [  179.514056] usb 2-1: Manufacturer: EPSON
Jan  9 18:08:45 pc4 kernel: [  179.514058] usb 2-1: SerialNumber: 4B504B593130333311
Jan  9 18:08:45 pc4 kernel: [  179.514204] usb 2-1: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:45 pc4 kernel: [  179.514209] usb 2-1: ep 0x82 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:45 pc4 kernel: [  179.514213] usb 2-1: ep 0x4 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:45 pc4 kernel: [  179.514218] usb 2-1: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:45 pc4 kernel: [  179.517366] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:45 pc4 kernel: [  179.518449] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:45 pc4 kernel: [  179.519534] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:46 pc4 udev-configure-printer: add /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1/2-1:1.1
Jan  9 18:08:46 pc4 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1
Jan  9 18:08:46 pc4 udev-configure-printer: Device vendor/product is 04B8:0848
Jan  9 18:08:46 pc4 kernel: [  179.891475] usb 2-1: ep 0x4 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:46 pc4 kernel: [  179.891481] usb 2-1: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:46 pc4 kernel: [  179.895333] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:46 pc4 kernel: [  179.895442] usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0848
Jan  9 18:08:46 pc4 kernel: [  179.895469] usbcore: registered new interface driver usblp
Jan  9 18:08:46 pc4 udev-configure-printer: add /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1/2-1:1.1/usb/lp0
Jan  9 18:08:46 pc4 udev-configure-printer: failed to claim interface
Jan  9 18:08:46 pc4 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1
Jan  9 18:08:46 pc4 udev-configure-printer: MFG:EPSON MDL:Stylus Office BX300F SERN:- serial:4B504B593130333311
Jan  9 18:08:47 pc4 kernel: [  181.205048] usblp0: removed
Jan  9 18:08:47 pc4 kernel: [  181.207412] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:47 pc4 kernel: [  181.208472] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:47 pc4 kernel: [  181.209618] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:47 pc4 kernel: [  181.209757] usb 2-1: ep 0x4 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:47 pc4 kernel: [  181.209761] usb 2-1: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:08:47 pc4 udev-configure-printer: add /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1/2-1:1.1/usb/lp0
Jan  9 18:08:47 pc4 kernel: [  181.213879] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:08:47 pc4 kernel: [  181.213977] usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0848
Jan  9 18:08:48 pc4 udev-configure-printer: URI contains USB serial number
Jan  9 18:08:48 pc4 udev-configure-printer: URI match: usb://EPSON/Stylus%20Office%20BX300F?serial=4B504B593130333311&interface=1
Jan  9 18:08:48 pc4 udev-configure-printer: About to add queue for usb://EPSON/Stylus%20Office%20BX300F?serial=4B504B593130333311&interface=1
Jan  9 18:08:48 pc4 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1
Jan  9 18:08:48 pc4 udev-configure-printer: Device already handled
Jan  9 18:08:49 pc4 udev-add-printer: add_queue: URIs=['usb://EPSON/Stylus%20Office%20BX300F?serial=4B504B593130333311&interface=1']
Jan  9 18:08:49 pc4 udev-add-printer: D-Bus method call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.NewPrinterNotification was not provided by any .service files
Jan  9 18:08:52 pc4 udev-add-printer: PPD: foomatic-db-compressed-ppds:1/ppd/foomatic-ppd/Generic-ESC_P_Dot_Matrix_Printer-lq850.ppd; Status: 2

Checked CUPS : no printer defined; not possible to print.
Added printer with CUPS (user root !)

Jan  9 18:08:52 pc4 udev-add-printer: PPD: foomatic-db-compressed-ppds:1/ppd/foomatic-ppd/Generic-ESC_P_Dot_Matrix_Printer-lq850.ppd; Status: 2
Jan  9 18:17:01 pc4 /USR/SBIN/CRON[3215]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jan  9 18:31:29 pc4 kernel: [ 1542.672774] usblp0: removed
Jan  9 18:31:29 pc4 kernel: [ 1542.675135] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:31:29 pc4 kernel: [ 1542.676215] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:31:29 pc4 kernel: [ 1542.677302] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:31:29 pc4 kernel: [ 1542.677415] usb 2-1: ep 0x4 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:31:29 pc4 kernel: [ 1542.677422] usb 2-1: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
Jan  9 18:31:29 pc4 kernel: [ 1542.681598] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Jan  9 18:31:29 pc4 kernel: [ 1542.681664] usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0848
Jan  9 18:31:29 pc4 udev-configure-printer: add /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1/2-1:1.1/usb/lp0
Jan  9 18:31:29 pc4 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-1
Jan  9 18:31:29 pc4 udev-configure-printer: Device already handled
Jan  9 18:31:50 pc4 dbus[2293]: [system] Activating service name='org.freedesktop.ColorManager' (using servicehelper)
Jan  9 18:31:50 pc4 dbus[2293]: [system] Successfully activated service 'org.freedesktop.ColorManager'
Jan  9 18:31:50 pc4 dbus[2293]: [system] Activating service name='org.freedesktop.ColorManager' (using servicehelper)
Jan  9 18:31:50 pc4 dbus[2293]: [system] Successfully activated service 'org.freedesktop.ColorManager'
Jan  9 18:31:50 pc4 dbus[2293]: [system] Activating service name='org.freedesktop.ColorManager' (using servicehelper)
Jan  9 18:31:50 pc4 dbus[2293]: [system] Successfully activated service 'org.freedesktop.ColorManager'
Jan  9 18:31:50 pc4 dbus[2293]: [system] Activating service name='org.freedesktop.ColorManager' (using servicehelper)
Jan  9 18:31:50 pc4 dbus[2293]: [system] Successfully activated service 'org.freedesktop.ColorManager'
Jan  9 18:31:50 pc4 dbus[2293]: [system] Activating service name='org.freedesktop.colord-sane' (using servicehelper)
Jan  9 18:31:50 pc4 dbus[2293]: [system] Successfully activated service 'org.freedesktop.colord-sane'

Print ok


Reply to: