[sane-devel] SANE scanimage unable to connect to third party (backend) driver: brscan3
Don Pitcher
donpitcher2000 at proton.me
Sun Oct 5 14:21:58 BST 2025
Hello Ralph,
Thank you again for helping resolve SANE not being able to find my Brother scanner. Adding the libusb-0.1-4 driver solved the problem when using Linux Mint.
I am now using Fedora 42 and SANE is not able to find my Brother scanner (MFC-9320CW). Here is what I have done in an attempt to resolve this problem.
Step 1) verify scanimage does not find my scanner by using the following command, $ sudo scanimage -L
Step 2) perform $ lsusb command. This shows the computer sees my scanner.
Step 3) install libusb-compat-0.1
Step 4) run this command to determine if scanimage finds the brother3 driver, $ strace scanimage -L 2>&1 | grep ".so"
Step 5) since scanimage did not find the brother3 driver, I added brother3 to /etc/sane.d/dll.conf
Step 6) I then created /etc/sane.d/dll.d/brother3 file with the following text, usb 0x04f9 0x021c
Step 7) reboot
Step 8) Now the brother3 driver is shown when running the following command, $ strace scanimage -L 2>&1 | grep ".so"
Step 9) scanimage again does not find my scanner with the following command, $ scanimage -L
Step 10) sane-find-scanner claims a scanner is not found, but finds a possible scanner which has the correct vendor and product ID for my scanner.
I have run out of ideas after all of these steps. Do you have any recommendations to resolve this problem with Fedora 42?
Thank you,
Don Pitcher
On Wednesday, May 21st, 2025 at 1:42 PM, Don Pitcher via sane-devel <sane-devel at alioth-lists.debian.net> wrote:
> Thank you Ralf!!! Your recommendation fixed the problem.
>
> I have added your and Andy's input to the Linux Mint tutorial thread for others to utilize.
>
> https://forums.linuxmint.com/viewtopic.php?p=2632549#p2632549
>
> Don Pitcher
>
> On Wednesday, May 21st, 2025 at 12:28 PM, Ralph Little <skelband at gmail.com> wrote:
>
>> Hi Don,
>> Someone here very recently had exactly the same problem with the brother3 backend driver from Brother.
>> Basically, their backend is very good, but things have moved on in the Linux world since it was built by them which has introduced some incompatibilities.
>>
>> There are a number of issues:
>>
>> 1) Linux Mint (and Ubuntu upon which it is based) puts its platform-specific shared objects in a different place. So the installed shared objects cannot be found. The package puts them in /usr/lib64 whereas Ubuntu/Mint expects them in /usr/lib/x86_64-linux-gnu. You can add symbolic links in /usr/lib/x86_64-linux-gnu to the files installed into /usr/lib64. One way is:
>>
>> sudo ln -s /usr/lib64/sane /usr/lib/x86_64-linux-gnu/sane
>>
>> 2) libusb has changed. The package needs an old version, which is still available in the repo. Try this:
>>
>> sudo apt install libusb-0.1-4
>>
>> OK, so now you should be able to see a device from scanimage -L. The device class is called "brother3" not "brscan3" BTW.
>>
>> I just worked through this sequence on my fresh install and it seems to work for me.
>>
>> Let us know how you get on.
>>
>> Cheers,
>> Ralph
>>
>> On Wed, May 21, 2025 at 8:29 AM Don Pitcher via sane-devel <sane-devel at alioth-lists.debian.net> wrote:
>>
>>> Hello SANE-dev ,
>>>
>>> I am troubleshooting a problem with SANE scanimage unable connect to a third party driver (backend). I have exhausted all resources that I know of to solve this problem. Could you take a moment to review my post on the Linux Mint forum to help guide me to a helpful resource?
>>>
>>> $ sudo scanimage -d brscan3 -T
>>> Output format is not set, using pnm as a default.
>>> scanimage: open of device brscan3 failed: Invalid argument
>>>
>>> https://forums.linuxmint.com/viewtopic.php?p=2632488#p2632488
>>>
>>> Thank you,
>>>
>>> Don, aka: sk8board
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20251005/428e2fb2/attachment.htm>
More information about the sane-devel
mailing list