USB Brother DCP-8045D Printer only prints first file in queue after reboot or suspend since Ubuntu 10.04

Bug #597225 reported by jbrea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libusb (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: cups

Since fresh installation of Ubuntu 10.04 with brother-cups-wrapper-laser1 installed and rmmod usblp and blacklisting this mod I face the problem of being able to print only
1. If I print a document
2. Suspend or restart the computer
While rebooting, the first document in the print queue gets printed.

Here some additional details:
$ lsmod | grep usb
usbhid 36110 1 hid_logitech
hid 67032 2 hid_logitech,usbhid
btusb 10925 2
bluetooth 49892 9 rfcomm,sco,bnep,l2cap,btusb

$ tail -f /var/log/messages
Jun 22 13:41:51 machina udev-configure-printer: Disabled printer ipp://localhost:631/printers/DCP-8045D as the corresponding device was unplugged or turned off
Jun 22 13:42:03 machina kernel: [ 1594.212105] usb 2-2: new high speed USB device using ehci_hcd and address 6
Jun 22 13:42:03 machina kernel: [ 1594.349250] usb 2-2: configuration #1 chosen from 1 choice

$lpinfo -v
network socket
serial serial:/dev/ttyS0?baud=115200
network http
direct scsi
network lpd
network ipp
network beh
network smb
direct hp
direct hpfax

Attached is the troubleshoot.txt from printing>help>troubleshoot

Revision history for this message
jbrea (johannibrea) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

"lpinfo -v" does not list your printer. Can you run the following commands:

lsusb
ls -l /dev/usb/lp* /dev/bus/usb/*/*
sudo usb_printerid /dev/usb/lp0
sudo usb_printerid /dev/usb/lp1
/usr/lib/cups/backend/usb
sudo /usr/lib/cups/backend/usb
ls -l /usr/lib/cups/backend/usb

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
jbrea (johannibrea) wrote :

Thank you, for your help!

Here is the ouput:

$lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
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 004 Device 006: ID 0a5c:2145 Broadcom Corp. Bluetooth with Enhanced Data Rate II
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
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
Bus 002 Device 005: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
Bus 002 Device 004: ID 046d:c30a Logitech, Inc. iTouch Composite
Bus 002 Device 003: ID 04f9:015e Brother Industries, Ltd DCP-8045D
Bus 002 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 17ef:480c Lenovo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
ls: cannot access /dev/usb/lp*: No such file or directory
crw-rw-rw- 1 root vboxusers 189, 0 2010-07-03 11:27 /dev/bus/usb/001/001
crw-rw-rw- 1 root vboxusers 189, 3 2010-07-04 21:39 /dev/bus/usb/001/004
crw-rw-rw- 1 root vboxusers 189, 128 2010-07-03 11:27 /dev/bus/usb/002/001
crw-rw-rw- 1 root vboxusers 189, 129 2010-07-03 11:27 /dev/bus/usb/002/002
crw-rw-r--+ 1 root lp 189, 130 2010-07-04 21:39 /dev/bus/usb/002/003
crw-rw-rw- 1 root vboxusers 189, 131 2010-07-04 21:39 /dev/bus/usb/002/004
crw-rw-rw- 1 root vboxusers 189, 132 2010-07-04 21:39 /dev/bus/usb/002/005
crw-rw-rw- 1 root vboxusers 189, 256 2010-07-03 11:27 /dev/bus/usb/003/001
crw-rw-rw- 1 root vboxusers 189, 384 2010-07-03 11:27 /dev/bus/usb/004/001
crw-rw-rw- 1 root vboxusers 189, 385 2010-07-04 21:39 /dev/bus/usb/004/002
crw-rw-rw- 1 root vboxusers 189, 389 2010-07-04 21:39 /dev/bus/usb/004/006
crw-rw-rw- 1 root vboxusers 189, 512 2010-07-03 11:27 /dev/bus/usb/005/001
crw-rw-rw- 1 root vboxusers 189, 640 2010-07-03 11:27 /dev/bus/usb/006/001
crw-rw-rw- 1 root vboxusers 189, 768 2010-07-03 11:27 /dev/bus/usb/007/001
crw-rw-rw- 1 root vboxusers 189, 896 2010-07-03 11:27 /dev/bus/usb/008/001

$ sudo usb_printerid /dev/usb/lp0
Error: No such file or directory: can't open '/dev/usb/lp0'

$ sudo usb_printerid /dev/usb/lp1
Error: No such file or directory: can't open '/dev/usb/lp1'

$ sudo /usr/lib/cups/backend/usb
DEBUG: list_devices_libusb
DEBUG: usb_find_busses=8
DEBUG: usb_find_devices=15

$ ls -l /usr/lib/cups/backend/usb
-r-xr--r-- 2 root root 38180 2010-06-18 17:08 /usr/lib/cups/backend/usb

Revision history for this message
jbrea (johannibrea) wrote :

Downgrading libusb to version libusb-0.1-4 solved my problem. Thanks to https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/595650/comments/38

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The libusb problem is already fixed in Lucid and Maverick, you simply need to do a full update. See bug #595650.

affects: cups (Ubuntu) → libusb (Ubuntu)
Changed in libusb (Ubuntu):
importance: Undecided → High
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.