[SOLVED] Help troubleshooting a new Brother All-In-One

[SOLVED] Help troubleshooting a new Brother All-In-One

Postby kateto » Dec 20th, '17, 01:00

Hello all! I'm stuck trying to install my new Brother DCP-L2500D. Don't even know how to get started. Can somebody give me some help?
I'm on a 64 bit machine. I downloaded and installed Brother's Driver Install Tool:
http://support.brother.com/g/b/download ... ng=English
The tool installed these packages:
Code: Select all
[root@Fractal ~]# /home/ruben/Documents/ordinador/linux-brprinter-installer-2.1.1-1 DCP-L2500D
You are going to install following packages.
   dcpl2500dlpr-3.2.0-1.i386.rpm
   dcpl2500dcupswrapper-3.2.0-1.i386.rpm
   brscan4-0.4.4-3.x86_64.rpm
   brscan-skey-0.2.4-1.x86_64.rpm
OK? [y/N] ->y

It also installed these:
Code: Select all
Instal·lar:
 policycoreutils-python                   x86_64                   2.5-10.mga6 
Instal·lar les dependències:
 cgroup                                   x86_64                   0.41-1.mga6
 checkpolicy                              x86_64                   2.5-1.mga6
 lib64apol4                               x86_64                   3.3.8-15.mga6
 lib64cgroup1                             x86_64                   0.41-1.mga6
 lib64qpol1                               x86_64                   3.3.8-15.mga6
 lib64semanage1                           x86_64                   2.5-6.mga6
 lib64sepol1                              x86_64                   2.5-1.mga6
 lib64ustr1                               x86_64                   1.0.4-12.mga6
 libselinux-utils                         x86_64                   2.5-6.mga6   
 libsemanage-python                       x86_64                   2.5-6.mga6
 policycoreutils                          x86_64                   2.5-10.mga6
 python-IPy                               noarch                   0.81-11.mga6
 python-audit                             x86_64                   2.7.7-1.mga6


It also complained about not being able to install glibc.i686 nor libstdc++.i686, but I think I have them:
Code: Select all
ruben@Fractal ~]$ rpm -qa | grep glibc
glibc-2.22-25.mga6
[ruben@Fractal ~]$ rpm -qa | grep libstdc
libstdc++6-5.4.0-5.mga6

The installer also ran this command:
Code: Select all
lpadmin -p DCPL2500D -E -v usb://dev/usb/lp0 -P /usr/share/ppd/brother/brother-DCPL2500D-cups-en.ppd


Now I can't print anything at all, CUPS only says "waiting for the printer to become available". I can't scan either, XSane detects it but exits complaining about an I/O error. sane-find-scanner doesn't detect it.

Any ideas? Where to start?
Last edited by kateto on Dec 22nd, '17, 21:29, edited 1 time in total.
kateto
 
Posts: 37
Joined: Jul 31st, '12, 13:00

Re: Help troubleshooting a new Brother All-In-One

Postby wintpe » Dec 20th, '17, 18:45

yes

open a shell command and

su -

rpm -qa --last|head -20

now remove all those packages that were installed by the brother script , datestamp should help you see what was the first one to get installed ,

i suggest this , as im not sure what OS version they were tested with (looks like centos/redhat) from some of the dependent packages it tries to pull in
and mageia has its own package manager and repos with a wide range of printer drivers, and that should be your first port of call.
this is all documented in the extensive online mageia documentation.

now go to MCC icon on the desktop (a big cog if you use KDE/Plasma) , enter root password, select hardware , and then printers, add printer

and that should if the printer is supported in mageia do the right thing.

mageia tries to make the OS easy to use like windows, so always look in MCC first before venturing outside of what is the most obvious.

if the printer is a laser, which is sounds like from the model number theres a good chance that its also common with many other brother printers
so even if the printer is not detected , it may work with previous model numbers driver.

if the printer works but not the scanner (install that separately using the scanner install) then it may be necessary to look at those rpm's but not until you have checked the mageia supported printers

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1178
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Help troubleshooting a new Brother All-In-One

Postby kateto » Dec 21st, '17, 19:29

Well, Mageia isn't living up to the expectations in this case.

I uninstalled all packages installed by the script but the ones for the scanner, which started to work after following this advice (viewtopic.php?f=24&t=11854), and reinstalled the printer through MCC, first with the driver for DCP-8025D, then with the one for MFC-28820D. In both cases, no joy, the printer still doesn't print. I tried both sending a test page and printing from Kwrite, with no luck.

