Brother scanning - multiple models (Fossa64 Small only)

Moderator: Forum moderators

Post Reply
User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

At the moment this is tested for Fossa64 9.5 "Small" only.

*** Experimental only ***
Do not test if you have a savefile in use

This pet loads multiple scanner drivers for a huge variety of Brother MFC printer/scanner units (inkjet and laser).
(It does not attempt to load any print drivers)

It does not matter if the print section of your MFC has run out of ink or toner - you can still scan successfully.

Only for usb connection as far as I know

The pet installs "Simple Scan" scan software in addition to the Brother drivers.

SimpleScan.png
SimpleScan.png (23.89 KiB) Viewed 1274 times

Only tested on Fossa64 9.5 "Small" so far.
Please report if you have failures on your model, or fails/success on other 64bit pups. Thx

.

Load the pet, turn on Brother MFC, plug it into usb. Click OK to finish setup. Simple.

Version 03:
(includes brscan2, brscan3, brscan4 and brscan5. Adds the ability to scan from many of the latest models)
https://www.mediafire.com/file/4laspncu ... 8.pet/file
(3.5MB download)
.

Version 02 removed due to problem with some lib locations.
.

Version 01 (Original - fine for older models but did not include latest brscan5 models):
https://www.mediafire.com/file/gwg0qyca ... 6.pet/file
(3MB download)

Last edited by greengeek on Wed Dec 18, 2024 7:59 am, edited 2 times in total.
User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

Added version 02 to first post.

New version also includes brscan5 software so should handle many of the latest models (in addition to those previously enabled by brscan2, brscan3 and brscan4)

fr-ke
Posts: 118
Joined: Mon Nov 07, 2022 3:18 pm
Has thanked: 5 times
Been thanked: 41 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by fr-ke »

@greengeek

I can confirm that your .pet works for my Brother MFC-8370DN under F96-CE_4, frugally installed without any other changes.
Via the USB port and also via Ethernet after appropriate assignment, e.g.:

brsaneconfig3 -a name=Brother model=MFC-8370DN ip=192.168.1.30

I had no success with BookwormPup64-10.0.9. See screenshot.

libwebp.so.6 is missing!

After I reinstalled libwebp.so.6, the message Additional software needed came up, as you can see

Edit: Fixed character set error in command line

Attachments
Screenshot.png
Screenshot.png (50.51 KiB) Viewed 1095 times
User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

fr-ke wrote: Tue Dec 10, 2024 12:09 pm

I can confirm that your .pet works for my Brother MFC-8370DN under F96-CE_4, frugally installed without any other changes.

Thank you for testing and the success report on F96. Much appreciated.

Via the USB port and also via Ethernet after appropriate assignment, e.g.:
brsaneconfig3 -a name=Brother model=MFC-8370DN ip=192.168.1.30

Great information thanks! Very useful to know.

I had no success with BookwormPup64-10.0.9. See screenshot.
libwebp.so.6 is missing!

As far as I can tell this appears to be caused by my package containing an older "simple-scan" utility when Bookworm already has a newer version.
So definitely not compatible with Bookworm at this stage (thanks for the trial - hope it has not damaged your Bookworm install)

After I reinstalled libwebp.so.6, the message Additional software needed came up, as you can see

I just tried installing the appropriate brscan version for my scanner and then using the inbuilt simple-scan in Bookworm - and experienced just what you describe - ie; the same inability for simple-scan to see the driver.
Possibly the Bookworm lib structure is different to Fossa (?) and the brscan sane setup is not completing correctly (??) Not sure at this stage but will try testing various things...
(I don't think I will have a speedy resolution to the Bookworm compatibility as I am only just now getting used to Bookworm. Will report back if I have any joy)

User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

fr-ke wrote: Tue Dec 10, 2024 12:09 pm

I had no success with BookwormPup64-10.0.9. See screenshot.

Hi @fr-ke - there were two issues causing problems with running this package in Bookworm64:

1) The version mismatch of simple-scan "document scanner". My package (designed for cutdown Fossa64 Small) includes a "document scanner" package which conflicts with the one already installed in Bookworm64.
This evening I hope to make a new package without simple-scan "document scanner" - specifically for Bookworm64.

2) Bookworm64 does not have libusb-0.1-4 available so it must be installed before the brsane stuff, so that the scanner can be detected properly via usb.
(I do not know if this is required for network connection...)
I got hold of the missing lib here:
https://packages.debian.org/bookworm/am ... 4/download
(Probably other people would prefer to use synaptic to do this but I am not familiar with it)

I plan to post back later tonight with the updated brscan pet for Bookworm.

