Info
Bij mijn eerste installatie van mint 18 ubuntu had ik helemaal uitgezocht hoe ik mijn brother DCP-J4120 aan de praat kon krijgen via WIFI voor zowel printen/.scannen: Dat was gelukt! helaas geen aantekeningen gemaakt.
Huidige status
Nu schone installatie van mint 18 ubuntu en ook geprobeert op gelijke manier de printer/scanner te installeren volgens deze drie aanwijzingen:
1. https://forums.linuxmint.com/viewtopic.php?t=223372#p1177958
https://askubuntu.com/questions/389636/invalid-argument-brother-scanner-not-working-after-upgrade-brscan2-driver
Proces 1-3 diverse malen geïnstalleerd restart, en uitgeprobeerd, en weer geïnstalleerd en opnieuw begonnen met herhaalde proces om werkend te krijgen! Maar geen werkende WIFIscanner.
Wel de printer werkte wel goed.
Dus kwam ik op VUEscan en die herkend hem meteen, moest wel 30eur aanschaffen, maar nu werkende scanner. Maar ik wil hem ook met GSscan/simplescan/Xsane werkend krijgen....please help!
Trouwens ik heb alle drivers en instellingen gecheckt en dubbelcheck!
Bij mijn eerste installatie van mint 18 ubuntu had ik helemaal uitgezocht hoe ik mijn brother DCP-J4120 aan de praat kon krijgen via WIFI voor zowel printen/.scannen: Dat was gelukt! helaas geen aantekeningen gemaakt.
Huidige status
Nu schone installatie van mint 18 ubuntu en ook geprobeert op gelijke manier de printer/scanner te installeren volgens deze drie aanwijzingen:
1. https://forums.linuxmint.com/viewtopic.php?t=223372#p1177958
2. http://support.brother.com/g/s/id/linux/en/index.html?c=nl&lang=nl&prod=dcpj4120dw_eu_as&redirect=onIf this doesn't worrk de-install your brother device, and follow the next procedure:
Just to be sure,
sudo gedit /lib/udev/rules.d/40-libsane.rules the following 2 lines: and check if the following lines haven't been removed.
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
Save the file and restart your computer.
Open a shell/terminal again and execute:
sudo lppasswd -g sys -a root
When you've done this you're prompted to give a password. That must be the password you usually use for root actions. Press enter
You're prompted again and enter the same password.
sudo apt-get install apparmor-utils
sudo aa-complain cupsd
sudo mkdir /usr/share/cups/model (Just the word model, not the model you have)
sudo mkdir /var/spool/lpd
sudo apt-get install ia32-libs
sudo apt-get install csh
sudo apt-get install sane-utils
sudo aa-complain cupsd (I'm not really sure if this has to be repeated, but it won't hurt)
sudo apt-get install psutils
If you use a firewall: The following ports are required to be open.
Inbound direction : UDP Port 54925
Outbound direction : TCP Port 54921
Make sure your device is connected to your computer
Open this url: http://support.brother.com/g/b/download ... &type3=625
That downloads the installation file and you find the remaining part of the installation instructions.
Restart your computer, every thing should be fine now.
3.Step 1. Login as a superuser ( or use "sudo" option if it is required )
Step 2. Check if pre-required procedures are completed
For Debian, Ubuntu
Step 3. Download a driver.
3-1. Check which driver will work with your product. (Product information is written in the driver download page)
3-2. Download the driver
Scanner Driver download page
Step 4. Install the driver
4-1. Turn on your MFC/DCP and connect to the network.
4-2. Open the terminal and go to the directory where the driver is.
4-3. Install the scanner driver
Command (for dpkg) : dpkg -i --force-all (scanner-drivername)
Command (for rpm) : rpm -ihv --nodeps (scanner-drivername)
Example(for dpkg) | Example(for rpm)
4-4. Check if the driver is installed
Command (for dpkg) : dpkg -l | grep Brother
Command (for rpm) : rpm -qa | grep -e (scanner-drivername)
Example(for dpkg) | Example(for rpm)
Step 5. Setting for your network scanner
***Use brsaneconfig (for brscan models), brsaneconfig2 (for brscan2 models), brsaneconfig3 (for brscan3 models) or brsaneconfig4 (for brscan4 models) accordingly.
5-1. Add network scanner entry
Command : brsaneconfig2 -a name=(name your device) model=(model name) ip=xx.xx.xx.xx
Example
5-2. Confirm network scanner entry
Command : brsaneconfig2 -q | grep (name of your device)
Example
Step 6. Try a test scan
6-1. Open a scanner application and try a test scan.
https://askubuntu.com/questions/389636/invalid-argument-brother-scanner-not-working-after-upgrade-brscan2-driver
Resultaat:How to find and fix the problem
install the brscan4 drivers from the brother website
sudo dpkg -i brscan4-0.4.2-1.amd64.deb
Check to see if it works
sudo brsaneconfig4 -d
Test to see if the scanner is installed (scanner need to be powered on). And run as a user NOT root
$ scanimage -L
device `brother4:bus5;dev1' is a Brother ADS-2000 USB scanner
$ scanimage --test
scanimage: open of device brother4:bus5;dev1 failed:
Invalid argument
or
$ scanimage
scanimage: open of device brother4:bus5;dev1 failed:
Invalid argument
To find out where the brother scanner is on the bus use lsusb. This is one of the problems in the scanimage. The bus is 003 and the device is 002 and not but 5 dev 1 as per scanimage
$ lsusb
Bus 003 Device 002: ID 04f9:60a0 Brother Industries, Ltd**
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
...
To fix the problem, you will need to use the path based on the location of the brother scanner in the lsusb command. In my case it was bus 003 and device 002. Note that if you unplug the USB cable to the scanner and plug it back in the device, you will get a new number and/or bus. (The number return back to 2 when you reboot the PC)
Examples:
$ sudo cd /dev/bus/usb/003
$ sudo chmod 666 002
or just:
$ sudo chmod 666 /dev/bus/usb/003/002
Scanimage need to fix the message when it can not access the scanner to have the right bus and dev number and also tell the user that the problem is a write access problem.
Brother needs to update the driver code so that global user can write to the scanner i.e. chmod 666 to the scanner driver location
Proces 1-3 diverse malen geïnstalleerd restart, en uitgeprobeerd, en weer geïnstalleerd en opnieuw begonnen met herhaalde proces om werkend te krijgen! Maar geen werkende WIFIscanner.
Wel de printer werkte wel goed.
Dus kwam ik op VUEscan en die herkend hem meteen, moest wel 30eur aanschaffen, maar nu werkende scanner. Maar ik wil hem ook met GSscan/simplescan/Xsane werkend krijgen....please help!
Trouwens ik heb alle drivers en instellingen gecheckt en dubbelcheck!


Verstand van 'Alles' van 'Niets'