fatdadkev
November 29th, 2009, 11:34 AM
If your using the DCP-110C and find the scan function not working (XSane will respond with no devices found and the Scan to file will not work from the printer) then there's a simple fix but it can take some time to find all the information so I've put it all in this post.
I found this issue after upgrading from 9.40 to 9.10 so the fix is slightly different for 9.10, i've put both solutions here though.
Download the brscan and brscan-skey files.
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.html
You will notice if you install the packages (Brscan first then the Scan key package) you may still not see the device or be able to scan.
You can force a re-install..
Change to the directory you saved the .deb files.
sudo dpkg -i --force-all (name of the deb file)
i.e mine was sudo dpkeg -i --force-all brscan2-0.2.4-0.i386.deb
Then do the same for the skey deb package.
Check the drivers installed.
sudo dpkg -l | grep Brother
For my system I see....
ii brscan-skey 0.2.1-1 Brother Linux scanner S-KEY tool
ii brscan2 0.2.4 Brother Scanner Driver
ii cupswrapperdcp110c 1.0.2-3 Brother DCP110C CUPS wrapper driver
ii dcp110clpr 1.0.2-1 Brother lpr Inkjet Printer Definitions
So the drivers are installed, but why can't I scan ?
We're almost done though, we need to change a file to enable the functionality.
For Ubunut 9.10 edit the following file
sudo gedit /lib/udev/rules.d/40-libsane.rules
and add the following two lines at the bottom
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
If your using Ubuntu 9.04 then the edit this file....
sudo gedit /lib/udev/rules.d/50-udev-default.rules
Edit the line
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ... , MODE="0664"
to this...
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ... , MODE="0666"
Either way, save the file and reboot.
lsub will show the Brother device now (it was not showing before although the printer was working fine).
Bus 001 Device 003: ID 0d49:3200 Maxtor
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 045e:0083 Microsoft Corp. Basic Optical Mouse
Bus 004 Device 002: ID 04f9:0169 Brother Industries, Ltd DCP-110C RemovableDisk
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
You should fine XSane will now scan and offer all the facilities.
If you intend to use the "Scan to file" function then the skey program will need enabling.
Command is brscan-skey
you can check the scankey can see your scanner
brscan-skey -l
mine shows.
DCP-110C : brother2:bus3;dev2 : USB Active
If you use scan to file on the printer you should see similar to this (in the console window)
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
the file will be sent to /home/yourhome/brscan/filename.
As mentioned before these instructions are in the Brother Solution Center but it took me considerable time to find the final solution due to it being placed over several pages.
Credit to Brother for supporting the Linux community so all acknowledgements to them for information included here.
I found this issue after upgrading from 9.40 to 9.10 so the fix is slightly different for 9.10, i've put both solutions here though.
Download the brscan and brscan-skey files.
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.html
You will notice if you install the packages (Brscan first then the Scan key package) you may still not see the device or be able to scan.
You can force a re-install..
Change to the directory you saved the .deb files.
sudo dpkg -i --force-all (name of the deb file)
i.e mine was sudo dpkeg -i --force-all brscan2-0.2.4-0.i386.deb
Then do the same for the skey deb package.
Check the drivers installed.
sudo dpkg -l | grep Brother
For my system I see....
ii brscan-skey 0.2.1-1 Brother Linux scanner S-KEY tool
ii brscan2 0.2.4 Brother Scanner Driver
ii cupswrapperdcp110c 1.0.2-3 Brother DCP110C CUPS wrapper driver
ii dcp110clpr 1.0.2-1 Brother lpr Inkjet Printer Definitions
So the drivers are installed, but why can't I scan ?
We're almost done though, we need to change a file to enable the functionality.
For Ubunut 9.10 edit the following file
sudo gedit /lib/udev/rules.d/40-libsane.rules
and add the following two lines at the bottom
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
If your using Ubuntu 9.04 then the edit this file....
sudo gedit /lib/udev/rules.d/50-udev-default.rules
Edit the line
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ... , MODE="0664"
to this...
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ... , MODE="0666"
Either way, save the file and reboot.
lsub will show the Brother device now (it was not showing before although the printer was working fine).
Bus 001 Device 003: ID 0d49:3200 Maxtor
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 045e:0083 Microsoft Corp. Basic Optical Mouse
Bus 004 Device 002: ID 04f9:0169 Brother Industries, Ltd DCP-110C RemovableDisk
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
You should fine XSane will now scan and offer all the facilities.
If you intend to use the "Scan to file" function then the skey program will need enabling.
Command is brscan-skey
you can check the scankey can see your scanner
brscan-skey -l
mine shows.
DCP-110C : brother2:bus3;dev2 : USB Active
If you use scan to file on the printer you should see similar to this (in the console window)
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
the file will be sent to /home/yourhome/brscan/filename.
As mentioned before these instructions are in the Brother Solution Center but it took me considerable time to find the final solution due to it being placed over several pages.
Credit to Brother for supporting the Linux community so all acknowledgements to them for information included here.