LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2016, 10:16 AM   #1
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Rep: Reputation: Disabled
Unhappy New Printer Scanner in Xsane finds new printer/scanner (Brother MFC-6520DW) with error message


I have a Toshiba laptop with Windows totally replaced by Debian 8 Installation about a year ago. I recently switched from Epson Workforce 645 to Brother MFC0J6520DW Printer/Scanner Inkjet and followed the installation instructions for the terminal as given on their website, as much as I could. I have ethernet cable running for computer, usb cable attached and wireless selected for printer sorted, however when I try to use the xsane application, the printer/scanner shows as: Brother MFC-J6520DW USB scanner [brother4:bus;dev1] with that same message once I click okay to use the selected device show, comes up error message: Failed to open device 'brother4:bus4;dev1' Any suggestions? If I try to use the scan to pc file option on the printer/scanner touch panel no idea where it goes or if it works either? Will check the other answers shown as well.
 
Old 03-19-2016, 10:32 AM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 276Reputation: 276Reputation: 276
You have to select the correct drivers on the Brother site, and install the scanner and scankey files, then run the brsaneconfig? utility, with the question mark replaced by a number, 1-4, depending on which you installed. I don't know which your model uses, but if it's new it's probably 4. There are other Brother threads here, which might help if you read them carefully.
 
Old 03-19-2016, 10:37 AM   #3
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,111

Rep: Reputation: 147Reputation: 147
Welcome to the forum.
This link works to install Brother drivers in ubuntu,Mint and lubuntu. I haven't tried Debian
but it will probably work.

https://sites.google.com/site/easylinuxtipsproject/15
 
Old 03-19-2016, 11:13 AM   #4
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thank you, I did already install the correct drivers and install the scanner and scankey files, but I didn't see anything about running the brsaneconfig? utility with the qu

Not sure how or what qu is but will re-check that out. The other response also helped as in applications for printer settings the old printer still needed removing and drivers could be checked. Will let you know if any more issues to sort. The browser link to add the printer didn't work when other connections worked, so not sure if permissions in Iceweasel blocked it or if for other reasons?

Thank you both for your help.

Trinity
 
Old 03-19-2016, 05:47 PM   #5
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,111

Rep: Reputation: 147Reputation: 147
This thread sounds something like your issue, but it doesn't seem to offer a solution either.
http://www.linuxquestions.org/questi...-a-4175500801/

This one looks more promising.
http://www.linuxquestions.org/questi...-xsane-886934/
 
Old 03-19-2016, 09:54 PM   #6
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 276Reputation: 276Reputation: 276
I don't know what you're referring to with "qu". To run the configuration setup, run brsaneconfig4, or brsaneconfig3, or whichever is installed. You can find out by running
Code:
ls /usr/bin/brsaneconfig*
in a terminal. Run it with the -q option to see what it thinks is currently installed. My brsaneconfig4 doesn't show the MFC-J6520DW as supported, but it does show MFC-J6510DW. The 6520 may be in one of the other config setups, but I haven't checked.

You can run it using
Code:
brsaneconfig4 -a name=MFC-J6520DW model=MFC-J6520DW ip=xx.xx.xx.xx
replacing the ip=xx.xx.xx.xx with whatever the ip address of the device is. You can get that from the device or from accessing your router. Also replace the 4 in brsaneconfig4 with the number of the setup you have.

Until you run the setup, xsane won't find the scanner.

Alternatively, I found a different place to get files on the Brother website. Go to this web page and click on the Driver Install Tool link. After accepting the EULA, the file will download and you'll see the installation instructions.

Code:
How to Install
Step1. Download the tool.(linux-brprinter-installer-*.*.*-*.gz)
The tool will be downloaded into the default "Download" directory.
(The directory location varies depending on your Linux distribution.)
e.g. /home/(LoginName)/Download
Step2. Open a terminal window and go to the directory you downloaded the file to in the last step.
Step3. Enter this command to extract the downloaded file:
Command: gunzip linux-brprinter-installer-*.*.*-*.gz
Step4. Get superuser authorization with the "su" command or "sudo su" command.
Step5. Run the tool:
Command: bash linux-brprinter-installer-*.*.*-* Brother machine name
Step6. The driver installation will start. Follow the installation screen directions.
 
 When you see the message "Will you specify the DeviceURI ?",
 For USB Users: Choose N(No)
 For Network Users: Choose Y(Yes) and DeviceURI.
The install process may take some time. Please wait until it is complete.
When you run the bash script, replace "Brother machine name" with the name you want to give to your scanner. You can use MFC-J6520DW or something else. When you select Yes for DeviceURI, there will be a pause and then you will be given a list of URIs from which to select. The last one is probably the best, if it indicates a Brother device. That script, if followed correctly, will install all the necessary drivers and run the config script for you. After running, you should be able to scen via xsane. To scan from the scanner directly to a file, you have to be connected by a USB cable, it won't work via network, but you can scan to xsane or simplescan. You can also scan directly to Google Drive, Dropbox, OneDrive, or Box by pressing the Web icon. You have to have one of those accounts already, obviously, and jump through a few hoops to connect the scanner to the drive. Not difficult, but it takes a few minutes. After that one-time setup, scanning to the cloud is quick and easy, actually quicker than a local scan to xsane.

Last edited by sgosnell; 03-19-2016 at 11:06 PM.
 
Old 03-19-2016, 10:20 PM   #7
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,466

Rep: Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371
Quote:
brsaneconfig4 -a name=MFC-J6520DW model=MFC6520DW ip=xx.xx.xx.xx
I think that should be:
Code:
brsaneconfig4 -a name=MFCJ6520DW model=MFC-6520DW ip=xx.xx.xx.xx
 