There are about 60 or 80 drivers for Brother printers in MCC. I suppose you won't ask me to try them all.

I also extracted the PPD file from the RPM package and tried to install it through MCC. It would complain about a missing file /usr/lib/cups/filter/brother_lpdwrapper_DCPL2500D, which the package would have installed at /opt/brother/Printers/DCPL2500D/. I then extracted and installed that other file in the expected place as well. No result either.
What's next then?
kateto
 
Posts: 37
Joined: Jul 31st, '12, 13:00

Re: Help troubleshooting a new Brother All-In-One

Postby kateto » Dec 21st, '17, 20:21

OK, I think what I really need is advice on how to run a 32-bit driver on a 64-bit machine.

Brother provides it for Fedora users: http://support.brother.com/g/s/id/linux ... =on#f00081

So, what I'd like to know is: where does Mageia 6 keep the Standard C libraries for 32-bit architecture?
kateto
 
Posts: 37
Joined: Jul 31st, '12, 13:00

Re: Help troubleshooting a new Brother All-In-One

Postby wintpe » Dec 22nd, '17, 12:19

Hi Kateto

Im sorry that the above advise did not work, but that is always the first thing to try and thats why i suggested it.
I did not want anyone reading this , in the future to thing this is the right default approach, we always recommend people try mageia repos first
I did not check that we dont support that particular printer, and from an HP point of view that approach often works.

32 bit versions of all libraries exist and if you go into the MCC and make sure that the 32 bit repos are selected in the configure media sources.

(dont bother adding testing/debug/backports for now)

then you should be able to go "into install and remove software" and type in a search string and both 32 bit and 64 bit versions will be shown available to be selected.

if theres a 64 bit version installed and you need a 32 bit, be sure to select the same version if multiple are offered.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1178
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Help troubleshooting a new Brother All-In-One

Postby kateto » Dec 22nd, '17, 21:28

THE PROBLEM IS FIXED! :D

I installed the package libstdc++5-3.3.6-15.mga6.i586 following this example: viewtopic.php?p=61848#p61848
Strangely, glibc-2.22-26.mga6.x86_64 was required and installed as a dependency. :?:

Then I reinstalled dcpl2500dlpr-3.2.0-1.i386 and dcpl2500dcupswrapper-3.2.0-1.i386 (I had kept them after Brother's installer script downloaded them).

Still no luck printing, the job was being held with the message "Waiting for the printer to become available". Then, I decided to do a search on that message, which retrieved a relevant page: https://ubuntuforums.org/showthread.php?t=2204606

I checked the CUPS server with Firefox, and indeed, it showed "Connection: usb:/dev/usb/lp0" for the printer. I chose the option "Modify printer", entered root password, and changed it to "Connection: usb://Brother/DCP-L2500D%20series?seria ... 0H7N518343" which CUPS offered as an option.

Then it started working! :P
Anyway, thanks for the help, Peter!
kateto
 
Posts: 37
Joined: Jul 31st, '12, 13:00

Re: [SOLVED] Help troubleshooting a new Brother All-In-One

Postby vatbier » Jan 7th, '18, 20:22

Kateto,
can you please explain how you installed the package libstdc++5-3.3.6-15.mga6.i586 following this example: viewtopic.php?p=61848#p61848 on Mag6 64bit?

Because I am getting desperate here trying to make my Mag6 64bit work with the 32bit drivers of my Brother printer:

Code: Select all
[root@this Downloads]# urpmi --debug --ignorearch libstdc++5-3.3.6-15.mga6.i586
no packages match libstdc++5 (it is either in skip.list or already rejected)


Update: I can print now! Apparently i586 packages of libstdc++5 and glibc are not needed to print to my Brother DCP-9010CN on my 64bit Mag6.
I also had to change device URI from "lpd://BRN001BA9E2A33/BINARY_P1" to "lpd://192.168.0.199/BINARY_P1".
In the past on 32bit Mag5 it worked with lpd://BRN001.../BINARY_P1. I don't know why I now have to explicitly use the ip address of the printer.
Last edited by isadora on Jan 7th, '18, 20:43, edited 1 time in total.
Reason: Repaired link
vatbier
 
Posts: 15
Joined: Aug 29th, '11, 23:45


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron