Subject: Sane issue

From: David Rotger <[email-masked]>
Date: Sun, 18 Sep 2016 19:31:48 +0200

Hi,

I've sane installed and running. Sane-find-scanner and scanimage -L detect
my scanner, and the test works fine. But when I launch xsane they say that
can't find any device. With simple-scan I have the same problem.

Any idea??

Thanks.

---

From: Brian <[email-masked]>
Date: Sun, 18 Sep 2016 19:18:33 +0100

On Sun 18 Sep 2016 at 19:31:48 +0200, David Rotger wrote:

> my scanner,

That's good. Would you post the output of both these commands and also
say what scanner (or multi-functional device) you have.

>             and the test works fine.

What test are you talking about? Please give any command you used.

>                                      But when I launch xsane they say that

Strange. xsane uses the same information you have from sane-find-scanner
and scanimage -L as far as I know.

-- 
Brian.

---

From: Lisi Reisz <[email-masked]>
Date: Sun, 18 Sep 2016 22:39:32 +0100

On Sunday 18 September 2016 19:18:33 Brian wrote:
> > I've sane installed and running. Sane-find-scanner and scanimage -L
> > detect my scanner,
>
> >                                      But when I launch xsane they say
> > that can't find any device. With simple-scan I have the same problem.
>

The permissions are often wrong.  Make sure that your user is in the scanner 
group.

Test first whether this is the issue (permissions) by running XSane as root.  
It won't like it - but it will show you whether it is permissions that are 
the problem.

Lisi

---

From: Brian <[email-masked]>
Date: Mon, 19 Sep 2016 11:44:44 +0100

> The permissions are often wrong.  Make sure that your user is in the scanner 

On Jessie plus systemd a user in the scanner group gives nothing that is
not already available on an ACL. Please see

  https://lists.debian.org/debian-user/2016/07/msg00528.html

(A CC: to David Rotger because there is doubt whether his being
subscribed to -user or reading the list archives).

-- 
Brian.

---

From: David Rotger <[email-masked]>
Date: Mon, 19 Sep 2016 13:04:32 +0200

> subscribed to -user or reading the list archives).

The output of sane-find-scanner

http://pastebin.com/ksghQg26

The output of scanimage -L

http://pastebin.com/bcxt0Cqi

when I do: service saned restart they out:

Failed to restart saned.service: Unit saned.service is masked.

and systemctl satatus saned.socket

http://pastebin.com/xaajGXDf

What I'm doing wrong!?!?

-- 
David Rotger

---

From: Brian <[email-masked]>
Date: Mon, 19 Sep 2016 16:41:46 +0100

On Mon 19 Sep 2016 at 13:04:32 +0200, David Rotger wrote:

Relatively small outputs from commands do not need a pastebin. They are
easier to deal with when posted here.

Also, you didn't say whether you are subscribed to the list or how you
are reading list mails.

> http://pastebin.com/ksghQg26

sane has found a USB scanner. Ok.
 
> http://pastebin.com/bcxt0Cqi

sane has found a driver for the scanner. Ok.

You should now be able to scan from the machine the scanner is plugged
into. Try

  scanimage > file.pnm

Does the scanner operate and do you get file.pnm?

> Failed to restart saned.service: Unit saned.service is masked.

That's also Ok.

> http://pastebin.com/xaajGXDf

Is your intention to only scan from the machine the scanner is plugged
into or are you also wanting to scan over the network?

-- 
Brian.

---

From: David Rotger <[email-masked]>
Date: Mon, 19 Sep 2016 17:50:16 +0200

> into or are you also wanting to scan over the network?

I've get the image.pnm

My first intention was share the scanner over the net with Win machines,
but didn't work. And later I think another solution. Install xming on
windows and launch the xsane app. But xsane and simple scan can't find any
device. The same with swingsane over network. It's very frustrating...

---

From: Brian <[email-masked]>
Date: Mon, 19 Sep 2016 17:19:16 +0100

> > into or are you also wanting to scan over the network?

That means that if you use xsane on the same machine it should work,

> device. The same with swingsane over network. It's very frustrating...

Personally, I am totally unfamiliar with sharing a scanner with non-Linux
machines. Best of luck.

-- 
Brian.

---

From: David Rotger <[email-masked]>
Date: Mon, 19 Sep 2016 18:24:00 +0200

> Personally, I am totally unfamiliar with sharing a scanner with non-Linux

In the same machine, xsane don't find any devices...

-- 
David Rotger

---

From: Brian <[email-masked]>
Date: Mon, 19 Sep 2016 18:06:59 +0100

> In the same machine, xsane don't find any devices...

This is where we came in. :)

If scanimage works for scanning I cannot see why xsane or simple-scan
should not work too; both are simply frontends to the same system. The
only thing I can suggest is to undo any changes made to configuration
files when you were trying to set up network scanning or purge libsane
and reinstall it and any packages which are removed.

-- 
Brian.

---

From: Lisi Reisz <[email-masked]>
Date: Mon, 19 Sep 2016 18:17:57 +0100

> and reinstall it and any packages which are removed.

Whatever the logic or lack of it, have you tried scanning using XSane as root?

Lisi