Hello all. I have been working on this problem for hours now. I had a 32bit Ubuntu 10 system and my Brother MFC-J625DW scanner was working flawlessly. I then get a new 64bit system and installed Ubuntu 12.04 LTS. Now the same scanner WILL NOT work. I have been trying things for hours now (with the help of Google) and still no luck. My printer prints and works fine. I have installed brscan4 and brscan-skey from Brother (plus the cups drivers). I have also followed Brother's advice and copied /usr/lib64/saned/* to /usr/lib and /usr/lib/saned/. Please see below for an output of my terminal (I tried to post all needed info):
Code:
anncarol@anncarol:~$ scanimage >test.pnm
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
Code:
anncarol@anncarol:~$ scanimage -L
device `brother4:bus2;dev1' is a Brother MFC-J625DW USB scanner
Code:
anncarol@anncarol:~$ scanimage -d "brother4:bus2;dev1" -v >test.pnm
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
Code:
anncarol@anncarol:~$ cat /var/log/syslog | grep 'sane'
Jun 24 13:39:22 anncarol saned[4318]: saned (AF-indep+IPv6) from sane-backends 1.0.22 starting up
Jun 24 13:39:22 anncarol saned[4318]: check_host: getpeername failed: Socket operation on non-socket
Jun 24 13:39:22 anncarol saned[4318]: init: access by host [error] denied
Jun 24 13:39:22 anncarol saned[4318]: saned exiting
Jun 24 14:14:57 anncarol kernel: [ 632.528707] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:15:02 anncarol kernel: [ 637.760308] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:15:02 anncarol kernel: [ 637.760330] usb 8-1: usbfs: process 2388 (xsane) did not claim interface 1 before use
Jun 24 14:19:03 anncarol kernel: [ 879.153675] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:19:09 anncarol kernel: [ 884.634656] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:19:09 anncarol kernel: [ 884.634678] usb 8-1: usbfs: process 2935 (xsane) did not claim interface 1 before use
Jun 24 14:24:44 anncarol saned[2040]: saned (AF-indep+IPv6) from sane-backends 1.0.22 starting up
Jun 24 14:24:44 anncarol saned[2040]: check_host: getpeername failed: Socket operation on non-socket
Jun 24 14:24:44 anncarol saned[2040]: init: access by host [error] denied
Jun 24 14:24:44 anncarol saned[2040]: saned exiting
Jun 24 14:24:47 anncarol saned[2041]: saned (AF-indep+IPv6) from sane-backends 1.0.22 starting up
Jun 24 14:24:47 anncarol saned[2041]: check_host: getpeername failed: Socket operation on non-socket
Jun 24 14:24:47 anncarol saned[2041]: init: access by host [error] denied
Jun 24 14:24:47 anncarol saned[2041]: saned exiting
Jun 24 14:29:39 anncarol kernel: [ 124.582215] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:29:45 anncarol kernel: [ 130.316753] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:29:45 anncarol kernel: [ 130.316796] usb 8-1: usbfs: process 2416 (xsane) did not claim interface 1 before use
Jun 24 14:37:51 anncarol kernel: [ 616.592343] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:37:54 anncarol kernel: [ 619.641378] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:37:54 anncarol kernel: [ 619.641414] usb 8-1: usbfs: process 2810 (xsane) did not claim interface 1 before use
Jun 24 14:56:12 anncarol kernel: [ 379.959940] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:56:15 anncarol kernel: [ 383.870299] usb 8-1: usbfs: interface 3 claimed by usb-storage while 'xsane' sets config #1
Jun 24 14:56:15 anncarol kernel: [ 383.870319] usb 8-1: usbfs: process 3009 (xsane) did not claim interface 1 before use
Jun 24 15:04:58 anncarol xinetd[1005]: Reading included configuration file: /etc/xinetd.d/saned [file=/etc/xinetd.d/saned] [line=26]
Jun 24 15:27:27 anncarol xinetd[975]: Reading included configuration file: /etc/xinetd.d/saned [file=/etc/xinetd.d/saned] [line=26]
Jun 24 15:32:39 anncarol xinetd[965]: Reading included configuration file: /etc/xinetd.d/saned [file=/etc/xinetd.d/saned] [line=26]
Code:
anncarol@anncarol:~$ ls /etc/udev/rules.d/
10-cups-printer.rules 70-persistent-cd.rules 70-persistent-net.rules README
Code:
anncarol@anncarol:~$ ls /etc/sane.d/*brother*
ls: cannot access /etc/sane.d/*brother*: No such file or directory
Code:
anncarol@anncarol:~$ saned -a -d128
anncarol@anncarol:~$ scanimage >test.pnm
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
Code:
anncarol@anncarol:~$ scanimage -v >test.pnm
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
Code:
anncarol@anncarol:~$ cat /etc/udev/rules.d/10-cups-printer.rules
# Brother scanners
ATTRS{idVendor}=="04f9", ATTR{idProduct}=="0282", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
This file (40-libsane.rules) WAS in /etc/udev/rules.d... however I removed it to see if removing it would help... it didn't.
Code:
anncarol@anncarol:~$ cat 40-libsane.rules
# Brother scanners
ATTRS{idVendor}=="04f9", ATTR{idProduct}=="0282", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
Code:
anncarol@anncarol:~$ groups
anncarol adm lp cdrom sudo dip plugdev scanner lpadmin sambashare
Code:
anncarol@anncarol:~$ cat /etc/sane.d/saned.conf
# saned.conf
# Configuration for the saned daemon
## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.
#
# data_portrange = 10000 - 10100
## Access list
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.
#scan-client.somedomain.firm
192.168.0.1
192.168.0.1/29
#[2001:7a8:185e::42:12]
#[2001:7a8:185e::42:12]/64
# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).
Code:
anncarol@anncarol:~$ uname -a
Linux anncarol 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Please please help. I am pulling my hair out!