Hi, 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*
Cheers, Ralph On Wed, May 14, 2025 at 3:47 PM David Brown <[email protected]> wrote: > Hi Ralph, > > 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: > sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane > > 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"). > The three new files this copy command copied were: > libsane-brother1.so > libsane-brother1.so.1.0.7 > libsane-brother2.so.1.0.7 > > I don't what the difference is between these three files or which one or > combination worked. > 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. > It's all a mystery to me. > > The above solution is but part of a sequence of tweaks I used on 24.04.1 > based on past years. > Basically - whenever I blow up my system and need a fresh install. It > happens lol. > > Other tweaks include: > > Edit 60-libsane1.rules cmd: sudo nano > //usr/lib/udev/rules.d/60-libsane1.rules # Brother scanner > ATTRS{Vendor}==”04f9”, ENV{libsane_matched}=”yes” > > sudo mkdir //usr/lib/sane > > sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/sane > > In 2022 Brother suggested installing USB patch file (google Brother legacy > USB) > > dpkg-i brotherlegacyusb-1.1.0-0.all.deb > > > On 17/3/25 I edited /usr/lib/udev/hwdb.d/20-sane.hwdb and added: > > usb:v04f9p0254* > > libsane-matched=yes > > > 13/4/25 I tried installing libusb but this was already the latest version. > > sudo apt-get install libusb-0.1-4 > > > As you can see I have been through the wringer on trying different stuff over > the years. > > I can't tell you which of these tweaks are essential or not but hopefully > they mean something to your team??? > > Happy to help you guys if you have any questions but my knowledge of linux is > a tad limited. > > I was more a DOS player in my day. Now retired and blow up Ubuntu systems > for a hobby. > > Cheers > > David > > > On Wed, May 14, 2025 at 10:40 PM Ralph Little <[email protected]> wrote: > >> Hi, >> >> On Wed, May 14, 2025 at 4:52 AM David Brown <[email protected]> >> wrote: >> >>> Hi Guys, >>> >>> 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). >>> >>> 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. >>> >>> 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. >>> >>> 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. >>> >>> >> As an aside, you may need to install the additional package libusb-0.1-4. >> I have seen others have this issue with brscan3. >> >> >>> Can you guys shed any light on what has changed or what I need to tweak >>> to get my scanner recognised? >>> >>> Cheers >>> David >>> >>
