in my case it doesn't work for the normal user and I have to be root to be able to scan , I know: it has to do with the udev-rules / hotplug-...
but in the moment I haven't got much time, so this problem should be fixed in the future and added to this howto sometime

So if you get an error message like the following:

Quote:

Failed to open device `brother2:bus3;dev2`:
Error during device I/O.

try to fix the access rules in the /proc/bus/usb-section by chmodding or simply execute xsane (or your favorite scanning application) with
root rights (remember: this can be a security problem!)

Is it working for you?? I'm looking forward to hear from you

8. Troubleshooting: If it doesn't work for you: (the following steps shouldn't be necessary any more!)

I've got a Brother MFC 4800 and your instructions worked for me. Later on I'll write the udev rules for the device and send them to you to enhance your howto. Thanks for a simple and effective howto._________________- Novensiles divi Flamen

I was recently given a Brother DCP 1000. I have successfully set up the printer part of it. Not so lucky with the scanner portion. I followed the directions on the website and then saw your discussion here and followed these (essentially the same) directions. I think my problem may have something to do with the fact that my device is not in the /etc/hotplug/usb/libsane.usermap. If I do a "sane-find-scanner" command I get the following output, which I think is a positive sign.

Quote:

# 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=0x0112) at libusb:003:002
# 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.

However, when I run "cat /etc/hotplug/usb/libsane.usermap | grep 0x4f9" I get the following output.

I followed your guide to just get my Brother DCP-110C printer to print. I am not concerned with scanning yet, but not even the print function is functioning properly!

I went into the cups configuration site (localhost:631) and configured my printer just fine. When I send a test print to the printer through this site, it says that it is sending the data to the printer, but it hangs here: "Sending print file, 14542 bytes..." The printer never makes any sign of life afterwards. And yes, the printer IS on. I know that the computer sees it, because it gives: "Device URI: usb://Brother/DCP-110C".

I'm concerned. I am running amd64 with ck-sources kernel 2.6.15-r3. XSane did not give me any better results. Any help would be REALLY appreciated!!! Thanks in advance,
-Andrew

EDIT: I just discovered that you said that 2.6.15 doesn't work with the printer. Well, that's no good! I noticed that your last edit was on February 4th, however, and I am wondering if maybe, since the last edit of your post, there has been a fix to the problem? I am unable to find anything on Google or other such resources. Thanks again!

1.) Important change from the previous configuration (in that configuration it was working only with <=2.6.12-kernels)
I've removed my use-flags: "hal" and "dbus"
=> the brscanX-backends seem to have problems with with hal-support so I removed them

alternatively you can also try to just disable dbus and hal:

Code:

/etc/init.d/hald stop && rc-update -d hald

Code:

/etc/init.d/dbus stop && rc-update -d dbus

2.) emerge the needed software

Code:

ACCEPT_KEYWORDS="~x86 USE="debug" emerge xsane

Code:

ACCEPT_KEYWORDS="~x86" emerge sane-backends rpm tcsh

(perhaps more due to USE-FLAGs-dependencies, my use-flags are listed above)

3.) add yourself to the scanner-group

Code:

gpasswd -a <user> scanner

<user> stands for your user-name

4.) add "brother2" to the following file (only when it hasn't already been added)
/etc/sane.d/dll.conf
brother2

5.) this applies to the brscan2-backend, change /etc/sane.d/brother.conf for the brscan-backend
/etc/sane.d/brother2.conf (for the brscan2-backends)
port /dev/usb/lp0

/etc/sane.d/brother.conf (for the brscan2-backends)
port /dev/usb/lp0

notice: there's a new version of the brscan2-backend: brscan2 ver.0.0.2-1

6.) kernel-settings:
usb-storage should be compiled as a module, the same applies to usblp (usb-printer-support)

I haven't added coldplug and hotplug to the "default"-runlevel yet so I'm still not sure if it makes a difference

update:
It doesn't so you can add hotplug and coldplug to the default runlevel:

Code:

rc-update -a hotplug default

Code:

rc-update -a coldplug default

7.) /etc/fstab
just add the following line like advised in the brother-sane installation-instructions:

concerning the scanner-feature/-issue: they seem to work on it *fingers crossed*

Quote:

Brother is now developing drivers which are designed to work on Linux distributions, Redhat, Mandriva(Mandrake), SuSE, Debian and FedoraCore. We have developed two types of driver: LPR drivers and CUPS drivers.

btw, if you are getting an error stating that the filter for the MFC-420CN can't be found, copy /usr/lib/cups/filter/brlpdwrapperMFC420CN to /usr/libexec/cups/filter/. I can't believe I almost gave up such an awesome printer over so stupid an error >_<

ok i installed the driver, but i had a lot of problems with the borders, because KDE (Kontrollzentrum) and cups (http://localhost:631/) said the driver use A4 but he didnt.
After a lot of searching i found a thread in a smilar condition, but the user used symlinks.

solution:
edit simply:
/usr/local/Brother/cupswrapper/cupswrapperMFC210C-1.0.0,
and change the "Default*...BrLetter" to "Default*...BrA4/A4"
and then edit /usr/local/Brother/inf/brMFC210Cfunc & brMFC210Crc and change PaperType=Letter to PaperType=A4

con

Last edited by conloos on Tue Sep 26, 2006 10:09 pm; edited 1 time in total

Hello!
I have Brother MFC-5440CN and I made it work following your steps in this howto. When connected via USB it wokrs nice, although i must be root to scan. I can also print when connected via network cable using CUPS, but i can't scan. How could i make scanning possible over network?
I suggest you write a howto at http://gentoo-wiki.com.