Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172396 > unrolled thread

Sane issue

Started byDavid Rotger <davidrotger@gmail.com>
First post2016-09-18 19:50 +0200
Last post2016-09-19 19:20 +0200
Articles 11 — 3 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Sane issue David Rotger <davidrotger@gmail.com> - 2016-09-18 19:50 +0200
    Re: Sane issue Brian <ad44@cityscape.co.uk> - 2016-09-18 20:20 +0200
      Re: Sane issue Lisi Reisz <lisi.reisz@gmail.com> - 2016-09-18 23:40 +0200
        Re: Sane issue Brian <ad44@cityscape.co.uk> - 2016-09-19 12:50 +0200
          Re: Sane issue David Rotger <davidrotger@gmail.com> - 2016-09-19 13:30 +0200
            Re: Sane issue Brian <ad44@cityscape.co.uk> - 2016-09-19 17:50 +0200
              Re: Sane issue David Rotger <davidrotger@gmail.com> - 2016-09-19 18:10 +0200
                Re: Sane issue Brian <ad44@cityscape.co.uk> - 2016-09-19 18:20 +0200
                  Re: Sane issue David Rotger <davidrotger@gmail.com> - 2016-09-19 18:50 +0200
                    Re: Sane issue Brian <ad44@cityscape.co.uk> - 2016-09-19 19:10 +0200
                      Re: Sane issue Lisi Reisz <lisi.reisz@gmail.com> - 2016-09-19 19:20 +0200

#172396 — Sane issue

FromDavid Rotger <davidrotger@gmail.com>
Date2016-09-18 19:50 +0200
SubjectSane issue
Message-ID<siOo1-2C0-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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.

[toc] | [next] | [standalone]


#172397

FromBrian <ad44@cityscape.co.uk>
Date2016-09-18 20:20 +0200
Message-ID<siOR3-35Q-9@gated-at.bofh.it>
In reply to#172396
On Sun 18 Sep 2016 at 19:31:48 +0200, David Rotger wrote:

> I've sane installed and running. Sane-find-scanner and scanimage -L detect
> 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
> can't find any device. With simple-scan I have the same problem.

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

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#172409

FromLisi Reisz <lisi.reisz@gmail.com>
Date2016-09-18 23:40 +0200
Message-ID<siRYC-4Yr-11@gated-at.bofh.it>
In reply to#172397
On Sunday 18 September 2016 19:18:33 Brian wrote:
> On Sun 18 Sep 2016 at 19:31:48 +0200, David Rotger wrote:
> > I've sane installed and running. Sane-find-scanner and scanimage -L
> > detect 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 can't find any device. With simple-scan I have the same problem.
>
> Strange. xsane uses the same information you have from sane-find-scanner
> and scanimage -L as far as I know.

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

[toc] | [prev] | [next] | [standalone]


#172438

FromBrian <ad44@cityscape.co.uk>
Date2016-09-19 12:50 +0200
Message-ID<sj4j8-4ll-17@gated-at.bofh.it>
In reply to#172409
On Sun 18 Sep 2016 at 22:39:32 +0100, Lisi Reisz wrote:

> On Sunday 18 September 2016 19:18:33 Brian wrote:
> > On Sun 18 Sep 2016 at 19:31:48 +0200, David Rotger wrote:
> > > I've sane installed and running. Sane-find-scanner and scanimage -L
> > > detect 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 can't find any device. With simple-scan I have the same problem.
> >
> > Strange. xsane uses the same information you have from sane-find-scanner
> > and scanimage -L as far as I know.
> 
> The permissions are often wrong.  Make sure that your user is in the scanner 
> group.

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.

[toc] | [prev] | [next] | [standalone]


#172441

FromDavid Rotger <davidrotger@gmail.com>
Date2016-09-19 13:30 +0200
Message-ID<sj4VQ-4O0-23@gated-at.bofh.it>
In reply to#172438
2016-09-19 12:44 GMT+02:00 Brian <ad44@cityscape.co.uk>:
> On Sun 18 Sep 2016 at 22:39:32 +0100, Lisi Reisz wrote:
>
>> On Sunday 18 September 2016 19:18:33 Brian wrote:
>> > On Sun 18 Sep 2016 at 19:31:48 +0200, David Rotger wrote:
>> > > I've sane installed and running. Sane-find-scanner and scanimage -L
>> > > detect 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 can't find any device. With simple-scan I have the same problem.
>> >
>> > Strange. xsane uses the same information you have from sane-find-scanner
>> > and scanimage -L as far as I know.
>>
>> The permissions are often wrong.  Make sure that your user is in the scanner
>> group.
>
> 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.

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

[toc] | [prev] | [next] | [standalone]


