LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-16-2013, 09:45 AM   #31
DuskGlow
LQ Newbie
 
Registered: Jan 2013
Location: Warsaw, Poland
Distribution: Debian Sid
Posts: 24

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by allend View Post
As I said in the first post, I had already done that. Didn't help.
 
Old 01-16-2013, 10:37 AM   #32
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,135

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Brother DCP7030 scanner : The "brscan3" ..
http://welcome.solutions.brother.com...n.html#brscan3
> brscan3 32bit or 64bit
> scan-key-tool <?>

( .. Don't know if you are already using the above.)
 
Old 01-16-2013, 10:43 AM   #33
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
My apologies for not reading more carefully.
I note this from your first post
Quote:
# Brother DCP-7030
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01ea", MODE="666", GROUP="scanner", ENV{libsane_matched}="yes"
Have you tried with 'GROUP="lp" in that line? https://bugs.launchpad.net/ubuntu/+s...61/comments/44

@knudfl - OP reports brscan3-0.2.11-5.amd64 in post #1

Last edited by allend; 01-16-2013 at 10:47 AM.
 
Old 01-16-2013, 10:56 AM   #34
DuskGlow
LQ Newbie
 
Registered: Jan 2013
Location: Warsaw, Poland
Distribution: Debian Sid
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Brother DCP7030 scanner : The "brscan3" ..
http://welcome.solutions.brother.com...n.html#brscan3
> brscan3 32bit or 64bit
> scan-key-tool <?>
I'm using 64-bit versions of these.

Also, changing group to lp changes nothing. As I said, I think it's more of a sane problem than access rights one.
 
Old 01-16-2013, 06:06 PM   #35
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,252
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
I think it's more of a sane problem than access rights one.
Acknowledged

The only other thing I can think of is that there could be something (argument wise within the file) /usr/share/doc/sane-backends-1.0.9/sane.ps ) that is not correct- Guessing ?

On my Debian system I do not have 'sane-backends' I only have 'sane-utilities' but my printer is wireless-

Sane is also a GIMP plugin. Not sure if this is a conflict or not.

http://www.spencerstirling.com/computergeek/sane.html

The sane−genesys library implements a SANE (Scanner Access Now Easy) backend that provides access to USB flatbed scanners based on the Genesys ...
http://man.flashnux.com/en/debian/6/...genesys.5.html
http://packages.debian.org/sid/sane

Allend and Knudfl:
I'm running out of ideas
 
Old 01-16-2013, 07:57 PM   #36
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
I am wondering about libsane.
On my system I see
Code:
bash-4.2$ file /usr/lib64/libsane.so.1.0.22
/usr/lib64/libsane.so.1.0.22: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
There is no libsane.so in /usr/lib/ as this is a pure 64-bit system.
 
Old 01-17-2013, 03:54 AM   #37
DuskGlow
LQ Newbie
 
Registered: Jan 2013
Location: Warsaw, Poland
Distribution: Debian Sid
Posts: 24

Original Poster
Rep: Reputation: Disabled
Ztcoracat, there is no gimp2.0-quiteinsane for amd64. Also, I counldn't find any sane−genesys drivers in the repo - besides, don't I require a Brother3 driver?

Allend, I have
Code:
pawel@autumn:~/Pobrane$ file /usr/lib64/libsane.so.1.0.22 
/usr/lib64/libsane.so.1.0.22: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x89144bc1dc2f3390d20ecac91577c6d7f653f631, stripped
I also tried purging and reinstalling sane, and the only effect is that it doesn't show the first notification about scanning now, only the invalid argument :/
 
Old 01-17-2013, 09:21 PM   #38
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
I also tried purging and reinstalling sane
This may have overwritten /etc/sane.d/dll.conf. As you may be aware, the Brother scanner installation script makes an entry in this file. You should have 'brother3' at the end.
 
Old 01-18-2013, 04:56 AM   #39
DuskGlow
LQ Newbie
 
Registered: Jan 2013
Location: Warsaw, Poland
Distribution: Debian Sid
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
This may have overwritten /etc/sane.d/dll.conf. As you may be aware, the Brother scanner installation script makes an entry in this file. You should have 'brother3' at the end.
I've reinstalled Brother drivers afterwards, and there's appropriate line in dll.conf.
 
Old 01-18-2013, 04:47 PM   #40
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,252
Blog Entries: 1

Rep: Reputation: Disabled
Researching the output of:
Quote:
open of device brother3:bus.:dev1failed: invalid argument
Provided a bug report-
https://bugs.launchpad.net/ubuntu/+s...ne/+bug/478761

Other searching I found this post in the Debian Forum about your Brother DCP 7030
script: Brother DCP-7030 printer drivers on Squeeze AMD6 (Member made a script)
http://forums.debian.net/viewtopic.php?f=7&t=68956

This worked for Ubuntu but I can't guarantee it is suitable for Debian.
Copy the following files under /usr/lib64/ to /usr/lib/.
http://welcome.solutions.brother.com...cn.html#f00101

In the meantime try what this member did:

