[SOLVED] Scanner will not install on fresh installation of Mint 19 64bit
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Scanner will not install on fresh installation of Mint 19 64bit
Brother DCP-7030 scanner which was working fine on installations up to and including Mint 18.3 64bit will not work on new-from-scratch Mint 19 v2 64bit installation. The printer worked fine out of the box but scanner drivers weren't installed as per terminal command:
Code:
dpkg -l | grep Brother
I tried installing from brscan3-0.2.13-1.amd64.deb (from the Brother website) with no success. In the past I have had to copy the installed files from
Also in the past I have subsequently needed to use vim to edit the /lib/udev/rules.d/40-libsane1.rules (now 60-libsane1.rules and no longer a "40" file) to add
just before the last entry of the file. I have tried doing the above-mentioned and also logging out/logging back in and even rebooting. Still wasn't working.
So I removed the copied files and the edit to the 60-libsane1.rules file and started again, in an attempt to reinstall using Brother's all-in-one lpr, scanner and CUPSwrapper Install Tool linux-brprinter-installer-2.2.1-1.gz and installed from terminal as per their accompanying instructions. The installation seemed to be going well (for 2 or 3 minutes with a lot of I think ia32lib type files, etc flashing by onscreen. Did not accept the URI option since I have a usb printer. Rebooted and no joy. So I copied the lib64 files back into lib and updated 60-libsane1.rules file again. No joy on another reboot.
Checked in Synaptic for broken packages and it seemed to show a broken ia32-libs. Clicking on Fix Broken Packages eventually yeilds the following error message:
E: /var/cache/apt/archives/libsane1_1.0.27-1~experimental3ubuntu2_i386.deb: trying to overwrite shared '/lib/udev/rules.d/60-libsane1.rules', which is different from other instances of package libsane1:i386
Have tried suggestions AwesomeMachine. But no success yet.
Code:
sudo sane-find-scanner
[sudo] password for a:
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04f9, product=0x01ea) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
Code:
:~$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
Trying leads from the Archlinux Sane page suggestion, I do not have a
So it would appear that the brother scanner set up might be your only option. Not sure why it stopped working - clearly your system recognizes the existence of the hardware. Maybe parsing through the brother installation script to see where lib files get installed and ensure they are in the correct locations will help?
Thanks sevendogsbsd. I guess I will have another look at the Brother website. I'm sure I've done the same type of installation this time, that I have done in the past up to and including Mint 18.3. I did see that Brother had both 64bit and 32bit installations available. I chose the 64bit to match my system. Might the 32bit installation have been better in anyone's experience?
Got it. Went through the Brother website again and found a section in OS's for linux. On the following page, http://support.brother.com/g/s/id/li...rect=on#f00107 the solution was in the first listing for ubuntu 16.10 - cannot scan from Brother.
For the section,
Code:
I'm using Ubuntu 16.10. I cannot scan from my Brother Machine.
Install the "libusb-0.1-4".
Command : sudo apt-get update
Command : sudo apt-get install libusb-0.1-4
, a check for libusb-0.1-4 showed it to be already present.
The final solution was in the following section,
Code:
I cannot find the Brother Machine.
Related Distribution : Ubuntu, LinuxMint, Debian
Related Scanner Driver : brscan, brscan2, brscan3
Check if the following directory exist.
For 64bit Users:
/usr/lib/x86_64-linux-gnu/sane
For 32bit Users:
/usr/lib/i386-linux-gnu/sane
Type the following command if the above directory exist.
For 64bit Users:
Command : sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane
For 32bit Users:
Command : sudo cp /usr/lib/sane/libsane-brother* /usr/lib/i386-linux-gnu/sane
Copying these files solved the problem. Scanner is working fine again. Many thanks for the help friends.
Hi, I'm using linux mint 19, 64 bit version with a DCP-7030 machine. The printer worked out of the box but the scanner didn't. Thane provided the solution but I'm a newbie. So if anyone can provide step by step command line instructions then I would be infinitely grateful, because I am losing hope.
Turn on your DCP-7030 and plug in the usb cable at the back.
Open the Terminal and use the cd command to change to the folder you downloaded the scanner driver file into.
Prefacing with the "
Code:
sudo
" command (without the quotes), enter
Code:
dpkg -i --force-all brscan3-0.2.13-1.amd64.deb
(The "brscan3-0.2.13-1.amd64.deb" driver to the left is the latest one on the download page as of a few minutes ago.)
As I recall, at some point during the installation you will see a prompt asking about usb useage. Click on the "No" option if you're using usb. The installation should then finish.
Check to see if the driver has been installed by entering the
Code:
dpkg -l | grep Brother
command and you should see your Brother scanner driver (and also your other printer drivers) listed as successfully installed.
Now comes the part where I found the stumbling block. In my Mint 19 case the Brother driver was looking for files in a certain location, when they were actually elsewhere. Follow this last bit and you should have success:
From the Brother support pages,
Quote:
I'm using Ubuntu 16.10. I cannot scan from my Brother Machine.
Install the "libusb-0.1-4".
Command :
Code:
sudo apt-get update
Command :
Code:
sudo apt-get install libusb-0.1-4
, a check for libusb-0.1-4 showed it to be already present.
Somehow, the solution you provided didn't work for me. I suspect that it has something to do with using vim to copy udev rules as you previously explained. Not knowing how to do that, here's what I did:
a) command:sudo ln -sfr /usr/lib64/libbrscandec* /usr/lib/x86_64-linux-gnu
b) command:sudo ln -sfr /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane
c) reboot
I know this has been 'quiet' for a while but in the UK our 'month day' is the other way round so perhaps I'll be forgiven.
I've spent 2 and a half days trying to get my DCP-7030 to scan. Although the drivers were obviously there and at one level Ubuntu 19 'knew' there was a scanner, both Document Scanner and xsane couldn't 'see' a scanner at all. I'm new to Linux (about August) so very careful walkthroughs are extremely useful to me. Like Gerry, Thane's final line was what solved it! Thank you so much!!!! I was starting to think that the easiest way forward was a new scanner! I'm using Ubuntu 19.10 on this machine and Mint on another elderly PC so I'm assuming that the Minty one will be much easier to link to the printer/scanner... now I've got it working on Ubuntu 19. But thank you again!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.