Brother MFC-8840D usb printer not detected

Bug #883169 reported by Scott Redmon
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

This seems similar to 872711, but installing 3.0.0-13 has not solved problem. Both usb printer and scanner were detected and ran properly in Ubuntu 11.04. Printer with parallel connection works properly in 11.10, but usb connection is not detected when I try to add usb printer.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: system-config-printer-gnome 1.3.6+20110831-0ubuntu9.3
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CheckboxSubmission: 37fcde8a0c04c4baf0511e14b55c4f7d
CheckboxSystem: b1cca5f799a911bbb44e7180c2fd235d
Date: Fri Oct 28 11:42:42 2011
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.7
Lpstat:
 device for Brother-MFC-8840D: parallel:/dev/lp0
 device for Brother-MFC-8840D-2: parallel:/dev/lp0
MachineType: IBM 23736ZU
PackageArchitecture: all
Papersize: letter
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   no card
PpdFiles:
 Brother-MFC-8840D-2: Brother MFC-8840D BR-Script3
 Brother-MFC-8840D: Brother MFC-8840D for CUPS
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: root=UUID=89faa907-1c75-409a-86f4-d63f7caa2764 ro quiet splash
SourcePackage: system-config-printer
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (14 days ago)
dmi.bios.date: 06/18/2007
dmi.bios.vendor: IBM
dmi.bios.version: 1RETDRWW (3.23 )
dmi.board.name: 23736ZU
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1RETDRWW(3.23):bd06/18/2007:svnIBM:pn23736ZU:pvrThinkPadT42:rvnIBM:rn23736ZU:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 23736ZU
dmi.product.version: ThinkPad T42
dmi.sys.vendor: IBM

Revision history for this message
Scott Redmon (dty6-ss19t-awge) wrote :
Revision history for this message
Scott Redmon (dty6-ss19t-awge) wrote :

Interesting discovery. I created Xubuntu 11.10 liveCD, loaded without installing, checked Settings:Printing, and there was my usb Brother MFC-8840D printer automatically detected and setup! Device URI: usb://Brother/MFC-8840D?serial=000M4j407389. What is difference between Xubuntu and Ubuntu that allowed Xubuntu to detect usb printer?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Wakelin (c-d-wakelin) wrote :

I got our Brother DCP-8045D to work by adding "usblp" to /etc/modules and then using parallel:/dev/usblp0 as the URI (the deprecated way of doing things!).

Simply upgrading to 3.0.0-13 didn't help.

Revision history for this message
Scott Redmon (dty6-ss19t-awge) wrote :

Chris, thanks for your suggestion - the usb printer is detected and works properly!

However, it is an MFC with a scanner. The scanner seems to be detected now, but I get an error message "Failed to open device 'brother:bus4;dev1':Invalid argument." Any suggestions?

Also does not explain why usb printer was automatically detected, setup, and operates in Xubuntu 11.10 without kernel update.

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

