I thought it is enough to check for the scanner having linux support by the manufacturer and NixOS having the drivers available. But after following wiki and the options I only get it running on eSCL, but not as as brother5: device.
Disabling eSCL with hardware.sane.disabledDefaultBackends = [ "escl" ]; results in no scanners detected.
What I included:
hardware.sane = {
enable = true;
brscan5 = {
enable = true;
netDevices = {
ADS-1800W = {
name = "Brother";
model = "ADS-1800W";
ip = "192.168.188.50";
};
};
};
};
users.users."${username}".extraGroups = [ "networkmanager" "wheel" "plugdev" "scanner" "lp" ];
This causes the config file being created where brsaneconfig5 does not allow to create a config file manually due to the systemic read only limitation:
$ cat /etc/opt/brother/scanner/brscan5/brsanenetdevice.cfg
DEVICE=Brother , "ADS-1800W" , 0x4f9:0x708 , IP-ADDRESS=192.168.188.50 , FLAG=
So I get it running via network, but not via USB yet. The device is recognised on USB:
$ lsusb|grep -i brother
Bus 001 Device 043: ID 04f9:0708 Brother Industries, Ltd ADS-1800W
But scanimage -L only lists it when connected via network, and also not with prefix brother5, but escl only.
I just would like to have the option to scan to the device directly with Duplex and maybe more options. Currently I can scan a single page only and have to set measurements to not end up with a rather long empty picture of air; meaning it’d defeat the purpose of the scanner to handle each sheet of paper twice to scan both sides.
For people considering the device: My current fallback is scanning to USB storage on the printer directly and using the USB (also delivering power for the device that came without a PSU) from my device to handle the files.. also it is possible to scan to E-Mail, Filehosters (e.g. Dropbox) or FTP/SFTP/SharePoint.
Has anyone any ideas how to get this working properly, what am I missing or doing wrong?