You are not logged in.

#1 2014-03-17 23:49:56

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Brother MFC-9160: 'scanimage -L' fails but 'sane-find-scanner' works

Am trying to scan on a fully updated Arch-64 system with a Brother MFC-9160 copier/printer/scanner connected via USB. The SANE webpage says that this device has a Good compatibility rating.
Have installed the brscan and brscan-skey packages from AUR as recommended for this model. The file /etc/sane.d/dll.conf has been appended with 'brother'.
The scanner is found:

$ sane-find-scanner
found USB scanner (vendor=0x04f9, product=0x011f) at libusb:001:008

but can't be used:

$ scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(467)
Aborted (core dumped)

Also, I have another USB connected scanner (a HP) which works fine normally, but unless 'brother' is removed from /etc/sane.d/dll.conf it isn't found either, as 'scanimage -L' fails immediately. (Nothing remarkable in journal log bar the core dump.]

Have done various searches and failure of scanimage in this way is reported, but no clear answers, and everything I've tried has failed.
For example, https://gist.github.com/sepastian/6113593, http://jimloco.com/2013/09/17/network-s … -on-gentoo and http://xinabox.blogspot.co.uk/2011/04/c … 8840d.html. And of course, they may not be relevant to Arch.

Any ideas most welcome!

Edit: Just read from http://welcome.solutions.brother.com/bs … tml#brscan

When you are using the Distribution listed below, you can not scan from the machine connected to a USB port.
Distribution:
Fedora 15, Fedora 16, openSUSE 11.4, openSUSE 12.1, Mandriva 2011, Ubuntu 11.10, and Distribution released after 2012.
Related Models:
DCP-1000, DCP-1400, DCP-8020, DCP-8025D, DCP-8040, DCP-8045D, FAX-4750e, FAX-5750e, MFC-4800, MFC-6800, MFC-8220, MFC-8420, MFC-8440, MFC-8500, MFC-8820D, MFC-8840D, MFC-9030, MFC-9070, MFC-9160, MFC-9180, MFC-9660, MFC-9700, MFC-9760, MFC-9800, MFC-9860, MFC-9880

Aaaaargh - am I doomed to failure?!

Last edited by ninian (2014-03-18 00:35:55)

Offline

#2 2014-03-19 19:04:59

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: Brother MFC-9160: 'scanimage -L' fails but 'sane-find-scanner' works

If the output of the following command shows no missing libraries then indeed you are doomed to failure!

SANE_DEBUG_DLL=3 scanimage -L

I was born with nothing and I still got most of it

Offline

#3 2014-03-19 20:07:51

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Brother MFC-9160: 'scanimage -L' fails but 'sane-find-scanner' works

libernux wrote:

If the output of the following command shows no missing libraries then indeed you are doomed to failure!

SANE_DEBUG_DLL=3 scanimage -L

Thanks for your reply. Here's what I get when I run the command:

$ SANE_DEBUG_DLL=3 scanimage -L
...
[dll] add_backend: adding backend `brother'
[dll] sane_get_devices
[dll] load: searching backend `brother' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-brother.so.1'
[dll] init: initializing backend `brother'
bugchk_free(ptr=(nil))@brother_modelinf.c(467)
Aborted (core dumped)

And here are the files referred to:

$ ls -l /usr/lib/sane/libsane-brother.so*
lrwxrwxrwx 1 root root     24 Mar 17 21:25 /usr/lib/sane/libsane-brother.so -> libsane-brother.so.1.0.7
lrwxrwxrwx 1 root root     24 Mar 17 21:25 /usr/lib/sane/libsane-brother.so.1 -> libsane-brother.so.1.0.7
-rwxr-xr-x 1 root root 110336 Mar 17 21:25 /usr/lib/sane/libsane-brother.so.1.0.7

Good news though: VueScan works fine with the MFC-9160 and my other HP all-in-one, so I'm going down that route before I go inSANE!
;-)

Offline

Board footer

Powered by FluxBB