#172465

FromBrian <ad44@cityscape.co.uk>
Date2016-09-19 17:50 +0200
Message-ID<sj8Zr-7eA-1@gated-at.bofh.it>
In reply to#172441
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.

> The output of sane-find-scanner
> 
> http://pastebin.com/ksghQg26

sane has found a USB scanner. Ok.
 
> The output of scanimage -L
> 
> 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?

> when I do: service saned restart they out:
> 
> Failed to restart saned.service: Unit saned.service is masked.

That's also Ok.

> and systemctl satatus saned.socket
> 
> http://pastebin.com/xaajGXDf
> 
> What I'm doing wrong!?!?

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.

[toc] | [prev] | [next] | [standalone]


#172467

FromDavid Rotger <davidrotger@gmail.com>
Date2016-09-19 18:10 +0200
Message-ID<sj9iN-7Bu-3@gated-at.bofh.it>
In reply to#172465

[Multipart message — attachments visible in raw view] — view raw

El 19 sept. 2016 17:41, "Brian" <ad44@cityscape.co.uk> escribió:
>
> 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.
>
> > The output of sane-find-scanner
> >
> > http://pastebin.com/ksghQg26
>
> sane has found a USB scanner. Ok.
>
> > The output of scanimage -L
> >
> > 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?
>
> > when I do: service saned restart they out:
> >
> > Failed to restart saned.service: Unit saned.service is masked.
>
> That's also Ok.
>
> > and systemctl satatus saned.socket
> >
> > http://pastebin.com/xaajGXDf
> >
> > What I'm doing wrong!?!?
>
> 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.

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...

[toc] | [prev] | [next] | [standalone]


#172470

FromBrian <ad44@cityscape.co.uk>
Date2016-09-19 18:20 +0200
Message-ID<sj9st-7HE-31@gated-at.bofh.it>
In reply to#172467
On Mon 19 Sep 2016 at 17:50:16 +0200, David Rotger wrote:

> El 19 sept. 2016 17:41, "Brian" <ad44@cityscape.co.uk> escribió:
> >
> > 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?
> >
> > > when I do: service saned restart they out:
> > >
> > > Failed to restart saned.service: Unit saned.service is masked.
> >
> > That's also Ok.
> >
> > > and systemctl satatus saned.socket
> > >
> > > http://pastebin.com/xaajGXDf
> > >
> > > What I'm doing wrong!?!?
> >
> > Is your intention to only scan from the machine the scanner is plugged
> > into or are you also wanting to scan over the network?
> 
> I've get the image.pnm

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

> 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...

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

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#172473

FromDavid Rotger <davidrotger@gmail.com>
Date2016-09-19 18:50 +0200
Message-ID<sj9Vv-7RM-9@gated-at.bofh.it>
In reply to#172470
2016-09-19 18:19 GMT+02:00 Brian <ad44@cityscape.co.uk>:
> On Mon 19 Sep 2016 at 17:50:16 +0200, David Rotger wrote:
>
>> El 19 sept. 2016 17:41, "Brian" <ad44@cityscape.co.uk> escribió:
>> >
>> > 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?
>> >
>> > > when I do: service saned restart they out:
>> > >
>> > > Failed to restart saned.service: Unit saned.service is masked.
>> >
>> > That's also Ok.
>> >
>> > > and systemctl satatus saned.socket
>> > >
>> > > http://pastebin.com/xaajGXDf
>> > >
>> > > What I'm doing wrong!?!?
>> >
>> > Is your intention to only scan from the machine the scanner is plugged
>> > into or are you also wanting to scan over the network?
>>
>> I've get the image.pnm
>
> That means that if you use xsane on the same machine it should work,
>
>> 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...
>
> Personally, I am totally unfamiliar with sharing a scanner with non-Linux
> machines. Best of luck.
>
> --
> Brian.

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

-- 
David Rotger

[toc] | [prev] | [next] | [standalone]


#172475

FromBrian <ad44@cityscape.co.uk>
Date2016-09-19 19:10 +0200
Message-ID<sjaeR-8dK-1@gated-at.bofh.it>
In reply to#172473
On Mon 19 Sep 2016 at 18:24:00 +0200, David Rotger wrote:

> 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.

[toc] | [prev] | [next] | [standalone]


#172476

FromLisi Reisz <lisi.reisz@gmail.com>
Date2016-09-19 19:20 +0200
Message-ID<sjaoy-8hd-19@gated-at.bofh.it>
In reply to#172475
On Monday 19 September 2016 18:06:59 Brian wrote:
> On Mon 19 Sep 2016 at 18:24:00 +0200, David Rotger wrote:
> > 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.

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

Lisi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web