LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2016, 05:58 PM   #1
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Rep: Reputation: Disabled
No Scanner Found...Brother MFC-440CN


Need help with drivers I assume. Dell Inspiron 546, 64bit, running Linux Mint 18. Installed drivers (see attachment) for my USB MFC-440CN. Printer works fine but no scanner found (see Find Scanner attachment). After reading many, many posts, I'm more confused than when I started. There are many suggestions on what to try but up to now...NG. Any help will be appreciated.
Tks
Dennis
Attached Thumbnails
Click image for larger version

Name:	Find Scanner.png
Views:	39
Size:	136.1 KB
ID:	22897   Click image for larger version

Name:	Dell 546 Brother Installed Drivers.png
Views:	37
Size:	45.5 KB
ID:	22898  
 
Old 08-30-2016, 07:54 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,336

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
You have two scanner drivers installed. The correct driver for your device is the brscan2 0.2.5-1.
I suggest that you check the contents of your /etc/sane.d/dll.conf file. There should be an entry 'brother2' at the end of that file.
Alternatively, remove both drivers and then reinstall the appropriate driver.
I find that the 'scanimage -L' command is required to show my Brother device. The 'sane-find-scanner' command fails.
 
Old 08-31-2016, 08:10 AM   #3
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
allend
I removed brscan2 & 3 and reinstalled brscan2 as shown on the "Brothers Drivers" file and ran a scanimage -L command and still no scanner listed. I'm not sure what you mean by "check the contents of your /etc/sane.d/dll.conf file" Attached is a file of the dll file and at the very bottom it lists a "Brother 2". If this is not the correct way of checking on what you suggested please provide proper instructions. I'm not a Techie here so I appreciate your patience.
Tks
Dennis
Attached Thumbnails
Click image for larger version

Name:	Brother Drivers.png
Views:	17
Size:	51.7 KB
ID:	22900  
Attached Files
File Type: txt dll File.txt (1.1 KB, 8 views)
 
Old 08-31-2016, 08:51 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,336

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
OK - That all looks good for the driver installation.

Does the device appear in the output of 'lsusb'?
Have you tried an alternative USB port? I recall a previous thread where a device that was plugged into a USB 3.0 port was failing, but was successful when plugged into a USB 2.0 port.
 
Old 08-31-2016, 08:56 AM   #5
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
I've tried 3 different USB ports and still the same results.

dbrew4@dbrew4-Inspiron-546 ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 045e:076c Microsoft Corp. Comfort Mouse 4500
Bus 005 Device 002: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 04f9:01af Brother Industries, Ltd MFC-440CN
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
Old 08-31-2016, 09:21 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,336

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Quote:
Bus 004 Device 002: ID 04f9:01af Brother Industries, Ltd MFC-440CN
Good - There is your device.
I am only seeing USB 1.1 and 2.0 hubs, so the USB 3.0 issue does not seem to apply.
Have you tried running 'sudo scanimage -L'? http://support.brother.com/g/s/id/li...ll&redirect=on

PS - Did you first uninstall the scan-key-tool before uninstalling the scanner drivers? http://support.brother.com/g/s/id/li...ll&redirect=on

Last edited by allend; 08-31-2016 at 09:25 AM.
 
Old 08-31-2016, 10:20 AM   #7
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Scan tool was uninstalled prior to driver installation. Just ire-installed scan tool..results:

