Results 1 to 1 of 1

Thread: Brother MFC-9840CDW Scanner On UBUNTU 16.04 and 18.04

  1. #1
    Join Date
    Oct 2018
    Beans
    1

    Cool Brother MFC-9840CDW Scanner On UBUNTU 16.04 and 18.04

    1) Install xsane and libusb from repositories - THIS MUST BE DONE FIRST! (I tried for 3 hours to install with the below commands before realizing I didn't have xsane installed)
    Code:
    $sudo apt-get install xsane
    Code:
    $sudo apt-get install libusb-0.1-4
    2) First get the brscan3 package from here, which installs the brsaneconfig3 tool and install it (NOTE: download the correct brscan for your printer/scanner):
    Code:
    $sudo dpkg -i --force-all brscan3-0.2.13-1.amd64.deb
    3) Then (critical bit) create these links - for some reason the 32 bit and 64 bit compatibility scripts have fallen down here (probably due to the non-standard nature of the Brother deb packages):

    UBUNTU 16.04:
    Code:
    $sudo mkdir /usr/lib/sane
    Code:
    $sudo ln -sf /usr/lib64/libbrscandec3.so* /usr/lib
    Code:
    $sudo ln -sf /usr/lib64/sane/libsane-brother3.so* /usr/lib/sane
    UBUNTU 18.04:
    Code:
    $sudo ln -sfr /usr/lib64/libbrscandec* /usr/lib/x86_64-linux-gnu
    Code:
    $sudo ln -sfr /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane
    OR You can copy the files manually:

    Code:
    $sudo cp /usr/lib64/libbrscandec3.so.1.0.0 /usr/lib && cp /usr/lib64/sane/libsane-brother3.so.1.0.7 /usr/lib/sane && cp /usr/lib64/sane/libsane-brother3.so.1 /usr/lib/sane && cp /usr/lib64/sane/libsane-brother3.so /usr/lib/sane && cp /usr/lib64/libbrscandec3.so /usr/lib && cp /usr/lib64/libbrscandec3.so.1 /usr/lib
    5) Then define the scanner on your system (note, no spaces allowed in the values assigned... and capitalisation seems important) - to find the IP you might need to go to the scanner, hit "Menu" and find the network TCP/IP settings.
    Code:
    $brsaneconfig3 -a name=SCANNER model=MFC-9840CDW ip=Your-printer-IP
    6) This should result in a scanner definition - confirm it here (should be at the bottom of the list in a separate section, probably number 0) (Note: it creates a signature for the device in /usr/local/Brother/sane/brsanenetdevice3.cfg - you can check it here to make sure it's right...):

    Code:
    $brsaneconfig3 -q
    7) If that doesn't do it, you might need to add your user to the "scanner" group. Check the groups you're in by running

    Code:
    $groups
    at the command line when you're logged in. If you add yourself to the new group, you'll have to run "newgrp" or log out and in again to get the group membership to take effect.

    Code:
    $sudo adduser <user> scanner
    8) You can run the following diagnostics to see if the scanner is recognized:

    Code:
    $brsaneconfig3 -q
    9) If you mess up, you can remove any of them with

    Code:
    $brsaneconfig3 -r SCANNER
    Other Resources:
    Brother Support:
    MFC Scanner Article:
    Ubuntuforum threads on brother scanner:
    Another MFC Scanner Article:
    Brother Scanner on Ubuntu 12.04:
    Brother Scanner Linux Driver Depository:

    NOTE: I have read posts where the above will work with other Brother printers. Make sure you find out which category your brother printer is in: brscan4, brscan3, brscan2, brscan, etc - The brother website section on linux drivers will be able to assist you.

    PROFIT!

    System: Supermicro CSE-826 X9DRi-LN4F+. 2x Intel® Xeon(R) CPU E5-2697 v2 @ 2.70GHz × 48 cores, 256 GB RAM, Ubuntu 18.04.1 LTS, Gnome 3.28.2, 96 TB RAID6, Brother MFC-9840CDW local network
    Last edited by hindutool2; October 21st, 2018 at 12:10 AM. Reason: update url

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
  •