Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Brother MFC-240C scanner



I have a Brother multifunction device (MFC-240C). It was running just fine some years ago when I Funtoo ran on 32 bit station. Nowadays only printer works in a Funtoo 64 bit environment while it is fully supported in a Debian 64 bit environment.


Right driver is installed, rpm edition of 64 bit brscan2. Please note that printer drivers are 32 bit. There are no 64 bit available.


media-gfx/simple-scan and media-gfx/sane-backends are installed. Both simple-scan and scanimage -L report that scanner is not detected no matter how commands are run (as root or as user).


My user belongs to scanner and lp groups :

guy@Funtoo ~ $ groups
lp wheel audio cdrom video cdrw usb users scanner guy

Rules for Brother are properly set. Excerpt from lib/udev/rules.d/41-libsane.rules :

ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01ab", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"

What lsusb ans sane-fine-scanner report :

guy@Funtoo ~ $ lsusb
Bus 002 Device 008: ID 04f9:01ab Brother Industries, Ltd MFC-240C
Bus 002 Device 007: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 005: ID 0424:7500 Standard Microsystems Corp. LAN7500 Ethernet 10/100/1000 Adapter
Bus 002 Device 004: ID 045e:0752 Microsoft Corp. Wired Keyboard 400
Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:6406 Microdia 
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
guy@Funtoo ~ $ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04f9, product=0x01ab) at libusb:002:008
found USB scanner (vendor=0x0424 [WS], product=0x7500 [USB Gigabit LAN]) at libusb:002:005
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

What it happens when runnning scanimage :

guy@Funtoo ~ $ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Brother and scanner modules are in /usr/lib64 and /usr/lib64/sane with symlinks to /usr/lib and /usr/lib/sane accordingly.


Is there anyone to tell me where to look at ?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I haven't played with "sane" too much, but a quick google search for "gentoo sane" found this link in the gentoo wiki.


One thing on the wiki page I noticed that you didn't mention was xsane. (see Prerequisites. )


Hope this helps.



I looked at that wiki before.


media-gfx/xsane is a scanning software. It is like media-gfx/simple-scan. The later is a lighter tool than xsane. Indeed you need to install such a tool when you want to use a GUI. The under the hood tool is scanimage which is provided by media-gfx/sane-backends. In other words when you scan from the command line you launch scanimage at the prompt. When you do from a GUI it may be xsane or simple-scan or any other GUIs available.


Thank for your comment.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...