SOLVED Brother MFC-8860DN Scanning (Mint 19)

Forum rules
Before you post please read this
Post Reply
appalbarry
Level 2
Level 2
Posts: 75
Joined: Tue Nov 29, 2011 10:22 pm

SOLVED Brother MFC-8860DN Scanning (Mint 19)

Post by appalbarry » Sat Jun 16, 2018 5:58 pm

I'm running the Mint Cinnamon 19 beta. This printer and scanner worked great in Mint 18, but I did fresh install this week and now can't get it to scan. I've downloaded fresh driver/install packages from Brother, and followed the instructions here:
https://sites.google.com/site/easylinuxtipsproject/15

Previously this seemed to work fine. I've gone through it a couple of times with no success. I suspect I'm missing something obvious. My best clue is that scanimage -L finds nothing. sane-find-scanner doesn't find the scanner, but sudo sane-find-scanner does.

Here's my terminal output:

Code: Select all

barry@barry-desktop:~$ sudo scanimage -L
[sudo] password for barry: 

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).
barry@barry-desktop:~$ sane-find-scanner

  # 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.

could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
found USB scanner (vendor=0x04f9, product=0x01a6) at libusb:001:005
could not open USB device 0x046d/0x082b at 001:004: Access denied (insufficient permissions)
could not open USB device 0x05e3/0x0605 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1bcf/0x0007 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 006:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 008:001: Access denied (insufficient permissions)
could not open USB device 0x045e/0x07f8 at 007:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 007:001: Access denied (insufficient permissions)
  # 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.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
barry@barry-desktop:~$ sudo sane-find-scanner

  # 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=0x01a6) at libusb:001:005
  # 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.
barry@barry-desktop:~$ sudo usermod -a -G scanner barry
barry@barry-desktop:~$ groups
barry adm cdrom sudo dip plugdev lpadmin scanner sambashare
barry@barry-desktop:~$ sudo 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).
And here's the contents of xed admin:///lib/udev/rules.d/60-libsane1.rules

Code: Select all

# This file was automatically created based on description files (*.desc)
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
ACTION!="add", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRS{type}=="6", ENV{libsane_matched}="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"

# Epson Expression 800 | Epson Expression 800
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIc
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIp
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIcx
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4c
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 5p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6200C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6300C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"

# BROTHER SCANNER
ATTRS{idVendor}=="04f9", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"

LABEL="libsane_rules_end"
Thanks everyone for telling me what I've missed.

Barry
Last edited by appalbarry on Tue Jul 10, 2018 2:22 pm, edited 1 time in total.

antcj
Level 2
Level 2
Posts: 98
Joined: Thu Jun 28, 2012 11:17 pm

Re: Brother MFC-8860DN Scanning (Mint 19)

Post by antcj » Mon Jul 02, 2018 3:31 pm

I've just been through the same issues on mate with mfc8840d networked
after much fuss and bother this is what i did. Your mileage may vary, and please mote this is my scanner and you must change files accordingly
I installed xsane as the scanner gui
I also installed ,previously, the printer scanner software as per brothers website.
Printer works fine but Xsane said that it could not find a device.
so:
get the driver for your scanner here:
http://support.brother.com/g/s/id/linux ... edirect=on
I followed the instructions ,
For my printer i use brsaneconfig, so changed the commands accordingly.
so here is what i typed into cli directly as root: (note that the model name must be exact. I ended up doing a copy of such from brother)

dpkg -i --force-all brscan-0.2.4-0.amd64.deb
dpkg -l | grep Brother
brsaneconfig -a name=SCANNER model=MFC-8840D ip=192.168.5.110
brsaneconfig -q | grep MFC-8840D

At this point it still does not work:
it also appears that some files are misplaced:

EDIT
Use this link for your scanner version to find which files to copy.
[http://support.brother.com/g/s/id/linux ... =on#f00101]

Also note that line 2 3 4 are from this brother page
http://support.brother.com/g/s/id/linux ... =on#f00101
Heading:I cannot find the Brother Machine.


sudo cp /usr/lib64/libbrscandec.so.1.0.0 /usr/lib
sudo cp /usr/lib64/sane/libsane-brother.so.1.0.7 /usr/lib/x86_64-linux-gnu/sane
sudo cp /usr/lib64/sane/libsane-brother.so.1 /usr/lib/x86_64-linux-gnu/sane
sudo cp /usr/lib64/sane/libsane-brother.so /usr/lib/x86_64-linux-gnu/sane
sudo cp /usr/lib64/libbrscandec.so /usr/lib
sudo cp /usr/lib64/libbrscandec.so.1 /usr/lib

many thanks to other posters elsewhere, without which i could not have done this.

appalbarry
Level 2
Level 2
Posts: 75
Joined: Tue Nov 29, 2011 10:22 pm

Re: Brother MFC-8860DN Scanning (Mint 19)

Post by appalbarry » Tue Jul 10, 2018 2:22 pm

Hurrah! In my case what finally worked was this (from your link.):

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

jarp53
Level 2
Level 2
Posts: 98
Joined: Mon Jun 01, 2015 11:54 am

Re: SOLVED Brother MFC-8860DN Scanning (Mint 19)

Post by jarp53 » Tue Aug 07, 2018 4:56 pm

thanks this command line work for me in my AMFC-5890CN: sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane

mmgud
Level 1
Level 1
Posts: 1
Joined: Wed Aug 15, 2018 5:40 pm

Re: SOLVED Brother MFC-8860DN Scanning (Mint 19)

Post by mmgud » Wed Aug 15, 2018 5:43 pm

Thanks! The 64 bit code worked for me. Linux mint 19.

Post Reply

Return to “Printers & Scanners”