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


Groups > linux.debian.user > #225419

Re: SANE default scanner

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: SANE default scanner
Date 2020-07-28 14:20 +0200
Message-ID <AxwKl-2QD-3@gated-at.bofh.it> (permalink)
References (5 earlier) <AxcBX-7mE-7@gated-at.bofh.it> <AxcLE-7pR-5@gated-at.bofh.it> <Axd50-7M3-11@gated-at.bofh.it> <AxdeG-7Pd-23@gated-at.bofh.it> <Axfgu-z2-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 27 Jul 2020 at 19:39:25 +0200, Nicolas George wrote:

> Nicolas George (12020-07-27):
> > Well, in between explaining why all the answers I got do not match the
> > question, I RTFS, and it seems indeed it is not possible with SANE. What
> > stupid design.
> > 
> > As for the hpaio backend, it relies on CUPS to find networked printers,
> > but CUPS will not be always running. What stupid design.
> 
> These are now:
> 
> https://gitlab.com/sane-project/frontends/-/issues/18
> https://bugs.launchpad.net/hplip/+bug/1889109
> 
> I predict that SANE will blame hpaio and hpaio will not care that people
> do not want to run CUPS needlessly.

The assertion is:

   libsane-hpaio relies on CUPS to detect networked all-in-one
   scanner-printers. That means that if CUPS is not running,
   networked devices are usable by specifying the URL, but they
   will not be detected.

We may test this assertion as follows:

1. Install Debian with the base system only.

2. apt install libsane avahi-daemon.

3. brian@t5730sid:~$ scanimage -L
   No scanners were identified. If you were expecting something different,
   check that the scanner is plugged in, turned on and detected by the
   sane-find-scanner tool (if appropriate). Please read the documentation
   which came with this software (README, FAQ, manpages).
   brian@t5730sid:~$

4. brian@t5730sid:~$ dpkg -l | grep cups
   brian@t5730sid:~$

5. apt install libsane-hpaio --no-install-recommends

6. brian@t5730sid:~$ dpkg -l | grep cups
   ii  libcups2:i386    2.2.10-6+deb10u1
   brian@t5730sid:~$

7. brian@t5730sid:~$ scanimage -L
   device `hpaio:/net/envy_4500_series?ip=192.168.7.235&queue=false' is a Hewlett-Packard envy_4500_series all-in-one
   brian@t5730sid:~$

Contending that libsane-hpaio relies on CUPS to detect scanners appears
to be based on a misunderdstanding of the code in hpaio.c. Most people
would take CUPS to mean 'apt install cups' and, as we see, cups-daemon
is not running.

Game, set and match.

-- 
Brian.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 12:00 +0200
  Re: SANE default scanner Georgi Naplatanov <gosho@oles.biz> - 2020-07-27 14:00 +0200
    Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 14:50 +0200
      Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 15:00 +0200
        Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:00 +0200
          Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 15:30 +0200
        Re: SANE default scanner Hans <hans.ullrich@loop.de> - 2020-07-27 15:10 +0200
          Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:30 +0200
      Re: SANE default scanner Georgi Naplatanov <gosho@oles.biz> - 2020-07-27 15:10 +0200
        Re: SANE default scanner Reco <recoverym4n@enotuniq.net> - 2020-07-27 15:30 +0200
        Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:40 +0200
          Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 16:00 +0200
            Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 16:30 +0200
              Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 17:40 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 18:10 +0200
              Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 17:40 +0200
          Re: SANE default scanner Georgi Naplatanov <gosho@oles.biz> - 2020-07-27 16:50 +0200
            Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 17:00 +0200
              Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 17:20 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 17:30 +0200
                Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 18:10 +0200
                Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 18:40 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 19:20 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 18:40 +0200
                Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 23:10 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-28 00:00 +0200
                Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-28 00:30 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-28 14:20 +0200
                Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-28 16:20 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-28 21:30 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-29 11:20 +0200
                Re: SANE default scanner <tomas@tuxteam.de> - 2020-07-29 12:10 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-29 20:30 +0200
                Re: SANE default scanner <tomas@tuxteam.de> - 2020-07-29 21:40 +0200
                Re: SANE default scanner <tomas@tuxteam.de> - 2020-07-28 09:40 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 18:40 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 18:50 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 19:10 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 19:20 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 20:00 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 19:40 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-28 14:20 +0200
              Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 20:40 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 21:20 +0200
                Re: SANE default scanner Gene Heskett <gheskett@shentel.net> - 2020-07-27 21:20 +0200
      Re: SANE default scanner John Boxall <jboxall47@gmail.com> - 2020-07-27 15:30 +0200
        Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:40 +0200
          Re: SANE default scanner Liam O'Toole <liam.p.otoole@gmail.com> - 2020-07-29 00:00 +0200
  Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 19:40 +0200
    Re: SANE default scanner Siard <shiems@mailbox.org> - 2020-07-27 20:00 +0200
  Re: SANE default scanner Siard <shiems@mailbox.org> - 2020-07-27 19:40 +0200
  Re: SANE default scanner George Shuklin <george.shuklin@gmail.com> - 2020-08-07 17:20 +0200
    Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-08-07 17:30 +0200

csiph-web