Can you please unload the usblp kernel module again ("rmmod usblp") and then try the new CUPS package in my PPA (https://launchpad.net/~till-kamppeter/+archive/ppa)? Simply follow the instructions under "Adding this PPA to your system" and then update your system. Thanks. Please tell here whether this works for you.

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

New package (1.5.0-8ubuntu5~ppa2) uploaded to my PPA, to also fix crasher bug 887094. As soon as it gets available for download, please test this one.

affects: system-config-printer (Ubuntu) → cups (Ubuntu)
Revision history for this message
ThierryM (thierry-munoz) wrote :

Hi,
I tried this new package and my Canon ip4500 was recognized and installed immediatly when I plugged the usb : until now nothing happened (I haven't add the usblp kernel module). So it works. Thanks for the job.
Now, for me there is still the bug https://bugs.launchpad.net/ubuntu/+source/cups/+bug/881843 with the IPP network that prevents Ubuntu 11.10 to work like the 11.04 version.
Regards.

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

Thank you for your testing and great that it is working for you. This patch I have uploaded to Precise and proposed as an SRU for Oneiric, as a fix for bug 887094 and bug 872483. Probably this bug is a duplicate of one of these (but I do not know which one). Please subscribe to bug 887094 to get the announcement of the proposed package and then test it to verify it for getting an official Oneiric update.

Changed in cups (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fixed by in Precise by latest CUPS upload.

Changed in cups (Ubuntu Oneiric):
status: New → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Proposed Oneiric SRU of bug 887094 fixes also this bug.

Revision history for this message
Scott Redmon (dty6-ss19t-awge) wrote :

Till, does your new CUPS package require 3.0.0-13 kernel?

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

Scott, the new CUPS package does not require the new kernel, but there is a total of probably three USB printing bugs in the original Oneiric, one fixed by the kernel and two fixed by my CUPS package. So if you want to avoid rebooting your system, you could start trying with the CUPS package. If this fixes your problem, all is OK. If not you can still try the new kernel (which requires a reboot).

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

A CUPS package with this correction has been uploaded to oneiric-proposed. See bug 887094 for further instructions and test the package to see whether also this bug got fixed. Please report your results here.

Revision history for this message
Scott Redmon (dty6-ss19t-awge) wrote :

Till,
I have moved on to Xubuntu 11.10 which immediately detected and setup my usb Brother MFC-8840D printer and allowed me to install the Brother scanner driver, neither of which would work with Ubuntu 11.10. Unfortunately, I could not wait for this bug to play out as I needed use of the printer/scanner.
Since I started this bug, I feel some responsibility to help. Do not know if this is a valid test, but installed your CUPS package using Ubuntu 11.10 liveCD. My usb printer was not detected.
I would think someone would want to look at differences between Xubuntu 11.10 and Ubuntu 11.10 to determine why Xubuntu works and Ubuntu does not - of course that is it works for me. Perhaps some others could test Xubuntu 11.10 to help determine solution.

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

Scott, you will most probably need both the kernel update (3.0.0-13) and the CUPS update. Probably you will not be able to apply a kernel update on a live CD, but the development branch (Precise) contains the two fixes already out of the box, so if you download and boot a daily live CD of Precise your printer should work, but note that Precise is a development branch and therefore there can be daily live CDs which do not boot correctly. So do not worry if a Precise live CD does not work at all for you.

Revision history for this message
Scott Redmon (dty6-ss19t-awge) wrote :

Till, tried 12.04 live CD, but usb printer still not detected. As mentioned previously, Xubuntu 11.10 automatically detected and setup my usb printer. I did not need to add it - it was simply there when I opened the "Printing" (system-config-printer 1.3.6) GUI.

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

Scott, are you sure that your 12.04 live CD is completely up-to-date? You must have the kernel 3.0.0-13 or newer and CUPS 1.5.0-11 or newer. If this is not the case, do a system update in the live session running the following commands in a terminal:

sudo apt-get update
sudo apt-get dist-upgrade

After that unplug the printer, remove any broken queues which perhaps got generated for it and plug in the printer again. Does it get detected and set up now?

Revision history for this message
Scott Redmon (dty6-ss19t-awge) wrote :

Till, thank you! I downloaded 12.04 iso yesterday, but it was not completely updated. Usb printer now detected and I was able to set it up. Also downloaded/installed Brother scanner driver and that was detected. You have solved my problems.

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

Scott, thank you very much. Seems that the recent fixes on the kernel and on CUPS solved all problems of USB printing via libusb.

Revision history for this message
Tim Ziebart (timziebart) wrote :

I have installed 3.0.0-14-generic installed including all updates. Brother MFC-8820D still not being detected.

timothy@tim-workstation~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 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 006 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 001 Device 007: ID 04f9:0143 Brother Industries, Ltd MFC-8820D
Bus 001 Device 004: ID 0c0b:b157 Dura Micro, Inc. (Acomdata)
Bus 001 Device 005: ID 152e:e003 LG (HLDS)
Bus 003 Device 002: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub
Bus 003 Device 003: ID 046d:c221 Logitech, Inc. G11/G15 Keyboard / Keyboard
Bus 003 Device 004: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse
Bus 003 Device 005: ID 046d:0a01 Logitech, Inc. USB Headset
Bus 003 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
timothy@tim-workstation~ $ ls -l /dev/usb/*
crw------- 1 root root 180, 96 2011-12-15 16:01 /dev/usb/hiddev0
crw------- 1 root root 180, 97 2011-12-15 16:01 /dev/usb/hiddev1
timothy@tim-workstation~ $ lpinfo -v
network beh
network lpd
file cups-pdf:/
network ipp
network http
network socket
serial serial:/dev/ttyS0?baud=115200
network smb
direct parallel:/dev/lp0

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

Tim, did you reboot after updating your kernel?

Can you also post the output of

ls -l /dev/bus/usb/*/*
sudo /usr/lib/cups/backend/usb

and post the result here?

Revision history for this message
Tim Ziebart (timziebart) wrote :

I've rebooted and reinstalled the drivers from Ubuntu repositories - nothing. Below as you requested.

timothy@tim-workstation~ $ sudo ls -l /dev/usb/*/*
[sudo] password for timothy:
ls: cannot access /dev/usb/*/*: No such file or directory
timothy@tim-workstation~ $ sudo /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: usb_find_busses=7
DEBUG: usb_find_devices=14
timothy@tim-workstation~ $

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

Can you please run the command

ls -l /dev/bus/usb/*/*

You have mistyped when trying to run it.

Revision history for this message
Tim Ziebart (timziebart) wrote :

Oops, my apologies.

rw-rw-r-- 1 root root 189, 0 2012-12-04 16:02 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 2 2012-12-04 16:02 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 128 2012-12-04 16:02 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 256 2012-12-04 16:02 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 2012-12-04 16:02 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 258 2012-12-04 16:02 /dev/bus/usb/003/003
crw-rw-r-- 1 root root 189, 259 2012-12-04 16:02 /dev/bus/usb/003/004
crw-rw-r-- 1 root root 189, 260 2012-12-04 16:02 /dev/bus/usb/003/005
crw-rw-r-- 1 root root 189, 261 2012-01-05 10:39 /dev/bus/usb/003/006
crw-rw-r-- 1 root root 189, 384 2012-12-04 16:02 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 2012-12-04 16:02 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 2012-12-04 16:02 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189, 768 2012-12-04 16:02 /dev/bus/usb/007/001

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

Can you run the following command with the printer connected and turned on:

lsusb
ls -l /dev/bus/usb/*/*
lpinfo -v
sudo /usr/lib/cups/backend/usb

Thanks.

Revision history for this message
Tim Ziebart (timziebart) wrote :

Printer is attached and turned on.

imothy@tim-workstation~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 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 006 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 001 Device 003: ID 152e:e003 LG (HLDS)
Bus 003 Device 002: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub
Bus 003 Device 003: ID 046d:c221 Logitech, Inc. G11/G15 Keyboard / Keyboard
Bus 003 Device 004: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse
Bus 003 Device 005: ID 046d:0a01 Logitech, Inc. USB Headset
Bus 003 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 001 Device 004: ID 04f9:0143 Brother Industries, Ltd MFC-8820D
timothy@tim-workstation~ $ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 2012-12-04 16:02 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 2 2012-12-04 16:02 /dev/bus/usb/001/003
crw-rw-r-- 1 root lp 189, 3 2012-01-05 13:10 /dev/bus/usb/001/004
crw-rw-r-- 1 root root 189, 128 2012-12-04 16:02 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 256 2012-12-04 16:02 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 2012-12-04 16:02 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 258 2012-12-04 16:02 /dev/bus/usb/003/003
crw-rw-r-- 1 root root 189, 259 2012-12-04 16:02 /dev/bus/usb/003/004
crw-rw-r-- 1 root root 189, 260 2012-12-04 16:02 /dev/bus/usb/003/005
crw-rw-r-- 1 root root 189, 261 2012-01-05 13:11 /dev/bus/usb/003/006
crw-rw-r-- 1 root root 189, 384 2012-12-04 16:02 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 2012-12-04 16:02 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 2012-12-04 16:02 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189, 768 2012-12-04 16:02 /dev/bus/usb/007/001
timothy@tim-workstation~ $ lpinfo -v
network beh
file cups-pdf:/
network ipp
network socket
network http
network lpd
serial serial:/dev/ttyS0?baud=115200
network smb
direct parallel:/dev/lp0
timothy@tim-workstation~ $ sudo /usr/lib/cups/backend/usb
[sudo] password for timothy:
DEBUG: list_devices
DEBUG: usb_find_busses=7
DEBUG: usb_find_devices=14
timothy@tim-workstation~ $

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

The fixed CUPS package for Oneiric got already moved to the official updates on Nov 21, 2011. Marking as fixed. See bug 887094.

Scott, your problem should be fixed in Oneiric now (make sure you update it).

Changed in cups (Ubuntu Oneiric):
status: Fix Committed → 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.