<div dir="ltr"><div dir="ltr">Hi,</div><div>Also, I believe that the only 3 library files you need be concerned about for your device are the ones from the brscan3 package that are named libsane-brother3*</div><div><br></div><div>Cheers,</div><div>Ralph</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, May 14, 2025 at 3:47 PM 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>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><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><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><p style="line-height:120%;margin-bottom:0.1in;background:transparent"><br></p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">As you can see I have been through the wringer on trying different stuff over the years. </p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">I can't tell you which of these tweaks are essential or not but hopefully they mean something to your team???</p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">Happy to help you guys if you have any questions but my knowledge of linux is a tad limited.</p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">I was more a DOS player in my day. Now retired and blow up Ubuntu systems for a hobby.</p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">Cheers</p><p style="line-height:120%;margin-bottom:0.1in;background:transparent">David</p></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 14, 2025 at 10:40 PM 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 4:52 AM 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 Guys,<div><br></div><div>I've used various versions of Ubuntu for some years now and every time I do a fresh install I run into major problem getting my scanner to work (Brother DCP-J315W).</div><div><br></div><div>Usually I get there after researching 3 hours and usually editing the 40-libsane.rules file which subsequently became 60-libsane1.rules and maybe 20-sane.hwdb. Who knows - way too hard for the average user and only just within my skills area. Very frustrating and a real "go back to Windows" moment.</div><div><br></div><div>Recently, I upgraded my old system to Ubuntu 24.04.2 and scanner worked after the upgrade. So far so good. But then I did a fresh install of U24.04.2 on a new external SSD and all hell broke loose. No amount of fixing or tweaking worked. My scanner is bricked unless I boot into my old OS.</div><div><br></div><div>I contacted Brother and they concluded that Ubuntu had changed something and neither Ubuntu forums or Brother could work it out. Neither are too interested in supporting an old, possibly obsolete model.</div><div><br></div></div></blockquote><div><br></div><div>As an aside, you may need to install the additional package libusb-0.1-4.</div><div>I have seen others have this issue with brscan3.</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><div>Can you guys shed any light on what has changed or what I need to tweak to get my scanner recognised?</div><div><br></div><div>Cheers</div><div>David</div></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>