He mentions in his post http://forums.debian.net/viewtopic.php?f=7&t=68956
Quote:
REMEMBER: on my debian there was no /usr/lib/sane directory so I had to make it before copying !
Quote:
mkdir /usr/lib/sane
The scanner should work after that (should)

Last edited by Ztcoracat; 01-18-2013 at 04:49 PM. Reason: Debian Forum webpage
 
1 members found this post helpful.
Old 01-19-2013, 07:04 AM   #41
DuskGlow
LQ Newbie
 
Registered: Jan 2013
Location: Warsaw, Poland
Distribution: Debian Sid
Posts: 24

Original Poster
Rep: Reputation: Disabled
The script and moving/linking files didn't help me, I've already done that.

I am trying to install libsane older than 1.0.20, but everytime it need dependencies which uninstall half of my system.
 
Old 01-19-2013, 09:05 PM   #42
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,252
Blog Entries: 1

Rep: Reputation: Disabled
Allend:

What do you think the problem exactly is?
Something to do with libsane?

The scan key tool that was already suggested is the last thing that I know to try-
http://welcome.solutions.brother.com...n.html#brscan3

I know that we have a few Members in our Debian Forum that are in Debian Testing and Debian/Sid Experimental.

Last edited by Ztcoracat; 01-19-2013 at 11:16 PM. Reason: Spelling
 
Old 01-19-2013, 09:22 PM   #43
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,252
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by DuskGlow View Post
The script and moving/linking files didn't help me, I've already done that.

I am trying to install libsane older than 1.0.20, but everytime it need dependencies which uninstall half of my system.
Your Synaptic Package Manager might have an older version of libsane.

I have 'The Debian Administrattor's Handbook' on my desktop (PDF) I'll look in that and see what is mentioned in printing/scanning and trouleshooting.
http://debian-handbook.info/

How long ago has it been that your printer functioned properly with Arch Linux?
And what version of the kernel were you using in Arch?
 
Old 01-19-2013, 11:14 PM   #44
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,252
Blog Entries: 1

Rep: Reputation: Disabled
I did not find any useful information in the Debian Handbook so I went to The Linux Foundation to make sure I haven't left anything out, misunderstood and that I fully understand Sane to help you.

http://www.linuxfoundation.org/colla...what_not_to_do


Scanner drivers: Scanner drivers for multi-function devices should not come in the form of desktop applications, they should come as drivers for SANE, so that every scanning software for Linux can be used with the built-in scanner. This also saves the cost and effort of writing a scanning GUI.


SANE: Every Linux distribution ships SANE to access scanners and all free scanning software under Linux uses SANE. So if you want to provide full functionality for a multi-function printer with scanner, base your scanner driver on SANE. This way every user can use the scanning software he is used to, and easily switch between different scanners without needing to learn to use a new interface all the time. SANE is also included in the LSB DDK now, but this part is not yet intensively tested and SANE is also not yet in the LSB. SANE modules compiled in the LSB Build Environment with the LSB DDK should work on all distributions with SANE 1.0.x. It is planned to make SANE a requirement for LSB 4.1.

The only reason that your printer (AFAIK)could be non-funtional is because you are running Debian Sid-
And Sid is unstable.

Try running:
Code:
sane-find-scanner -q
http://www.debianuserforums.org/view...php?f=9&t=1491

I hope this helps
 
Old 01-20-2013, 06:54 AM   #45
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
What do you think the problem exactly is?
I am now using my second Brother printer/scanner. The latest MFC-J825DW is using a network connection, but the previous DCP-110C had a USB connection. The USB connection was problematic with various iterations of the kernel and changes in udev, principally permissions assigned to the device file. http://www.linuxquestions.org/questi...2/#post4713316 and http://www.linuxquestions.org/questi...ml#post4713650
Unfortunately I am not familiar with Debian, so I cannot provide any informed advice about the udev setup.

My other thought is that the correct 64-bit sane and Brother libraries are not being loaded. I would suggest rechecking your work on the installation of the Brother scanner library files, paying particular attention to the contents of /usr/lib/.

You could also ask for help by getting in contact with Brother directly. I have done this in the past and each time I received a prompt, informative and helpful reply.

IMHO there are only two printer/scanner manufacturers with good support for Linux, namely HP and Brother. That you are having problems on Debian, a distribution directly supported by Brother, is surprising.
 
  


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
BROTHER DCP7030 does not work with UBUNTU 11.04 vadsca Linux - Newbie 10 09-02-2012 11:35 AM
[SOLVED] xsane networked scanner returns "invalid argument" wufo Linux - Hardware 2 04-22-2011 06:25 PM
[SOLVED] Failed to start scanner: Invalid argument HPc6380 theAdmiral Linux - Hardware 4 06-25-2010 12:37 AM
Invalid Argument for Scanner in Ubuntu ~zoey~ Linux - Newbie 5 03-10-2009 05:35 PM
message sending failed : Error[22 ] invalid argument .....but each and every argument rakeshranjanjha Linux - Software 2 01-08-2008 12:22 AM


All times are GMT -5. The time now is 04:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration