LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-02-2019, 02:01 AM   #1
GRS63
Member
 
Registered: Mar 2009
Posts: 87

Rep: Reputation: 1
Brother printer/scanner install/setup issues


The issues are:
1 Getting the scanner to work on computer 1 (printer works for use the Xsane)
2 Getting the scanner to work on computer 2 . Scan to file for preference (printer and scanner not working scan to file for preference)

Set up
Printer.� Brother MFC-J6530DW,�� Static IP address 192.xxx.zzz.yyA.� on network with two computers,
Computer 1�� Lunix,� Fedora 29� 64 bit, Gnome desktop XCFE desktop also installed, Fixed IP address 192.xxx.zzz.yyB
Computer 2�� Linux�� Fedora 28� 64 bit� Gnome desktop Fixed IP address 192.xxx.zzz.yyC

On machine 1

I used the Linux driver install tool from the Brother web site for the install of the printer MFC-J6530DW and scanner.� After the install the printer would not print a test page or anything but the job would show as completed in CUPs. . It was found that an additional package had to be installed� libstdc++ i686 version to get the printer to work. � So the printer section works fine.

However I can not get it to scan at all in any form.� I want in particular to set it up for "scan to file".
In looking into this I found today in Gnome log the following entries;

invalid rule� /etc/udev/rules.d/65-brother-libsane-type1-inst.rules:14:unknown key SYSFS {idVendor}
invalid rule� /etc/udev/rules.d/65-brother-libsane4-libsane-type1.rules:19:unknown key SYSFS {idVendor}

Cannot access vdagent virtio channel /dev/virtio-ports./.redhat.spice.0

io/hpmud/model.c 543 no hp_ther_mfc-j6530dw attributes found in /usr/share/hplip/data/models/unrelated/unrelated.dat
io/hpmud/model.c 532 no hp_ther_mfc-j6530dw attributes found in /usr/share/hplip/data/models/models.dat
io/hpmud/model.c 543 no ther_mfc-j6530dw attributes found in /usr/share/hplip/data/models/unrelated unrelated.dat
io/hpmud/model.c 532 no ther_mfc-j6530dw attributes found in /usr/share/hplip/data/models/models.dat


Glib-CRITICAL: g_child_watch_add_full: assertion �pid > 0� filed
Process 27574 (xfdesktop) crashed in g_type_check_instance_is fundamentally_a()
Process 11763 (xfdesktop) of user 1000 dumped core. nl/nl =Stack trace of thread 11763:n/l#0 00007f3cf5a3e09,, (gord in to reference libgobject-2.0.so and libgio-2.0.so,0
failed to start dnf makecache


Some of the above seems to be related to the scanner. How are the scanner ones fixed?

Setup and check
Checked configuration of brsanecionfig4
brsaneconfig4 -qa | grep -e Scanner
response
0 Scanner �mrf-j6530dw� I:192.xxx.zzz.A
ran
$ brscan-skey
$ brscan-skey -l
and got a messages the libnsl could not be found/
Installed libnsl
dnf install libnsl
Ran the command again and got;
Scanner brother4:net;dev0 : 192.xxx.zzz.yyA Active

When I try to scan anything using Xsane or simple scan the applications just hang looking for devices.



Computer 2

Then log is shown the following relating to the scanner.

invalid rule /etc/udev/rules.d/65-brother-brscan4-libsane-type1-inst.rules:9: unknown key �SYSFS{idVendor}

How do I fix this?

The brother web site drivers were installed using the tool avaibnale on the web site. It installed the printer driver and the scanner driver

When I ran brscan-skey -l I got a messages
Error loading libnsl.so.1 can not open shared object file. no such file or Directory.

I then downloaded and installed libnsl and now when brscan-skey is run I get

MFC-j6530DW : brother4:net1;dev0 : 192.xxx.zzz.yya Active

Set up scanner
sudo brsaneconfig4 -a name=Brother model=MFC-J6530DW ip=192.xxzx.zzz.yya
� Confirm it worked, and got the following output
$ brsaneconfig4 -q
Devices on network
0 MFC--j6530DW "MFC-J-6530DW" I:192.xxx.zzz.yyA
Check Brscan-skeys
$ brscan-skeys
$ brscan-skey -l
MFC-J6530DW �MFC-J6530DW : 192.xxx.zzz.yyA Active

I try to run Xsane or simple c=scan and they hang looking for devices
Also if I try to set the printer �scan to file� function up in the printer�s web page I get an error when I try to test.
The folder on the computer machine which is to hold the scanned file has been set up with permission for all.
/home/USERNAME/Scanned
So in the Printer scan set up the path is entered as
//192.xxx.zzz.yyB/home/USERNAME/Scanned also tried
//192.xxx.zzz.yyB/Scanned
The web page saved the configuration and then asks for a test.
On Test The following error message is presented.
TEST ERROR
Server Timeout. This message will appear when you cannot connect to the server.
Make sure that:
*Your server address is correct
*Your server is connected to the network
*the machine is connected to the network
ECODE: 0x00002010, -32, 0x00001B5B
The computer IP address is correct 192.xxx.zzz.yyB
The printer Ip 102.xxx.zzz.yyA can be pinged from the server (computer 2) 192.xxx.zzz.yy.B The printers internal web page can be displayed on computer 2 so the network is working and the devices are connected on the saem network
Any Ideas please?
I have looked at the web to see if there is any fix. While there may be and I am missing it I would appreciate any assistance that is possible. During the search on the web I can across sone sim links which were indicted as being required. These being as below
sudo mkdir /usr/lib/sane
sudo ln -s /usr/lib64/sane/libsane-brother3.so /usr/lib/sane/libsane-brother3.so
sudo ln -s /usr/lib64/sane/libsane-brother3.so.1 /usr/lib/sane/libsane-brother3.so.1
sudo ln -s /usr/lib64/sane/libsane-brother3.so.1.0.7 /usr/lib/sane/libsane-brother3.so.1.0.7
sudo ln -s /usr/lib64/libbrscandec3.so /usr/lib/libbrscandec3.so
sudo ln -s /usr/lib64/libbrscandec3.so.1 /usr/lib/libbrscandec3.so.1
sudo ln -s /usr/lib64/libbrscandec3.so.1.0.0 /usr/lib/libbrscandec3.so.1.0.0
So I set the following with no issues

sudo mkdir /usr/lib/sane
sudo ln -s /usr/lib64/sane/libsane-brother4.so /usr/lib/sane/libsane-brother3.so
sudo ln -s /usr/lib64/sane/libsane-brother4.so.1 /usr/lib/sane/libsane-brother3.so.1
sudo ln -s /usr/lib64/sane/libsane-brother4.so.1.0.7 /usr/lib/sane/libsane-brother4.so.1.0.7

but the final three could not be found on the system or any other location. Where do I find the libbrscandec4.so etc files and how do I install them?


At this point I am asking for help.

Sorry for the length og this but I could not see any other easy way to showe my issue.
Thanks
 
Old 03-03-2019, 01:53 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,806

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Better formatting would have made this far easier to read. Please use CODE tags when posting output (refer to the '#' button in the advanced forum editor). I don't intend to pick right through this, but I have successfully installed a number of Brother multifunction devices over the years, and helped many users in linux forums get their printers and scanners working. Once thing I do note: The 'SYSFS {idVendor}' key is deprecated. Use 'ATTR{idVendor}' instead. A minimal udev entry to match for a Brother device could look like this
Code:
 ATTR{idVendor}=="04f9", ENV{libsane_matched}="yes"
Refer here...
https://support.brother.com/g/s/id/l...edirect=on#f17
 
Old 03-03-2019, 06:37 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
In my experience, the Brother script tends to install the scanner driver in the wrong place. All sane backend libraries should be in /usr/lib/sane, but you sometimes find the Brother ones in /usr/lib or in the /opt tree. Find out where they are and make links to them.
 
1 members found this post helpful.
Old 03-05-2019, 12:41 AM   #4
GRS63
Member
 
Registered: Mar 2009
Posts: 87

Original Poster
Rep: Reputation: 1
Thanks for the help. I have the printer working on both machines and the scanner working using Xsane Simplescan and another package. It was tied up with the lib... files being in the wrong place.

The only part I have not been able to get to work is the Scan to File.
I have set up a director on Computer 2 to hold the scanner files. I have set the permissions of the path for everybody.

Now if I go to the printers web page 192.xxx.zzz.yyA I get access to the printer setup.
I choose Scan.
on Scan to FTP/Network click Scan to Network
Go to Scan to FTP/Network profile
Choose profile 1
Set the profile name: Scanned
Network folder path: //192.xxx.zzz.yyB/home/USERNAME/Scanned
The accept the defaults
Select Auto in Authentications Setting
Enter the user name "username" of machine holding the folder where the scanned documents are to be located User of machine 192.xxx.zzz.yyB.
Enter the password of that user
Checked the date and time
and the clicked "Sumbit"
Click "yes"

After a few seconds I get a response on printer webpage "Profile 1 (Network)"

Test Error
Server Timeout, This message will appear when you cannot connect to the server.
Make sure that:
*Your server address is correct.
*Your server is connected to the network.
*The machine is connected to the network.
ECODE: 0x00002010, -32, 0x00001B5BTest Error

The server address is correct
The server is connected to the network, it can be pinged from computer 1 on the same network
The printer is connected to the network. Its web page can be displayed on either machine on the network and it can be pinged.
This error message can not be found on the search engines I have looked at.

I want to be able to save the scanned files as a PDF. from both the flat glass bed of teh scanne r or the ADF feedeer

Would be grateful for any ideas please.
Thanks.

PS I did not put the results of the Test Error into a code format as this is wht was displayed on the Printers web page and not in a terminal If that is a error than I apoligise.
 
  


Reply



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
New Printer Scanner in Xsane finds new printer/scanner (Brother MFC-6520DW) with error message TrinityBeing Linux - Newbie 23 03-29-2016 10:27 AM
[SOLVED] Brother printer HL-2270DW driver - Brother solutions offer four - which one? juneymoon Linux - Software 9 06-15-2013 04:52 PM
Easy install Brother MFC-665CW printer scanner etc. paynejp Linux - Hardware 1 11-07-2009 07:21 PM
Brother DCP-110C Printer/Scanner Installation Issues Maxwell Rain Mandriva 4 08-08-2005 03:09 PM
Brother Printer/Scanner DCP-110C Installation Issues Maxwell Rain Linux - Hardware 1 10-31-2004 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:26 PM.

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
Open Source Consulting | Domain Registration