<div dir="ltr"><div dir="ltr">Hi,</div><div>Looks like moving the .so files is what did the trick. I have heard of other people having this problem.</div><div>Ubuntu (and a few others I think) changed the location of their platform specific shared objects some years ago. Brother's installation package most likely pre-dates this so isn't setup to cope with this specific change.</div><div><br></div><div><div>So, I missed it when you said that it was now working. 😅<br></div><div>Good to get a result. Some answers below though:</div><div></div><br></div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, May 15, 2025 at 2:55 AM David Brown <<a href="mailto:davown2000.db@gmail.com">davown2000.db@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ralph,<div><br></div><div>I had a go att eh 3 queries you raised:</div><div><br></div><div><div class="gmail_quote"><div>So, a few things to try:</div><div><br></div><div>1) Try the ldd command with each of the 3 libbrother* files and make sure it can resolve all the dependencies.</div><div><br></div><div>>> My system did not recognise ldd command so I didn't push it further.</div></div></div></div></blockquote><div><br></div><div>OK, I thought it was installed by default. My mistake. :(</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail_quote"><div><br></div><div>2) SANE_DEBUG_DLL=5 scanimage -L</div><div>...and look at the output. Make sure that the brother driver is mentioned and that it says that it can find and load the .so files.</div><div><br></div><div>>> This was all good as per attached pic.  But did not mention the .so files.</div></div></div></div></blockquote><div><br></div><div>Looks from the attached picture that you used lowercase for SANE_DEBUG_DLL. It is case dependent, so must be uppercase. You should have seen a load of diag output. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail_quote"><br></div><div class="gmail_quote">3) The brother backend should be mentioned somewhere in /etc/sane.d/dll.conf /etc/sane.d/dll.conf.d or somesuch IIRC.</div><div class="gmail_quote">Perhaps check that they are. </div></div><div class="gmail_quote"><br></div><div class="gmail_quote">>> My system has file: /etc/sane.d/dll.conf    (not the other file dll.conf.d)</div><div class="gmail_quote">This file contained mentions of brother and brother3    </div></div></blockquote><div><br></div><div>Yeah, brother3 is what you are looking for, but you say it works now so I would expect that. 👍 <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><br></div><div class="gmail_quote">Cheers</div><div class="gmail_quote">David</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 15, 2025 at 8:55 AM Ralph Little <<a href="mailto:skelband@gmail.com" target="_blank">skelband@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 14, 2025 at 3:47 PM David Brown <<a href="mailto:davown2000.db@gmail.com" target="_blank">davown2000.db@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ralph,<div><br></div><div>Thanks for getting back to me.  After I submitted my query I re-checked my notes and tweaks from past 6 installs and found my scanner now works after I re-copied files as follows:</div><div><div>sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane</div></div></div></blockquote><div><br></div><div>This is an Ubuntuism. They just path their platform-specific binaries in a different place.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div><div>This command copied 3 new files across.  There were 6 libsane-brother files already but not the missing 3 which are listed below and scanner now working (previous error message was "Missing Drivers").</div><div>The three new files this copy command copied were:</div><div>libsane-brother1.so</div><div>libsane-brother1.so.1.0.7</div><div>libsane-brother2.so.1.0.7</div><div><br></div><div>I don't what the difference is between these three files or which one or combination worked.</div><div>I don't know why the missing 3 files were not previously copied???  I had run this command before but may have had a syntax error - hard to say.</div><div>It's all a mystery to me.</div></div><div><br></div><div>The above solution is but part of a sequence of tweaks I used on 24.04.1 based on past years.</div><div>Basically - whenever I blow up my system and need a fresh install.  It happens lol.  </div><div><br></div><div>Other tweaks include:</div><div>
        
        