dbrew4@dbrew4-Inspiron-546 ~ $ dpkg -l | grep Brother
ii brother-cups-wrapper-common 1.0.0-10-0ubuntu6 amd64 Common files for Brother cups wrapper packages
ii brscan-skey 0.2.4-1 amd64 Brother Linux scanner S-KEY tool
ii brscan2 0.2.5-1 amd64 Brother Scanner Driver
ii mfc440cncupswrapper:i386 1.0.1-1 i386 Brother CUPS Inkjet Printer Definitions
ii mfc440cnlpr:i386 1.0.1-1 i386 Brother lpr Inkjet Printer Definitions
ii printer-driver-brlaser 3-5~ubuntu1 amd64 printer driver for (some) Brother laser printers
ii printer-driver-ptouch 1.4-1 amd64 printer driver Brother P-touch label printers
dbrew4@dbrew4-Inspiron-546 ~ $ 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).
dbrew4@dbrew4-Inspiron-546 ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 045e:076c Microsoft Corp. Comfort Mouse 4500
Bus 005 Device 002: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 04f9:01af Brother Industries, Ltd MFC-440CN
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
Old 08-31-2016, 05:28 PM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,336

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Some thoughts:
Are you confident that libsane is correctly installed in your Linux Mint 18? There have been reports of some problems. http://blog.linuxmint.com/?p=3068
Are the Brother libraries present?
Code:
ls /usr/lib{,64}/sane/* | grep "libsane-brother"
Is there an appropriate entry for your device in your "/lib/udev/rules.d/40-libsane.rules" file?
Code:
grep "MFC-4.0CN" -A1 /lib/udev/rules.d/40-libsane.rules
If not, you could add a local rule by creating a file called "40-libsane.rules" in the /etc/udev/rules.d/ directory containing the following:
Code:
# Brother MFC-440CN
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01af", MODE="0660", GROUP="lp", ENV{libsane_matched}="yes"
 
Old 09-01-2016, 08:53 AM   #9
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
40-libsane.rules File

Fairly certain that libsane was installed correctly. One thing that may be a issue, and I am not certain, but from what I have been reading, sane project does not support the MFC-440CN scanner. Below is the terminal command results:

dbrew4@dbrew4-Inspiron-546 ~ $ ls /usr/lib{,64}/sane/* | grep "libsane-brother"
ls: cannot access '/usr/lib/sane/*': No such file or directory
/usr/lib64/sane/libsane-brother2.so
/usr/lib64/sane/libsane-brother2.so.1
/usr/lib64/sane/libsane-brother2.so.1.0.7

Attached is the 40-lbsane.rules file and no Brother MFC-440CN scanner is listed but there is a note about Brother and other scanners that were not listed.

Don't quite understand "If not, you could add a local rule by creating a file called "40-libsane.rules" in the /etc/udev/rules.d/ directory containing the following:" There already is a file with that name under that directory as per the attached. I'm not sure I know how to create this file if necessary. Detailed instructions would help. Thanks for your patience.
Attached Files
File Type: txt 40-libsane.rules.txt (94.4 KB, 15 views)
 
Old 09-01-2016, 09:27 AM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,336

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Good - The Brother libraries are present.

Hmm - No entries for Brother in your /etc/udev/rules.d/40-libsane.rules file.
Seems odd. The idea is that there is a /lib/udev/rules.d/ directory that contains files with a general set of udev rules. This can be be overridden by adding entries in the /etc/udev/rules.d/ directory to suit local configuration. Your file seems overly long and repetitive.
From 'man udev'
Quote:
However, files with identical filenames replace each other. Files in /etc have the highest priority, files in /run take precedence over files with the same name in /usr/lib.
I do not use Linux Mint, but to bastardise L.P.Hartley, "Linux Mint is a foreign distro: they do things differently there."

Quote:
Detailed instructions would help.
Code:
sudo echo '# Brother MFC-440CN' >> /etc/udev/rules.d/40-libsane.rules
sudo echo 'ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01af", MODE="0660", GROUP="lp", ENV{libsane_matched}="yes"' >> /etc/udev/rules.d/40-libsane.rules
Thanks for your perseverance.
 
Old 09-01-2016, 09:40 AM   #11
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Tried entering first command under your Code: ...results

dbrew4@dbrew4-Inspiron-546 ~ $ sudo echo '# Brother MFC-440CN' >> /etc/udev/rules.d/40-libsane.rules
bash: /etc/udev/rules.d/40-libsane.rules: Permission denied

Did I do this correctly?
 
Old 09-01-2016, 09:56 AM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,336

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Err - probably my bad.
Can you use a text editor to add those lines in post#8 to the file?
 
Old 09-01-2016, 10:10 AM   #13
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Modified File

I modified the file as per attached but did not replace the original yet. It this correct?
Attached Files
File Type: txt 40-libsane.txt (94.6 KB, 14 views)
 
Old 09-01-2016, 10:15 AM   #14
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
The file is saved in a temp folder on my desktop but the original file is "40-libsane.rules" and the modified file is "40-libsane.txt"...different format? I modified it in Libre Office Writer but maybe not the correct file extension used.
 
Old 09-01-2016, 10:19 AM   #15
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,336

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Please find attached my suggestion. I have moved the lines up in the text.

Edit - When using LQ, text files can get an additional .txt extension. Maintain the "40-libsane.rules" filename.
Attached Files
File Type: txt 40-libsane.txt (94.5 KB, 25 views)

Last edited by allend; 09-01-2016 at 10:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED]...Brother MFC-440CN Scanner Issues dbrew4 Linux - Newbie 18 12-10-2017 05:19 PM
Scanner BROTHER MFC- J4620 DW Funnix Linux - Hardware 14 09-18-2015 09:30 AM
[SOLVED] Brother MFC-J5910DW/scanner Joep72 Linux - Newbie 10 06-09-2014 01:07 AM
Really need an ASUS eeePC print driver for Brother MFC 440cn printer. sp2273 Linux - Newbie 3 03-16-2008 09:06 PM
Brother MFC-440cn in Slack 11? rje_NC Slackware 4 02-22-2007 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration