Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-16-2018, 04:41 PM
|
#1
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Rep: 
|
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 into (see below). I have done this.
Code:
/usr/lib64/libbrscandec3.so.1.0.0
/usr/lib64/libbrscandec3.so
/usr/lib64/libbrscandec3.so.1
and the sane folder which includes the files
Code:
/usr/lib64/sane/libsane-brother3.so.1.0.7
/usr/lib64/sane/libsane-brother3.so.1
/usr/lib64/sane/libsane-brother3.so
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
Code:
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
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
Output of uname -r:
$ uname -r
4.15.0-36-generic
Not sure where to go from here.
|
|
|
10-17-2018, 12:40 AM
|
#2
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Try 'sane-find-scanner' and 'scanimage' to try to locate the scanner. And: https://wiki.archlinux.org/index.php/SANE
|
|
|
10-17-2018, 09:50 AM
|
#3
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Original Poster
Rep: 
|
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
Quote:
/usr/lib/udev/rules.d/49-sane.rule
|
but here is the output of the last bit from my
Quote:
/lib/udev/rules.d/60-libsane1.rules
|
:
Code:
="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"
#Brother scanners
ATTRS{idVendor}=="04f9",ENV{libsane_matched}="yes"
LABEL="libsane_rules_end"
04f9 has always been the valid Vendor id for my DCP-7030.
Also from the Archlinux Sane page, I have tried unplugging and reconnecting the DCP-7030. No success.
And yields:
Code:
Bus 001 Device 004: ID 04f9:01ea Brother Industries, Ltd DCP-7030
|
|
|
10-17-2018, 10:00 AM
|
#4
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
Have you rebooted after the udev rule mod? Also, can you run the commands AwesomeMachine suggested using sudo to see if this is a perms issue?
|
|
|
10-17-2018, 10:16 AM
|
#5
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Original Poster
Rep: 
|
update
Yes sevendogsbsd, I have rebooted after the udev mod and I have also tried the and the listings with sudo. No joy yet I'm afraid.
|
|
|
10-17-2018, 10:39 AM
|
#6
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
This may be a case where only the brother software works because SANE does not support any brother scanners: http://sane-project.org/sane-mfgs.html#Z-BROTHER
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?
Sorry, that's about all I have at this point...
|
|
|
10-17-2018, 02:14 PM
|
#7
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Original Poster
Rep: 
|
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?
|
|
|
10-17-2018, 02:18 PM
|
#8
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
I would say stick with the 64 bit because that's what your system supports. My .02 
|
|
|
10-17-2018, 05:55 PM
|
#9
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Original Poster
Rep: 
|
Brother DCP-7030 scanner problem solved
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.
|
|
|
03-08-2019, 07:50 PM
|
#10
|
LQ Newbie
Registered: Dec 2017
Location: Quebec, Canada
Distribution: Linux Mint 19 Mate 64 bit
Posts: 3
Rep: 
|
Step by step instructions for newbie
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.
Thanks,
Gerry
|
|
|
03-09-2019, 10:17 AM
|
#11
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Original Poster
Rep: 
|
Brother DCP-7030 scanner driver installation
Hi my Belle Province friend. I think this should get you going, as best as I can remember.
Download the latest 64bit scanner driver from this page on the Brother site (Sorry no French version.)
https://support.brother.com/g/b/down...566&dlang=true
Read the EULA at bottom of page and accept.
---------------------
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 " " 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.
The final solution was in the following section,
Quote:
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
|
Command :
Code:
sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane
|
|
2 members found this post helpful.
|
03-11-2019, 03:20 PM
|
#12
|
LQ Newbie
Registered: Dec 2017
Location: Quebec, Canada
Distribution: Linux Mint 19 Mate 64 bit
Posts: 3
Rep: 
|
My scanner works
Hello Thane,
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:
-According to: https://bugs.launchpad.net/ubuntu/+s...s/+bug/1728012
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 then went to Brother's website and downloaded the driver install tool and let it do the work for me by following the instructions. Here is the link: https://support.brother.com/g/b/down...030_all&os=128
Finally, I applied this command which was the key to success:
command:sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane
Without this command line as provided by Thane, my scanner did not work. So thank you, Thane and the LinuxQuestions community.
|
|
1 members found this post helpful.
|
03-11-2019, 06:37 PM
|
#13
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Original Poster
Rep: 
|
Glad you got it working Gerry. cheers
|
|
|
12-16-2019, 06:04 AM
|
#14
|
Member
Registered: Dec 2019
Distribution: Ubuntu; Mint
Posts: 57
Rep:
|
Thank you!
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!
|
|
|
12-16-2019, 08:51 AM
|
#15
|
Member
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223
Original Poster
Rep: 
|
Glad we could be of help Tilly. Best of the Season!
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 11:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|