<pre style="border:medium;padding:0in;background:rgb(239,240,241);font-family:"Liberation Mono",monospace;font-size:10pt"><span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">Edit </span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">60</span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">-libsane</span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">1</span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">.rules </span></font></font></font></span></code></span>
<span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">            cmd: sudo </span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">nano</span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"> //</span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">usr/lib/udev/rules.d/</span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">60-libsane1.rules</span></font></font></font></span></code></span>
<span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">                    # Brother scanner</span></font></font></font></span></code></span>
<span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">                    ATTRS{Vendor}==”04f9”, ENV{libsane_matched}=”yes”</span></font></font></font></span></code></span></pre><pre style="border:medium;padding:0in;background:rgb(239,240,241);font-family:"Liberation Mono",monospace;font-size:10pt"><span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><pre style="border:medium;padding:0in;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-family:"Liberation Mono",monospace;font-size:10pt"><p align="left" style="line-height:100%;margin-bottom:0in;border:medium;padding:0in;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#222222"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:12pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">sudo mkdir //usr/lib/sane</span></font></font></font></span></code></span></p><pre style="border:medium;padding:0in;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-family:"Liberation Mono",monospace;font-size:10pt"><span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#222222"><font face="Arial, Helvetica, sans-serif"><font style="font-size:12pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/sane</span></font></font></font></span></code></span></pre></pre></span></code></span></pre></div><div>
        
        

<pre style="border:medium;padding:0in;background:rgb(239,240,241);font-family:"Liberation Mono",monospace;font-size:10pt"><span style="display:inline-block;border:medium;padding:0in"><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">In 2022 Brother suggested installing USB patch file </span></font></font></font></span></code><code style="font-family:"Liberation Mono",monospace"><span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal"><font color="#242729"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><font style="font-size:9pt"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">(google Brother legacy USB)</span></font></font></font></span></code></span></pre><pre style="border:medium;padding:0in;background:rgb(239,240,241);font-family:"Liberation Mono",monospace;font-size:10pt"><font color="#000000" style="background-color:transparent;font-size:10pt"><font face="Courier New"><font style="font-size:9pt">dpkg</font></font></font>-i brotherlegacyusb-1.1.0-0.all.deb</pre></div></div></blockquote><div><br></div><div>Probably would be the same as the other tip I replied about related to libusb. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><pre style="border:medium;padding:0in;background:rgb(239,240,241);font-family:"Liberation Mono",monospace;font-size:10pt"><p style="line-height:120%;margin-bottom:0.1in;background:transparent"><br></p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">On 17/3/25 I edited /usr/lib/udev/hwdb.d/20-sane.hwdb and added:</p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">usb:v04f9p0254* </p><p style="line-height:120%;margin-bottom:0.1in;background:transparent"><span style="background-color:transparent;font-size:10pt">libsane-matched=yes</span></p><p style="line-height:120%;margin-bottom:0.1in;background:transparent"><span style="background-color:transparent;font-size:10pt"><br></span></p><p style="line-height:120%;margin-bottom:0.1in;background:transparent"><span style="background-color:transparent;font-size:10pt">13/4/25 I tried installing libusb but this was already the latest version.</span>
</p><p style="line-height:120%;margin-bottom:0.1in;background:transparent"><span style="background-color:transparent;font-size:9pt;font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono","Liberation Mono",Menlo,Monaco,Consolas,monospace">sudo </span><span style="background-color:transparent;font-size:9pt;font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono","Liberation Mono",Menlo,Monaco,Consolas,monospace">apt-get install libusb-0.1-4</span></p></pre></div></div></blockquote><div>OK, gotcha.</div><div><br></div><div>So, a few things to try:</div><div><br></div><div>1) Try the ldd command with each of the 3 libbrother* files and make sure it can resolve all the dependencies.</div><div><br></div><div>2) SANE_DEBUG_DLL=5 scanimage -L</div><div>...and look at the output. Make sure that the brother driver is mentioned and that it says that it can find and load the .so files.</div></div><div class="gmail_quote"><br></div><div class="gmail_quote">3) The brother backend should be mentioned somewhere in /etc/sane.d/dll.conf /etc/sane.d/dll.conf.d or somesuch IIRC.</div><div class="gmail_quote">Perhaps check that they are.  <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Let us know what you discover.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Cheers,</div><div class="gmail_quote">Ralph</div></div>
</blockquote></div>
</blockquote></div></div>