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


Groups > linux.debian.user > #225396

Re: SANE default scanner

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: SANE default scanner
Date Tue, 28 Jul 2020 00:00:02 +0200
Message-ID <Axjk6-2WD-3@gated-at.bofh.it> (permalink)
References <AxaJP-6dI-3@gated-at.bofh.it> <Axb3c-6zL-19@gated-at.bofh.it> <Axbwd-6Jq-1@gated-at.bofh.it> <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> <AxdRo-8i6-17@gated-at.bofh.it> <Axekq-8rR-27@gated-at.bofh.it> <AxixH-2FX-7@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Mon Jul 27 21:50:14 2020
Old-Return-Path <george@phare.normalesup.org>
X-Amavis-Spam-Status No, score=-8.948 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.7
X-Ens-Nef-Client 129.199.129.80 ( name = phare.normalesup.org )
Reply-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7kowo4pngcnacaqn"
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Mon, 27 Jul 2020 23:50:00 +0200 (CEST)
X-Mailing-List <debian-user@lists.debian.org> archive/latest/765722
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20200727214959.s5d6rbvtwz3zb63w@phare.normalesup.org
Approved robomod@news.nic.it
Lines 71
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 27 Jul 2020 23:49:59 +0200
X-Original-Message-ID <20200727214959.s5d6rbvtwz3zb63w@phare.normalesup.org>
X-Original-References <20200727124000.7cujpwj463mkep3w@phare.normalesup.org> <123beb85-45c8-af0f-0cde-5e2dc01fc257@oles.biz> <20200727133223.rexspctt2fb6qjpa@phare.normalesup.org> <8e46a8bf-ebd8-9856-c222-c8e3c120887b@oles.biz> <20200727145219.boxad4cg6prcssu3@phare.normalesup.org> <jwvo8o1f189.fsf-monnier+gmane.linux.debian.user@gnu.org> <20200727152546.vyrszmmdnx3g7dus@phare.normalesup.org> <jwvd04heyod.fsf-monnier+gmane.linux.debian.user@gnu.org> <20200727163720.qvyilsjq2cajrmb4@phare.normalesup.org> <jwv1rkwfzie.fsf-monnier+gmane.linux.debian.user@gnu.org>
Xref csiph.com linux.debian.user:225396

Show key headers only | View raw


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

Stefan Monnier (12020-07-27):
> Indeed.  And given SANE's design, there shouldn't be much need for it:
> it assumes that either the scanner is local (via a hardware-specific
> driver, hpaio being one of them) or it's remotely accessed over the SANE
> protocol, in which case it uses the DNS-SD protocol to find it.
> 
> The problem is with scanner that are remote but using a "local driver"
> (local to the client rather than local to the scanner).

This is a sadly classic pattern in Libre software: "not my problem, it's
the other project doing it wrong".

Sorry guys, you're BOTH doing it wrong:

hpaio, you should not rely on a print server to detect scanners, even if
you're made by a company that first came to this business through
printers.

SANE, since you accept third-party back-ends, you should assume some
will get it wrong and have workarounds ready.

> I suggest you open a feature request on the SANE's issue tracker.

Already did. And to hplip too.

> Who knows, maybe this can even be solved already by somehow tweaking the
> DNS server to advertize your hpaio device?

No, it can't, that's pretty obvious looking at the source code:

- The only way to have SANE-using applications see the scanner is that
  hpaio detects it.

- The only way to have hpaio detect the scanner is to have CUPS running,
  the corresponding printer configured and hpaio allowed to connect to
  it.

Both these points are design mistakes.

Regards,

-- 
  Nicolas George

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