Old 03-19-2016, 11:05 PM   #8
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 276Reputation: 276Reputation: 276
The name doesn't matter, but yes, I inadvertently omitted the dash and the J in the model option. I fixed it. Thanks for the proofread.

Last edited by sgosnell; 03-19-2016 at 11:07 PM.
 
Old 03-20-2016, 06:52 AM   #9
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thank you so much for all the help.. I have printed the info out so I can check through it all more thoroughly. Very much appreciated. See how it goes. Muchos gracias TrinityBeing
 
Old 03-20-2016, 10:16 AM   #10
elfaroui
LQ Newbie
 
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
Thank you bro
 
Old 03-20-2016, 10:46 AM   #11
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,111

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by elfaroui View Post
Thank you bro
Welcome to the forum.
 
Old 03-22-2016, 10:18 AM   #12
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hello folks, After trying quite a few suggestions I can share what is installed as below:
~/Downloads$ dpkg -l | grep Brother
ii brscan-skey 0.2.4-1 amd64 Brother Linux scanner S-KEY tool
ii brscan4 0.4.2-1 amd64 Brother Scanner Driver
ii mfcj6520dwcupswrapper 3.0.0-1 i386 Brother CUPS Inkjet Printer Definitions
ii mfcj6520dwlpr 3.0.0-1 i386 Brother lpr Inkjet Printer Definitions
ii printer-driver-brlaser 3-3 amd64 printer driver for (some) Brother laser printers
ii printer-driver-ptouch 1.3-8 amd64 printer driver Brother P-touch label printers

Unfortunately it is still not working, but like one member here, I noticed that one of the sections does not include this model only the one before like MFC-J6510DW so i used that install driver/scan, so if you have any other suggestions based on what you can see above I would appreciate your help. I can't scan from the printer to pc as file that I can tell has happened though the touch panel seems to show it is doing it. Much appreciated for any more assistance. This is as you can see Debian 8 Jessie amd64 .. that's another thing.. no deb8 in the lists either only up to deb6 or 4 on the driver specific tools. Nice and simple for Linux Dummy please. Thank you This is a USB connected printer scanner with wifi enabled too. The error message when trying to scan from the application is still not valid and the list in the application shows two lots of Brother MFC-J6520DW one with Model Name repeated in the centre and [brother4:net1;dev0] and the one below that shows same machine name at beginning with USB scanner in the middle and [brother4:bus2;dev1] and the end and still doesn't work after long attempt at starting..
Failed to open device 'brotherinvalid argument etc... sorry if I couldn't follow some of the instructions given already. Hopefully we will get there in the end

Last edited by TrinityBeing; 03-22-2016 at 10:27 AM.
 
Old 03-22-2016, 12:11 PM   #13
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,111

Rep: Reputation: 147Reputation: 147
Just wondering, when you installed the drivers, did you select N for USB printer? As in the instructions here.
"At the question about the Device URI, you answer N for a USB printer and Y for a network printer."

edit: I noticed this in your original post.
[quote] I recently switched from Epson Workforce 645 to Brother MFC0J6520DW Printer/Scanner Inkjet and followed the installation instructions for the terminal as given on their website, as much as I could."

I have never had success using the instructions from the Brother site, I have always had to get help, usually from the forum, until I
found the instructions in the link which I provided before.
https://sites.google.com/site/easylinuxtipsproject/15

If you use this, follow the instructions given, NOT the instructions from the Brother site.
Caveat; I have used these instructions for ubuntu and ubuntu based distros, I haven't personally tried it with Debian 8. Although I do have an install disk with Debian 8.2 Cinnamon ready to go.

Last edited by offgridguy; 03-22-2016 at 12:22 PM.
 
Old 03-22-2016, 09:15 PM   #14
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yes I did select N for that part and I didn't follow all of your site instructions as I had already mostly installed from the Brother site.. Already unzipped with gunzip in the terminal for the drivers, but will check some of those steps again. In the Applications Menu Under Settings I find my printer listed ok, when I select Print Settings and when I double click on the printer image shown the properties window comes up and shows in the Device URI as usb://Brother/MFC-J6520DW?serial=BROL5F172539 and Make and Model line shows: Brother MFC-J6520DW CUPS both of which have change option button next to them.

The Applications Menu does not show any printer except in settings nor anyway to add one and printer is not in removable drives and media under the tab for printers.. only shows a printer image generic with an option to tick a box for Automatically run a program when a printer is connected .. which when ticked has a command line now active and a folder image at the end which when clicked on goes to usr bin folders and has some of the br items listed such as brprintconf_mfcJ6520dw
brsaneconfig4
brscan0skey
Do I select the brscan-skey to open it from there? I will try it and see what happens after restart of machine and attempt to scan

Last edited by TrinityBeing; 03-22-2016 at 09:28 PM.
 
Old 03-22-2016, 10:00 PM   #15
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
No not working with option ticked either
 
  


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
Installing a Brother MFC-6890CW (printer)/Scanner on Linux Lite 1.08 (Ubuntu 12.04)? n7tek Linux - Hardware 1 04-07-2014 05:59 AM
[SOLVED] Brother MFC-7840W Network Scanner not Recognized in XSane Kaiser Soze Slackware 9 06-22-2011 12:40 AM
Brother MFC on 64 current: Scanner works, printer uses wrong connection gargamel Slackware 0 03-07-2010 03:51 AM
USB Brother MFC 420CN Scanner - sane/scanimage/error i/o issues NosLycn Linux - Hardware 11 11-14-2009 11:58 PM
Easy install Brother MFC-665CW printer scanner etc. paynejp Linux - Hardware 1 11-07-2009 08:21 PM


All times are GMT -5. The time now is 03:46 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