LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2012, 03:10 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 188

Rep: Reputation: 15
Cannot get Brother scanner seen by sane


I finally got my DCP-7040 to print, but now no scanning. I donw loaded the Brother brscan3 and brscan-skey files, converted to them to packagse and ran installpkg. lsusb yeilds
~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04f9:01e9 Brother Industries, Ltd DCP-7040

I then go to /lib/udev/rules.d/80-libsane-rules and add
#Brother DCP-7040
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01e9", MODE="0664", GROUP="scanner",
ENV{libsane_matched}="yes"

And, yes my user is included in scanner group (I could scan just fine using HP 6310 before it died).

But, sane-find-scanner doesn't find it and scanimage --list-devices only lists the former HP, no longer even hooked up.

I posted to sane mailing list, but no response. In fact, very few posts at all. Almost looks like a dead list.

Using Slack 13.37

Any help out there?

tj
 
Old 04-18-2012, 07:22 PM   #2
ShadowCat8
Member
 
Registered: Nov 2004
Location: Ontario, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 236

Rep: Reputation: 52
Greetings,

Well, I have had some experience running this issue down with Brother scanners in linux, as I posted in this thread here. The real issue seems to be the fact that, officially, Brother scanners are not supported by SANE. That is most likely because Brother has created their own drivers and installation instructions.

HTH. Let us know.
 
Old 04-18-2012, 07:46 PM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,624

Rep: Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529
My Brother DCP-110C requires an entry "brother2" in /etc/sane.d/dll.conf. Perhaps you need something similar?
I also remember that it was important to avoid having a trailing new line character at the end of /etc/sane.d/dll.conf.
 
Old 04-18-2012, 08:54 PM   #4
wufo
Member
 
Registered: Oct 2004
Posts: 188

Original Poster
Rep: Reputation: 15
The thing is I also have a Ubuntu 10.04 install that I have just to play with, I really like Slack better( Ubuntu like Windows, loads everything) and I got the scanner working under that. Oh, it kicked, screamed and fought every step of the way. But. most of the problems dealt with permissions and groups. sane-find-scanner and scanimage FOUND the scanner right away after driver install while Slack 13.37 does not.

Oh yea, DCP-7040 uses brscan3.

So, that is the first problem to overcome.

tj
 
Old 04-18-2012, 10:08 PM   #5
wufo
Member
 
Registered: Oct 2004
Posts: 188

Original Poster
Rep: Reputation: 15
I checked and brother3 was in dll.conf on Ubuntu but not Slack. I added it to /etc/sane.d/dll.conf, but it made no difference. I wonder though if there is something else the .deb files do that aren't done when converted to .tgz files?

tj
 
Old 04-19-2012, 06:56 AM   #6
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,624

Rep: Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529Reputation: 1529
Quote:
I wonder though if there is something else the .deb files do that aren't done when converted to .tgz files?
Yes. The Brother install scripts are written for cshell, not bash.
A simple conversion of package formats is not sufficient to ensure that the install scripts are run correctly. In fact, the lack of the addition of 'brother3' to /etc/sane.d/dll.conf would seem to confirm that there has been a problem with the install scripts.
You could try installing the converted packages from within tcsh.
 
Old 04-19-2012, 10:10 AM   #7
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 402

Rep: Reputation: 171Reputation: 171
On my brscan2 scanner I had to issue two commands after the installation:

/usr/local/Brother/sane/setupSaneScan2 -i
/usr/local/Brother/sane/brscan-skey-0.2.1-3.sh 0

I also added this line to /lib/udev/rules.d/80-libsane.rules:

# Brother DCP-115C
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="018c", MODE="0666", GROUP="scanner", ENV{libsane_matched}="yes"

Add yourself to the scanner group of slackware also and re-login!

I know, its not the same - but it maybe gives you an idea how to solve your own problem.
 
Old 04-19-2012, 01:38 PM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

since the DCP-7040 is a multifunctional device, you should add the user to the scanner and lp group. This is necessary because the access to the device itself is managed via the lp-group.

Markus
 
  


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
scanner, webcam sane conflicts NightSky Slackware 11 04-16-2012 02:09 AM
USB Brother MFC 420CN Scanner - sane/scanimage/error i/o issues NosLycn Linux - Hardware 11 11-14-2009 10:58 PM
usb scanner premissions issue when running sane-find-scanner vlsd Linux - Hardware 4 08-20-2009 02:20 PM
sane /dev/scanner? jeru Linux - Hardware 3 10-22-2004 09:28 PM
Help with SANE, parallel scanner sb73542 Linux - Software 0 07-31-2003 09:47 PM

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

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