EDIT : Nope, won't be tonight. I am having trouble getting the pinstall.sh correct. Bookworm isn't working the way I expected. (Something happening during the pinstall.sh is taking a verrrry long time to complete. No idea why, but it seems to be upsetting the order of installation.

So, as a temporary workaround - what is working for me so far is :
- load the libusb I mentioned above.
- Plug in the scanner (usb)
- Load my v2 pet(F6495Small version)
- Then have to link /usr/lib/x86_64-linux-gnu/libwebp.so.7.1.5 as libwebp.so.6
- Run simple-scan

Then seems to work.

NOTE: Don't try this if you use savefile or folder!! Experimental only.
Will do some more testing when I can.

fr-ke
Posts: 118
Joined: Mon Nov 07, 2022 3:18 pm
Has thanked: 5 times
Been thanked: 41 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by fr-ke »

HI @greengeek

So, as a temporary workaround - what is working for me so far is :
- load the libusb I mentioned above.
- Plug in the scanner (usb)
- Load my v2 pet(F6495Small version)
- Then have to link /usr/lib/x86_64-linux-gnu/libwebp.so.7.1.5 as libwebp.so.6
- Run simple-scan

Works as described in BookwormPup64-10.0.9.

With both versions of simple-scan "document scanner".
The version included in BookwormPup64 and the version in v2 pet (F6495Small version).

User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

fr-ke wrote: Tue Dec 10, 2024 12:09 pm

I had no success with BookwormPup64-10.0.9. See screenshot.

Thanks for your testing.
I feel that I have now got a solution for BookwormPup64:

But first a warning:
This is not intended for - or tested with - savefile or savefolder systems
It is intended for situations where the user boots a generic Bookworm Pup, plugs in a Brother scanner, and loads this scanning software.
(I don't know if a savefile would remember the scanner. And if you changed to a different scanner it might be necessary to run the brsane utility manually again...)

Method:
- Load libusb-0.1-4 (I sourced the .deb file from https://packages.debian.org/bookworm/am ... 4/download)
- Load the attached .pet and follow the prompts.

When the pet is finished loading - look in the Graphics menu and run "Document Scanner"

Version 01 for BookwormPup64
***This version unsuccessful for some models***

Please see Version 2 about 3 posts below:
Do not use with savefile or savefolder
https://www.mediafire.com/file/lvhsra7s ... 1.pet/file
***see v2 further down the page***

Last edited by greengeek on Sun Dec 15, 2024 6:37 am, edited 2 times in total.
fr-ke
Posts: 118
Joined: Mon Nov 07, 2022 3:18 pm
Has thanked: 5 times
Been thanked: 41 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by fr-ke »

greengeek wrote: Thu Dec 12, 2024 7:11 am

Method:
- Load libusb-0.1-4 (I sourced the .deb file from https://packages.debian.org/bookworm/am ... 4/download)
- Load the attached .pet and follow the prompts.

Unfortunately it didn't work for me. See screenshots.
Run in Terminal did not produce any further error messages.

Attachments
Screenshot.png
Screenshot.png (14.09 KiB) Viewed 972 times
Screenshot2.png
Screenshot2.png (14.23 KiB) Viewed 972 times
User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

fr-ke wrote: Thu Dec 12, 2024 5:43 pm

Unfortunately it didn't work for me. See screenshots.
Run in Terminal did not produce any further error messages.

Really appreciate the testing - thanks!
It seems your Brother MFC-8370DN and one of my machines - a MFC-255CW - fail where all my other machines work successfully.
It appears that these two models both use the brscan3 code, so there must be something wrong with the brscan3 setup in my pinstall.sh or the placement of libs etc.
Will see what I can do this weekend to pin down the problem...

User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

fr-ke wrote: Thu Dec 12, 2024 5:43 pm

Unfortunately it didn't work for me. See screenshots.
Run in Terminal did not produce any further error messages.

If you have time I would be keen for you to try this pet please.
In theory should work for brscan3 models such as your MFC-8370DN (and I am hoping it won't break scanning on brscan2,4 and 5 models - i will test more over the weekend :) ).
***Version 2 for Bookworm64 only***
Still testing:
(Must load libusb deb first... See posts above for detail)
https://www.mediafire.com/file/zf18c11r ... 2.pet/file
(Must load libusb deb first... See posts above for detail)

Last edited by greengeek on Sun Dec 15, 2024 6:40 am, edited 1 time in total.
fr-ke
Posts: 118
Joined: Mon Nov 07, 2022 3:18 pm
Has thanked: 5 times
Been thanked: 41 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by fr-ke »

greengeek wrote: Fri Dec 13, 2024 9:35 am
fr-ke wrote: Thu Dec 12, 2024 5:43 pm

In theory should work for brscan3 models such as your MFC-8370DN (and I am hoping it won't break scanning on brscan2,4 and 5 models - i will test more over the weekend :) ).
Bookworm64 only.

mkdir /usr/lib/sane did the trick

The MFC-8370DN works for me now.
Likewise my MFC-L2700 brscan4 model.

I also successfully tested the scanner button on both printers.
brscan-skey-0.3.2-0.amd64.deb downloaded from Brother servers.

Attachments
Screenshot.png
Screenshot.png (29.09 KiB) Viewed 853 times
User avatar
greengeek
Posts: 1550
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 652 times
Been thanked: 228 times

Re: Brother scanning - multiple models (Fossa64 Small only)

Post by greengeek »

Removed FossaSmall version 2 from first post (I had placed some libs in wrong location)

Added FossaSmall version 3 to first post.

Tested and confirmed working - includes files for brscan5 models as well as the original brscan2,3,4 models.

Post Reply

Return to “Graphics”