Bug 713528 - Brother-supplied drivers for HL-2140, MFC-665CW do not work with Fedora 15
Summary: Brother-supplied drivers for HL-2140, MFC-665CW do not work with Fedora 15
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-15 17:12 UTC by Cliff Kachinske
Modified: 2011-10-17 11:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-17 11:31:39 UTC
Type: ---


Attachments (Terms of Use)
debug output from system-config-printer (58.35 KB, text/plain)
2011-10-02 15:04 UTC, Nicholas Ross
no flags Details

Description Cliff Kachinske 2011-06-15 17:12:41 UTC
Description of problem: The Brother-supplied drivers for the HL-2140 Laser Printer and the MFC-665CW printer do not work with Fedora 15.  This is a fresh installation of Fedora 15, not an upgrade.

I have another system with Fedora 14 and both of these drivers work.

I was able to get the HL-2140 to work using this driver: Brother HL-2140 Foomatic/hl1250.  I have not been able to find an alternate driver for the MFC-665CW.

Version-Release number of selected component (if applicable): CUPS 1.4.6

How reproducible: Should be reproducible.


Steps to Reproduce:
1.  Install Fedora 15 KDE spin
2.  Download Brother printer drivers mfc665cwlpr-1.0.1-1.i386.rpm and mfc665cwcupswrapper-1.0.1-1.i386.rpm from this web page: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html
3. Install and verify according to these directions:
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn1a.html
4. Configure the printer using System Settings/Printers.
5. Attempt to print any file, either from within an application or using the lp or lpr commands. 
6. Attempt to print as root and non-root users.
  
Actual results:
Printer does not respond.
/var/log/cups/error_log indicates 'No pages found!' for each print job.


Expected results:
Printer should work okay as it did with Fedora 14.


Additional info:

Comment 1 Bob Shanteau 2011-07-06 06:56:37 UTC
I have a Brother MFC-240C printer and am having the same experience with my up to date Fedora 15 system. After installing the Brother drivers I could print a test page OK but usually cannot print from an application such as Firefox or Thunderbird. Some posts here:<http://www.fedoraforum.org/forum/showthread.php?t=264036> suggest that the problem is an extra byte being added to the printer output, meaning that /usr/local/Brother/Printer/mfc240c/lpd/filtermfc240c cannot determine the correct file type. A proposed fix was to modify the script in filtermfc240c to strip out the last byte, but that has not worked.

Printing worked fine with this printer in Fedora 12, 13 and 14.

Comment 2 Tim Waugh 2011-07-06 08:32:26 UTC
What does 'rpm -q file' say?  This update looks like it might fix it:
  https://admin.fedoraproject.org/updates/file-5.07-4.fc15

Comment 3 Bob Shanteau 2011-07-06 16:45:37 UTC
$ rpm -q file
file-5.07-4.fc15.x86_64

$ ls -l /usr/bin/file
-rwxr-xr-x. 1 root root 19888 Jun  9 02:24 /usr/bin/file

Today, printing is working fine. Yesterday it wasn't.

Evidently, https://admin.fedoraproject.org/updates/file-5.07-4.fc15 did not fix the problem.

Comment 4 Tim Waugh 2011-07-06 17:16:26 UTC
What does 'rpm -q --last file' say?

Comment 5 Bob Shanteau 2011-07-06 21:05:19 UTC
$ rpm -q --last file
file-5.07-4.fc15                              Sat 25 Jun 2011 07:36:36 PM PDT

Comment 6 Tim Waugh 2011-07-07 08:33:02 UTC
Please run this command as root in order to keep job files around after they have been printed:

cupsctl PreserveJobFiles=yes

and this one in order to save more debugging information in /var/log/cups/error_log:

cupsctl LogLevel=debug2

If you see the same problem happening again, please attach the /var/log/cups/error_log file (you may have to compress it with e.g. xz) and, if possible, the /var/cups/spool/[dc]* files for the job that triggered it.  Thanks.

Comment 7 Cliff Kachinske 2011-07-07 17:08:18 UTC
(In reply to comment #4)
> What does 'rpm -q --last file' say?

 file-5.07-2.fc15.x86_64

Comment 8 Tim Waugh 2011-07-08 08:46:02 UTC
Cliff: see comment #2.  A new version of the file package is intended to fix this problem.  If it does not, please follow the instructions in comment #6.

Bob: you are running this new version, but have seem a failure since installing it (but things have been working since then).  Have you seen any failures since you wrote comment #3?

Comment 9 Nicholas Ross 2011-10-02 15:04:28 UTC
Created attachment 525940 [details]
debug output from system-config-printer

I can't print to Brother HL2250DN from F15 using the brother made ppd. It works fine with F14 with my wife's laptop (and was the easiest printer to install ever!) and works fine with the mac. I thought it might be a gnome 3 problem, so installed system-config-printer to no benefit, but have produced the troubleshoot.txt attached as per printing problems wiki.

Comment 10 Tim Waugh 2011-10-03 10:10:10 UTC
This seems to be the reason:

D [02/Oct/2011:14:37:40 +0100] [Job 22] /usr/lib/cups/filter/brlpdwrapperHL2250DN: /usr/local/Brother/Printer/HL2250DN/cupswrapper/brcupsconfig4: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

So, what does 'ls -l /lib/ld-linux.so.2' say?  How about 'file /usr/local/Brother/Printer/HL2250DN/cupswrapper/brcupsconfig4'?

Comment 11 Nicholas Ross 2011-10-03 18:08:11 UTC
(In reply to comment #10)
> This seems to be the reason:
> 
> D [02/Oct/2011:14:37:40 +0100] [Job 22]
> /usr/lib/cups/filter/brlpdwrapperHL2250DN:
> /usr/local/Brother/Printer/HL2250DN/cupswrapper/brcupsconfig4:
> /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
> 
> So, what does 'ls -l /lib/ld-linux.so.2' say?  How about 'file
> /usr/local/Brother/Printer/HL2250DN/cupswrapper/brcupsconfig4'?

# ls -l /lib/ld-linux.so.2
ls: cannot access /lib/ld-linux.so.2: No such file or directory

# file /usr/local/Brother/Printer/HL2250DN/cupswrapper/brcupsconfig4 
/usr/local/Brother/Printer/HL2250DN/cupswrapper/brcupsconfig4: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, not stripped

# which ld
/usr/bin/ld

This is an x86_64 system, wife's is 32 bit. On her computer F14 there is a symlink redirecting ld-linux.so.2 to ld-2.13.so. Perhaps I should do the same?

Comment 12 Tim Waugh 2011-10-04 08:32:45 UTC
What does "rpm -V glibc" say, as root?

Comment 13 Nicholas Ross 2011-10-04 22:25:48 UTC
(In reply to comment #12)
> What does "rpm -V glibc" say, as root?

# rpm -V glibc
...T.....  d /usr/share/doc/glibc-2.14/NEWS

Comment 14 Nicholas Ross 2011-10-09 18:35:13 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > What does "rpm -V glibc" say, as root?
> 
> # rpm -V glibc
> ...T.....  d /usr/share/doc/glibc-2.14/NEWS

My mistake, it needs glibc.i686 on x86_64 bit system, and works then. Will the brother drivers be absorbed into cups eventually and fixed to work on x86_64 natively, the source code says they are gpl licenced? I even tried to compile the source code but it didn't work in my hands. Anyway, sorry to waste your time.

Comment 15 Tim Waugh 2011-10-17 11:31:28 UTC
The Brother drivers are not currently being considered for inclusion in Fedora.


Note You need to log in before you can comment on or make changes to this bug.