Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: HOWTO: printer scanner (Brother)

  1. #1
    Join Date
    Aug 2005
    Beans
    137

    HOWTO: printer scanner (Brother)

    As http://linuxprinting.org points out, the state of multifunction devices that work well for Linux isn't very good. One that I've discovered works quite nicely however is Brother. While their LPR drivers are proprietary, at least they are offered and they work well. I have recently installed two such devices on Hoary - MFC-420CN and MFC-210C. I chose Brother both times for these reasons:
    - good reviews
    - inexpensive to purchase (both were under $100.00 after rebates)
    - I could get inexpensive generic ink cartridge replacements (~$5.00/ea)
    - there were Linux drivers available

    The only prerequites I've found is that the drivers need these installed:
    - cups
    - xsane and sane
    - csh
    The first two are installed in a default Hoary install, I believe. The last one, csh, needs to be installed separately with either apt-get or Synaptic.
    The Brother Linux site is located here: http://solutions.brother.com/linux/en_us/index.html .

    What follows is pretty much the same instructions that are posted on the Brother site, with one major modification. Also, these instructions assume a USB connection to the device, not a network connection. I believe there is a different thread covering a Brother network printer.

    1) From the above Brother site, find and download the Debian LPR driver for your MFC, the Debian CUPS wrapper (if available), and the Debian scanner driver. Pay close attention to getting the correct ones for your device - their web site could definitely be clearer.

    2) After fulfilling the prerequisites metioned earlier, install the LPR drivers first e.g.:
    Code:
    sudo dpkg -i mfc210clpr-1.0.2-1.i386.deb
    3) Then install the CUPS wrapper (if available) similarly e.g.:
    Code:
    sudo dpkg -i cupswrappermfc210c_1.0.0-1_i386.deb
    4) Then install the scanner driver. These instructions are where one major modification take place.
    a) install the scanner package e.g.:
    Code:
    sudo dpkg -i brscan2-0.0.1-0.i386.deb
    b) edit the /etc/fstab file e.g.:
    Code:
    sudo gedit /etc/fstab
    add the following line to the end of the file:
    Code:
    none /proc/bus/usb usbfs auto,devmode=0666 0 0
    save
    (Note the Brother instruction say to use 'usbdevfs'. This won't work. It must be 'usbfs'.)
    c) modify the USB access control e.g.:
    Code:
    sudo umount /proc/bus/usb
    sudo mount /proc/bus/usb
    sudo mknod -m 666 /dev/usbscanner c 180 48
    That's it. Your printer should have magically appeared in System -> Administration -> Printing and your scanner should now be recognized by xSane when you navigate to Applications -> Graphics -> XSane.

  2. #2
    Join Date
    May 2005
    Beans
    21

    Re: HOWTO: printer scanner (Brother)

    I went about this a bit differently..

    Instead of putting devmode=0666 in the usbfs line in fstab, I go about this a different route. I think putting devmode=0666 as suggested opens the permission of all nodes under /proc/bus/usb so that they're readable and writable to anyone, which may open security risk.

    Potentially, a better way is to add brother USB device ID into /etc/hotplug/usb/libsane.usermap.
    So edit that file with your favorite editor, and add the following lines:

    Code:
    # Brother|MFC 210c
    libusbscanner             0x0003      0x04f9   0x0161    0x0000       0x0000       0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
    That line will make the scanner device of the multifunction USB device to be owned by root.scanner by the hotplug subsystem. So with this, only users that are a part of the scanner group can access the printer. Security-wise, this is better, and this is how Ubuntu scanner system was designed to work, AFAIK.

  3. #3
    Join Date
    Dec 2005
    Beans
    3

    Re: HOWTO: printer scanner (Brother)

    I try MFC9880 with Ubuntu Dapper, and scaneimage said:

    $ scanimage >toto.pnm
    $ scanimage: open of device brother:bus5;dev1 failed: Error during device I/O

    but scanimage work with sudo

    Why?

  4. #4
    Join Date
    Mar 2006
    Location
    South Carolina
    Beans
    49
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: printer scanner (Brother)

    I have the same problem after upgrading to Dapper (over this past weekend). The thread below shows a solution but I have yet to implement it. I will add that running xsane as sudo did work in my case so I believe it is safe to say it is a permissions problem. Also, this problem was not an issue for me on Breezy.

    http://www.ubuntuforums.org/showthre...rother+scanner

  5. #5
    Join Date
    Mar 2006
    Location
    South Carolina
    Beans
    49
    Distro
    Ubuntu 10.04 Lucid Lynx

    Lightbulb Re: HOWTO: printer scanner (Brother)

    Well I gave the fix I mentioned in my earlier post a go but to no avail. Xsane simply re-created the hidden folder under my home folder. However, what did work is adding the following line to /etc/udev/rules.d/45-libsane.rules:

    Code:
    # Brother|DCP 7020
    SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0183", MODE="664", GROUP="scanner"
    Then I turned the device off and then on and it worked, no errors.

    The Vendor and Product ID's can be obtained by using sane-find-scanner which is part of the sane-utils (installable from the Synaptic Package Manager)

    Hope this helps someone.

  6. #6
    Join Date
    Jan 2005
    Location
    Mount Morris, Michigan
    Beans
    176

    Re: HOWTO: printer scanner (Brother)

    Frio, thank you !!! I have that same model and I really needed to get the scanner working. Thanks!!

  7. #7
    Join Date
    Dec 2006
    Location
    Perth, Scotland
    Beans
    1
    Distro
    Kubuntu 6.10 Edgy

    Re: HOWTO: printer scanner (Brother)

    Yup, confirmed, that works with the DCP110C either.
    Here's a quick howto...
    In addition to the usual Brother installation procedure, straight after the "mknod ..." command, do this procedure. All the steps must be done in a root terminal (enter the command "sudo -i").

    1.Open the file "/etc/udev/rules.d/45-libsane.rules" with an editor, e.g vi.
    2.Add the following description to the file, just after the other two Brother models (MFC 7300 and MFC 9600C) as below:
    =================
    # Brother DCP 110C
    SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0169", MODE="664", GROUP="scanner"
    =================
    3.Restart the user devices with the following command:
    $ /etc/init.d/udev restart

    There is no need to restart the OS.
    Happy scanning!

  8. #8
    Join Date
    Jul 2006
    Location
    Marlborough, NZ
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: printer scanner (Brother)

    Thanks guys, this had my DCP 130C up and scanning in about ten minutes (after staring incomprehensibly at the instructions on the Brother page for far too long!)

  9. #9
    Join Date
    Jan 2007
    Beans
    34

    Re: HOWTO: printer scanner (Brother)

    I have a 420CN and have been having problems with it. I got up to 4c where it said to enter

    sudo umount /proc/bus/usb
    It came up with

    /proc/bus/usb: device is busy
    I tried turning the printer off and I checked to see if I had any applications running that would cause it to be busy, but it still did not work.

    At this point, I also decided to check the System-->Administration-->Printing to see if my printer was there and it wasn't. Can someone help me?

  10. #10
    Join Date
    Feb 2006
    Location
    Down Under
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: printer scanner (Brother)

    Just a note - I have a DCP-130C running without too much trouble.

    I had an issue printing PDFs from Document Viewer - the top few cm were always cut off. I solved that by installing the acroread package, and printing from there.

    Oh, and turtlepaul - I had the same issue re "device is busy" message. I can't remember exactly how I fixed it, but it involved rebooting the printer, possibly with the machine plugged in but turned off and skiiping the "umount" bit and maybe even the "mount" bit.
    Last edited by phpmonkey; March 5th, 2007 at 03:19 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •