Why? Are you planning to maintain an AUR package? I never linked to the Arch wiki page for that. However, I did link to the Manjaro wiki which explains how to install an AUR package manually. It doesnât mention a word about SSH.
If you havenât got it working yet, i just ran into the same thing and managed to fumble my way past the issues. If you already updated the MD5 hashes for the rpms files (or at least the one for your own architecture) in PKGBUILD and are building it yourself, then you can solve the missing lib issue by just changing the version in the file name of that lib: 3.0.0 just needs to be changed to 3.2.0
Here are the 4 edits it took to get it working for me:
diff --git a/PKGBUILD b/PKGBUILD
index 388258d..55faa25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Based on the brscan4 PKGBUILD by Harey
pkgname=brscan5
-pkgver=1.2.6_0
+pkgver=1.2.7_0
pkgrel=1
pkgdesc='SANE drivers from Brother for brscan5 compatible models'
arch=('i686' 'x86_64')
@@ -21,9 +21,9 @@ md5sums=(
'90bf4aa2e87b68ba2ea1aa7e43b019d9'
)
source_x86_64=("https://download.brother.com/welcome/dlf104036/${pkgname}-${pkgver/_/-}.x86_64.rpm")
-md5sums_x86_64=('015e3c48c3820554bae1fc3ed3c5ab2a')
+md5sums_x86_64=('d10dbf0d9bc33c3b0bcf4201932e5eef')
source_i686=("https://download.brother.com/welcome/dlf104035/${pkgname}-${pkgver/_/-}.i386.rpm")
-md5sums_i686=('e8d17dbf5b32563182316315dce8dd44')
+md5sums_i686=('3489e9d3282491e73e2758ae02a3d3b1')
install="brscan5.install"
build() {
@@ -48,7 +48,7 @@ package() {
ln -sf libsane-brother5.so.1 libsane-brother5.so
cd "$pkgdir/usr/lib" || exit 1
- mv "$pkgdir/opt/brother/scanner/brscan5/libLxBsScanCoreApi.so.3.0.0" "$pkgdir/usr/lib"
+ mv "$pkgdir/opt/brother/scanner/brscan5/libLxBsScanCoreApi.so.3.2.0" "$pkgdir/usr/lib"
ln -sf "libLxBsScanCoreApi.so.3.0.0" "libLxBsScanCoreApi.so.3"
ln -sf "libLxBsScanCoreApi.so.3" "libLxBsScanCoreApi.so"
Iâve also emailed this to the maintainer, so maybe by the time you read this itâll already be updated in AUR.
Could you just give the complete command for updating to brscan5 version 1.2.7_0 via console.
It is neither in pamac package manager nor in AUR (en) - brscan5. Thanks!
Thereâs more than one command and theyâre all laid out in the Manjaro wiki article I linked above. @Benzolio was even kind enough to provide a diff to apply. You have everything you need. If you have any questions along the way, let us know.
1.2.8_2 is already out now (as of about an hour ago) in AUR. The brscan5 maintainer, razerei, has been busy, so you shouldnât need to manually create your own build, just update in pamac
[Edit: Although I should mention that I havenât tried 1.2.8_2 myself, as I had already manually updated via a multi-step process that included a few edits to the PKGBUILD file and that doesnât seem to be the approach you are looking to tackle.]
Thanks a lot. I just have installed this version. But still after the first piece of paper the simple-scanner stops scanning. An error message is shown in German âScannen fehlgeschlagenâ.
So there must be still another bug in brscan5.
I had similar âScan failedâ issues when I had added my MFC-J450DW via IP address, but adding it by its NODENAME ( which looks something like BR##whatever#### ) worked for me. I got the node name from my routerâs DHCP client list, but there you can get it directly from the Brotherâs status screen or printout, too.
https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Network_Scanning example uses brscan4, so replace the 4 with a 5
I manually edited the brsanenetdevice.cfg
file (in my case there was no number in the cfg file name) to remove the IP-based config and ran brscanconfig5 again using nodename="BR##whatever####"
as the third parameter (instead of ip="10.10.10.210"
)
That was enough to get XSane to scan single pages from the flatbed, but then Simple Scan didnât see it anymore, and I thought it had something to do with using Wifi for my MFC and the name not being found, as hinted in the arch wiki article linked above, but adding the IP to sane.d/net.conf
had no effect. In my case, the DNS on my local network was not reporting the Brotherâs nodename, so I added it to /etc/hosts for example:
10.10.10.210 BR##whatever####
(of course, BR##whatever####
is a placeholder, you will need to use your Brotherâs actual nodename)
Iâm pretty sure with a USB direct connection this would be smoother, but with a bit of massaging, it will work over Wifi.
I just scanned a few pages successfully from the document feeder of my MFC-J450DW into Simple Scan with this configuration.
It seemed logical to share the fix with others once I mange to make it run. Or at least to submit a merge request.
Aurweb doesnât support merge requests, unfortunately.
After being very busy last weeks I am back to this problem.
1.
If I install brscan5 there is no file as
/etc/opt/brother/scanner/brscan5/brsanenetdevice5.cfg
nor
/etc/opt/brother/scanner/brscan5/brsanenetdevice.cfg
If install brscan 4 just for trying there is a file
/etc/opt/brother/scanner/brscan4/brsanenetdevice4.cfg
But opening the file leads into emptiness. There is no text inside at all. Thus I have no pattern which I could copy and edit. Do you have a full sample of the content of an brsanenetdevice.cfg, please?
- About the difference between and source of name, model, nodename of a printer
What is the difference between
nodename and
name and
model
of a printer. My interpretation:
a) Model: model=Brother_MFC-L57500DW_series
This is the exact name of the model. But where exactly do I get it from, if I look into printers in KDE system or within localhost:631 in the browser (url)? Should I even take the model name is with spaces.
Would it look like this then: " *model=Brother%20MFC-L5750DW%20series"?
b) name=Brother-my-printer (for example)
This seems to be any name I can give to. But where do I find the correct given name?
c) nodename=âHostnameâ oder nodename=âIP-Addressâ
I think both I can find in the router wihin network. And I can set my own nodename in the router, isnât it? If I use the IP-address instead for nodename I just have to be sure that it always stays the same!
I am still not 100% sure where to extract this information from in the best way.
Could anyone verify this, please?
I skipped a lot of comments. I also use Brother-MFC like your, but different module.
Honestly, I donât use scanner driver in Linux, because the printer has its own driver for scanning images.
I love using scanner via FTP or SFTP by pressing the button in the printer that sends the better quality image to my Linux home directory ~/Downloads
.
Then I put paper in the printer then scan it immediately, that is faster than I go to my PC and click scan.
Yes, I also scan so far to my ftp Server. And than download my files with filezilla to my PC.
But how does it work to scan directly to a folder on my PC, e.g ~/Downloads
- giving access on my PC and addressing it via network?
The printer does not need FileZilla
.
If your printer uses WLAN or LAN to connect with your router:
- Find the link
http://[IP-address of printer]
and open it in your browser. - Login with only default password of printer (You can change password later)
- Click âScanâ â âScan to FTP/Networkâ â select âFTPâ or âSFTPâ for profile 1.
- Click âScan to FTP/Network profileâ â configure profile 1 that connects to your Linux home directory.
- You have to enable FTP service
sudo systemctl enable --now ftpd.service
in Linux. - Test scanner.
- Done.
Is that sufficient? Wouldnât need I to give also authorization to access to a certain folder on my computer, e.g. ~/download
? Otherwise how can a file be stored on my computer?
In comparison so far now I provide server ftp access with authorization to scan to a ftp server. Therefore I am using filezilla to download it to my computer.
No, you have to give your authorization in the profile of the printer.
It is at 4. point:
The example image from this link:
brscan5
is the wrong driver for brother-mfc-L5750-DW.
The correct driver should be brscan4 0.4.11-1
im AUR . It is the same as the driver from the official info: Scanner Drivers | Downloads | MFC-L5750DW | Others | Brother
-
pamac build brscan4
-
Config:
sudo brsaneconfig4 -a name=Brother_DCP-L5750CDW model=DCP-L5750CDW nodename=XXXXX
OR
sudo brsaneconfig4 -a name=Brother_DCP-L5750CDW model=DCP-L5750CDW ip=XXXXX
-
pamac install simple-scan
-
Done
I)
I am just wondering about your statement. If you look here
Brscan5 and open âshow moreâ than you will find âMFC-L5750DWâ listed. But if look into Brscan4 under listed printers ârequired byâ you cannot find âMFC-L5750DWâ at all.
II)
If you may answer me still my question how and where exactly to find out 100 % correct model, name and nodename description! Thanks
see also my opinion regarding Name, model, nodename
III)
I will try it out your way and let you know.
Also I will try the solution âScan to PCâ where still I do not understand that any device, e.g. Scanner, can get access to my computer without giving specific access within my computer itself to e.g.a folder âdownloadâ to my computer? If this is possible in the way you described it should be a security threat issue, isnât it?
brscan5
is not like what the description in the official website of Brother said.
The description says the correct driver is brscan4
.
Of course, brscan4
supports your printer well, it is not old â 21/12/2021
- Install
brscan4
- Check if it supports your printer.
cat /opt/brother/scanner/brscan4/models4/ext_* | grep '#*0x0' | sed 's/^[^"]*"\([^"]*\)".*/\1/' | sort | grep L5750
See: SANE/Scanner-specific problems - ArchWiki
Name is only name that you can define yourself.
Model is your printer model.
Find nodename:
-
Open IP-Address (http://XXX.XXX.XXX.XXX) of your printer in the browser. (You find the IP address in the printerâs setting)
-
Login as only one password of printer.
-
Click
Network
tab âNetwork status
â Findnodename
that is 100% correct.
I have a question: Does the scanner/printer belong to only you or your family at your home? Is it in your own lokal network e.g. IP-range 192.168.XXX.XXX?
-
If yes, you can trust your printer accessing your computer with new FTP/SFTP-profile (inclusive your authorization)you defined in the printer.
-
If no, then do not use Scan to PC via FTP/SFTP.
SUMMARIZATION of how to install Scanner for brother printer
For example. To make the Scanner Brother MFC-L5750DW run via âScanning to PC directly from Scannerâ or âScanning directly from PC with a Scanning softwareâ, e.g. simple-scan, these steps should be considered:
This solution is not based on me but on @Zesko.
But there are so many questions and answer in the preceding conversations it should be very helpful for a searcher to have summarization.
1. Check what is the correct scanner driver:
Go to brother.com Website for Scanner driver of your model
and look for your Scanner model. Download latest linux (usually 64bit) driver, even it is a debian driver. But there you can see the right driver version you need.
Even the printer MFC-L5750 is not listed as supported in
brscan4 but in Brscan5, brscan4 is the correct driver as stated on brother website itself.
Then e.g. go into pamac software package installer and select AUR. Only in this category you can select the latest brscan4 driver. Just install it.
- Now you have to become clear, find out what is name, model and nodename of your printer / scanner (German: Knotenname) of your printer.
Name: Name is only a name that you can define yourself. Not really import
Model: Model go into your webbrowser and enter the ip-address of your printer. Within the admi interface go into GENERALâ>MAINTENANCE
But not later struggling in the console with the model you may simply use âMFC-L5750DWâ instead of the full model naming âBrother MFC-L5750DW seriesâ. It should still work fine.
Nodename (German: Knotenname)
-
Scanning with Simple Scan Program/software from printer/scanner to your computer. In this case you start the scanning process from simple scan
Using these console commands
- Scanning from Scanner to PC directly within your home network only of course. Otherwise you may cause security threats.
For explanation of the fields of the interface you can see here
- Using Ftp service is enough within the home network, SFTP is more complicated.
Refering to an answer of Zesko
- Profilname is just any name
- Host Address: your hostname of PC.
hostname
- Username is the same as your username from your PC. Usually lower case letters are used.
- Password is the same as your password from your PC.
- Store Directory for example:
/home/YOURNAME/Downloads
- Rest all are default and fine. The port must be
21
for FTP.
-
Scanning via FTP-Server or SFTP Server. That means you scan to a server and than you can download the file e.g. with filezilla.
a) Click âScanâ â âScan to FTP/Networkâ â select âFTPâ or âSFTPâ for profile 1 for example.
b) Click âScan to FTP/Network profileâ â configure profile 1
Here you have to enter the settings of your ftp server. Setting up ftp scanner connection -
Here some Q&Aâs which have been kindly answered by @Zesko
- If I want to remove a wrongly added scanner by
sudo brsaneconfig4 -a name=Brother_DCP-L5750CDW model=DCP-L5750CDW nodename=XXXXX
sudo brsaneconfig4 -r Brother_DCP-L5750CDW
-
How can I get a list of all added scanners?
cat /opt/brother/scanner/brscan4/brsanenetdevice4.cfg
It shows all added scanners in the list. -
If I want to disable FTP service it should be
sudo systemctl disable ftpd.service -
If you want check more about your scanner, you can consider these commands by itself:
brsaneconfig4
scanimage -L
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.