LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-08-2007, 08:17 PM   #1
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
installing a "MFC210C" Brother Printer on Slackware


Trying to follow the directions on "Brother Printer Web Site" and I must not understand something so here's where I'm at.

1) Downloaded, converted, and Installed the following files.
Code:
 MFC210Clpr-1.0.2-1.i386.rpm     cupswrapperMFC210C-1.0.0-1.i386.rpm
2) Now, I go to "localhost:631/admin" and I it shows the the following under new printers found.
Code:
Add This Printer Brother MFC-210C (Brother MFC-210C USB #1)
So, that's a good sign, somehow the computer knows what and where the printer is...

So when I click "add this printer" and it goes to the next page to select the "Make" it does not show "brother" at all...

I've googled and cant find anything...

Thanks
 
Old 09-10-2007, 05:55 AM   #2
yvesvanbelle
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: Debian, Ubuntu, Mandriva
Posts: 67

Rep: Reputation: 15
Hello davimint,

First see you have csh or tsch installed. Next do _not_ convert the packages from rpm to tgz, but just install the packages with rpm.

rpm -ihv --nodeps MFC210Clpr-1.0.2-1.i386.rpm
rpm -ihv --nodeps cupswrapperMFC210C-1.0.0-1.i386.rpm

Now everything should work. cupswrapperMFC210C is a C script that creates a PPD file at the correct place, and i thinck your convertor did not convert the script.

Best regards,

Yves
 
Old 11-05-2007, 11:49 PM   #3
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
How to Install a MFC210C Brother Printer in Slackware

From looking at the thread count on my original post maybe this will help someone out. Since this was a garage sale item and not my main printer I never did focus on it after I had my problems some months back. So today I had time and decided to figure it out. The following is a newbie approach to setting up MFC210C brother printer in Slackware12.

Note: This is how I got a MFC210C working and there are other instructions for Brother Printers on there site, So I only know these instructions will work for this printer on Slackware12.

First, before anything else make sure that the printer is hooked up and on before you start. Also, make sure that /etc/rc.d/rc.cups is executable. ( chmod 755 /etc/rc.d/rc.cups )

First, download the correct LPR Driver & Cups wrapper from this site.
Note: download the Red Hat driver (rpm) not the Debian package.

http://solutions.brother.com/linux/s...s_drivers.html

Create a new directory and put both drivers in it (named my directory "brother_printer") and change to that directory.

At this point go ahead and su into the root account,

Now, here's the part that I'm not sure about. According to Brother you must use a c-shell to install the package. I used the command tcsh from the command line which changed my prompt so I can only guess it changed the shell.

Convert the rpm packages to native Slackware tgz packages using rpm2tgz.
Example: rpm2tgz MFC210Clpr-1.0.2-1.i386.rpm
Example: rpm2tgz cupswrapperMFC210C-1.0.0-1.i386.rpm

Install the newly created packages.
Note: you must install the LPR package first per Brothers instructions.

Now, it would make since that your done, but here's the part that got me the first time I tried. Even though you installed the cupswrapper it did not work because your missing a link. Slackware does not use /etc/init.d/cups it used /etc/rc.d/rc.cups. Lets fix that.

Code:
 ln -s /etc/rc.d/rc.cups /etc/init.d/cups

One more thing, now we need to do what the install could not since it was not linked correctly.

Change to the Brother directory
Code:
cd /usr/local/Brother/cupswrapper/
Now, run the cups wrapper
Code:
./cupswrapperMFC210C-1.0.0
You should see that cups was restarted and all you have to do now is setup your printer with "localhost:631" from your web-browser.

This information was written to help a newbie like myself who is trying to learn. I feel sure there are people with more knowledge who can make this better. My intention was not to write a "howto" but to help out others and not to tell anyone something wrong. But like I stated I am still learning.
 
1 members found this post helpful.
Old 12-12-2008, 04:30 AM   #4
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by davimint View Post
From looking at the thread count on my original post maybe this will help someone out. Since this was a garage sale item and not my main printer I never did focus on it after I had my problems some months back. So today I had time and decided to figure it out. The following is a newbie approach to setting up MFC210C brother printer in Slackware12.
I can confirm that this works on 12.2 as well.
 
Old 06-08-2009, 01:22 PM   #5
Quercus ruber
Member
 
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 135

Rep: Reputation: 24
Smile dcp-585cw works as well

Following davimint's instructions I've just successfully installed a Brother dcp-585cw. I had to modify it a tiny amount, but in case anyone's interested, here's the sequence of commands I used after downloading the drivers from the brother homepage (BTW It has wlan capabilities which work fine.):

Code:
root@Amilo:/home/mum/Downloads/Brother# rpm2tgz dcp585cwcupswrapper-1.1.2-2.i386.rpm
root@Amilo:/home/mum/Downloads/Brother# rpm2tgz dcp585cwlpr-1.1.2-2.i386.rpm
root@Amilo:/home/mum/Downloads/Brother# ls -l
total 3744
-rw-r--r-- 1 mum  mum    14724 2009-06-06 21:00 dcp585cwcupswrapper-1.1.2-2.i386.rpm
-rw-r--r-- 1 root root   11854 2009-06-06 21:05 dcp585cwcupswrapper-1.1.2-2.i386.tgz
-rw-r--r-- 1 mum  mum  1900161 2009-06-06 21:02 dcp585cwlpr-1.1.2-2.i386.rpm
-rw-r--r-- 1 root root 1896194 2009-06-06 21:06 dcp585cwlpr-1.1.2-2.i386.tgz
root@Amilo:/home/mum/Downloads/Brother# installpkg dcp585cwlpr-1.1.2-2.i386.tgz
Installing package dcp585cwlpr-1.1.2-2.i386...
PACKAGE DESCRIPTION:

root@Amilo:/home/mum/Downloads/Brother# installpkg dcp585cwcupswrapper-1.1.2-2.i386.tgz
Installing package dcp585cwcupswrapper-1.1.2-2.i386...
PACKAGE DESCRIPTION:

root@Amilo:/home/mum/Downloads/Brother# ls /etc/init.d/
README.functions  functions
root@Amilo:/home/mum/Downloads/Brother# ldconfig
root@Amilo:/home/mum/Downloads/Brother# ln -s /etc/rc.d/rc.cups /etc/init.d/cups
root@Amilo:/home/mum/Downloads/Brother# cd /usr/local/Brother/
root@Amilo:/usr/local/Brother# ls
Printer/
root@Amilo:/usr/local/Brother# cd Printer/
root@Amilo:/usr/local/Brother/Printer# ls
dcp585cw/
root@Amilo:/usr/local/Brother/Printer# cd dcp585cw/
root@Amilo:/usr/local/Brother/Printer/dcp585cw# ls
cupswrapper/  inf/  lpd/
root@Amilo:/usr/local/Brother/Printer/dcp585cw# cd cupswrapper/
root@Amilo:/usr/local/Brother/Printer/dcp585cw/cupswrapper# ls
brcupsconfpt1*  cupswrapperdcp585cw*
root@Amilo:/usr/local/Brother/Printer/dcp585cw/cupswrapper# ./cupswrapperdcp585cw
cups: restarted scheduler.                                 [  OK  ]
root@Amilo:/usr/local/Brother/Printer/dcp585cw/cupswrapper#
I use cups from a browser. Restarting the scheduler "found" a printer that didn't exist, because its not connected directly to the pc, but to the router with wlan (ip 192.168.1.10), and I deleted this. The printer was successfully found from the browser and shows up like this:

Code:
Description: Brother 585cw
 Location: LAN
 Printer Driver: Brother DCP-585CW CUPS v1.1
 Printer State: idle, accepting jobs, published. 
Device URI: socket://192.168.1.10
We have a small lan here at home, comprising of a laptop and desktop (slackware) and another laptop with xp. Now when both linux machines are on, the printer appears twice; once as described above, and again as seen from the other machine, eg

Code:
Description: Brother DCP-585CW
 Location: LAN Printer
 Printer Driver: Brother DCP-585CW CUPS v1.1 on 192.168.1.5
 Printer State: idle, accepting jobs, not published. 
Device URI: ipp://192.168.1.5:631/printers/Brother_DCP-585CW_192.168.1.10
I'm very happy with it in its capacity as a printer and standalone photocopier for our small load. I haven't figured out how to get the scanner to work so any tips in that direction would be appreciated.

ros
 
Old 06-08-2009, 04:05 PM   #6
Quercus ruber
Member
 
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 135

Rep: Reputation: 24
Smile Scanner works too.

Hi

I installed the scanner drivers from the brother page for linux drivers. The DCP-585cw requires variation 3. I proceeded as follows:

Code:
root@Amilo:/home/mum/Downloads/Brother# rpm2tgz brscan3-0.2.6-1.i386.rpm
root@Amilo:/home/mum/Downloads/Brother# rpm2tgz brscan-skey-0.2.1-3.i386.rpm
root@Amilo:/home/mum/Downloads/Brother# installpkg brscan3-0.2.6-1.i386.tgz
Installing package brscan3-0.2.6-1.i386...
PACKAGE DESCRIPTION:

root@Amilo:/home/mum/Downloads/Brother#


mum@Amilo:~$ brsaneconfig3 -a name=SCANNER model=DCP-585CW ip=192.168.1.10
mum@Amilo:~$ brsaneconfig3 -q |grep SCANNER
  0 SCANNER             "DCP-585CW"         I:192.168.1.10
This didn't cause the scanner to be recognised and the command sane-find-scanner gave me a result similar to this, but that led me to here

suggesting that a line for brother3 was missing in /etc/sane.d/dll.conf. I suppose I could have added it by hand but I did this instead:

Code:
root@Amilo:/usr/local/Brother/sane# ./setupSaneScan3 -i
root@Amilo:/usr/local/Brother/sane# less /etc/sane.d/dll.conf
and now xsane works. Cool. So I thought I'd share my success.

ros
 
Old 07-08-2009, 08:26 AM   #7
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Hi there,

I just bought a Brother MFC-290C. Following the excellent advice in this thread I can print as a normal user, but scan only as root. It's a USB only device, no Ethernet connection.

As I tried to do my homework, my user is a member of group scanner and I've found out that I probably have to create an udev rule for this device. However, I am on Slackware 12.2, and all the hints I find are for older versions of Slackware and udev.

Has anyone a working udev rule for this or a similar Brother device for Slackware 12.2 and is willing to post it here?

Thanks a lot!

gargamel
 
Old 07-09-2009, 01:37 AM   #8
yvesvanbelle
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: Debian, Ubuntu, Mandriva
Posts: 67

Rep: Reputation: 15
Hello Gragamel,

You can find the udev rules on the Brother Linux site:

http://solutions.brother.com/linux/e...ion_scn1c.html

I hope they can help you.

Best regards,

Yves
 
Old 07-09-2009, 06:59 AM   #9
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Thanks, yvesvanbelle, but all the examples are for other distributions. I am on Slackware 12.2, here, and my problem is:

All the the examples I found are one out of these:
- for another distro
- for an older version of Slackware
- for a different device
- for use over Ethernet

What I would appreciate is a working example for a Brother MFC-2xx device connected only via USB on Slackware 12.2.

Currently I am able to
- print from all applications tested so far as a normal user
- scan as root user, but not as a non-privileged user
- and there is a CUPS queue and pseudo printer for BRfax, (not able to send faxes from the PC, yet, but that piece is left for later)

What I need to get working properly is the scanner, though.
Thanks for any hint pointing me in the right direction!

gargamel
 
Old 07-09-2009, 06:59 AM   #10
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
EDIT: DELETED Double Post. Sorry!
gargamel

Last edited by gargamel; 07-09-2009 at 07:00 AM.
 
Old 07-09-2009, 07:17 AM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
There are plenty of examples for Brother devices in /lib/udev/rules.d/80-libsane.rules.
e.g.
Code:
# Brother MFC-210C
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="0161", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
You only need to know the idProduct which can be obtained from the output of 'lsusb'

Also, remember that for a normal user to be able to use the scanner, they need to be a member of the 'scanner' group.

Last edited by allend; 07-09-2009 at 07:23 AM.
 
Old 07-09-2009, 01:21 PM   #12
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Thanks! This shows me that I haven't understood udev configuration. I've never looked in /lib/udev/rules.d, but only in /etc/udev/rules.d.

With my current understanding I would now do this:

- Reconnect the MFC-290C
- Add a line for it to /lbi/udev/rules.d/80-libsane.rules
- Restart udev

If all goes well I'd expect to see a new file /etc/udev/rules.d/80-libsane.rules, automatically created, then. Correct?
Or would I have to restart HAL, too?

gargamel

Last edited by gargamel; 07-09-2009 at 01:31 PM.
 
Old 07-09-2009, 07:52 PM   #13
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
It should only be necessary to:
- Add a line for it to /lib/udev/rules.d/80-libsane.rules
- Reconnect the MFC-290C
Upon reconnection, the presence of the udev rule should trigger the creation of the appropriate device file entries for the scanner to be accessed.

PS-The location of the udev rules was changed from /etc to /lib going from Slackware 12.1 to Slackware 12.2.

Last edited by allend; 07-09-2009 at 07:56 PM.
 
Old 07-09-2009, 08:55 PM   #14
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Thanks for your support, allend, I have it all working now: Printer, scanner and fax.

Somehow I noticed some changes in /etc/udev, but never looked into /lib/udev. However, some files are still in /etc/udev, it seems:

Code:
# ls
70-persistent-cd.rules
70-persistent-net.rules
80-canon-mfp.rules
(Last entry generated by a Canon driver).

Not sure, if they have any effect, now, that the structure has changed.
I'll have to see, what udev things look like on my other machine running Slackware64-current, once I have it back (hardware crash caused by a lightning flash) and learn about all the changes regarding HAL and Udev in the last two years, it seems.

Thanks again, your advice was precisely to the point!

gargamel

Last edited by gargamel; 07-09-2009 at 08:57 PM.
 
Old 07-21-2009, 06:23 PM   #15
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Keep coming back, as new issues arise...

As I reported above, everything is fine on my 32-bit box. On Slackware64-current I have a couple of problems left to solve, and I would appreciate if someone could provide a hint.

1. Scanning with Skanlite always scans about 1cm too much of the page bottom. An ugly lower border in the copy is the consequence. Is this a bug (a) of the printer or (b) of the user or (c) of our own software.

2. I can't seemn to get the PC Fax functionality working, yet, on 64 bit. Brother describes pre-requisites for a successful install on various distributions their web pages, just not for Slackware. EDIT: No such problem with XSane, but I prefer using KDE apps in KDE...
I am stuck.

Can anyone provide a hint, how to get PC Fax functionality of a Brother AIO working?
Thank you!

gargamel

Last edited by gargamel; 07-21-2009 at 07:28 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing pdf "printer" in latest version of open office John Master Linux - Newbie 3 05-07-2007 11:42 PM
"Installing non-distro Linux on USB key" or "Using syslinux to boot a jffs2" lymae Linux - Newbie 6 12-31-2006 10:00 PM
Brother MFC210C issues rswier Linux - Hardware 0 09-29-2006 06:52 PM
Installing Slackware "patches"? pnellesen Slackware 2 06-15-2005 08:08 PM
Installing Fed3 "over" a slackware partition SavageNick Fedora - Installation 2 05-25-2005 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration