Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #225314 > unrolled thread
| Started by | Nicolas George <george@nsup.org> |
|---|---|
| First post | 2020-07-27 12:00 +0200 |
| Last post | 2020-08-07 17:30 +0200 |
| Articles | 13 on this page of 53 — 12 participants |
Back to article view | Back to linux.debian.user
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
Page 3 of 3 — ← Prev page 1 2 [3]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2020-07-27 19:40 +0200 |
| Message-ID | <Axfgu-z2-7@gated-at.bofh.it> |
| In reply to | #225351 |
[Multipart message — attachments visible in raw view] — view raw
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. Extra reference for some people in this discussion: https://en.wikipedia.org/wiki/%44%75%6e%6e%69%6e%67%E2%80%93%4b%72%75%67%65%72%5f%65%66%66%65%63%74 Regards, -- Nicolas George
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2020-07-28 14:20 +0200 |
| Message-ID | <AxwKl-2QD-3@gated-at.bofh.it> |
| In reply to | #225370 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2020-07-27 20:40 +0200 |
| Message-ID | <Axgcx-17B-1@gated-at.bofh.it> |
| In reply to | #225346 |
On Mon 27 Jul 2020 at 16:52:19 +0200, Nicolas George wrote: > Georgi Naplatanov (12020-07-27): > > Did you try to add scanners to /etc/sane.d/net.conf > > > > there is another howto > > > > https://help.ubuntu.com/community/sane > > I did, and as expected it does not work, because > > "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > looks nothing like the provided examples: > > 192.168.0.15 > ::1 > localhost > scan-server.office.lan > > net.conf is for scanner shared with SANE's protocol. Notice the "hpaio:" > fake URL protocol. You have fundamental misunderstanding about the purpose of net.conf. As the wiki says: Note that the net backend is not for accessing arbitrary scanners over a network. It's intended use is for the server (which has a SANE-supported scanner) to be able to export that scanner to clients on the network via a single SANE-specific, manufacturer-agnostic protocol. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2020-07-27 21:20 +0200 |
| Message-ID | <AxgPf-1Aa-7@gated-at.bofh.it> |
| In reply to | #225374 |
On Mon 27 Jul 2020 at 15:09:52 -0400, Gene Heskett wrote: > At high risk of hyjacking the thread, ... You have driven a bulldozer through it. Please go away, think about what you want to say and devise a new post to express your particular issue. And don't do it again. You should know better and set a good example. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2020-07-27 21:20 +0200 |
| Message-ID | <AxgPf-1Aa-9@gated-at.bofh.it> |
| In reply to | #225374 |
On Monday 27 July 2020 14:32:11 Brian wrote: > On Mon 27 Jul 2020 at 16:52:19 +0200, Nicolas George wrote: > > Georgi Naplatanov (12020-07-27): > > > Did you try to add scanners to /etc/sane.d/net.conf > > > > > > there is another howto > > > > > > https://help.ubuntu.com/community/sane > > > > I did, and as expected it does not work, because > > > > "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > > > looks nothing like the provided examples: > > > > 192.168.0.15 > > > > ::1 > > > > localhost > > scan-server.office.lan > > > > net.conf is for scanner shared with SANE's protocol. Notice the > > "hpaio:" fake URL protocol. > > You have fundamental misunderstanding about the purpose of net.conf. > As the wiki says: > > Note that the net backend is not for accessing arbitrary > scanners over a network. It's intended use is for the server > (which has a SANE-supported scanner) to be able to export that > scanner to clients on the network via a single SANE-specific, > manufacturer-agnostic protocol. At high risk of hyjacking the thread, I have been following along, hoping to be able to find my aio BIG brother scanner over the net, say from an rpi4 running buster in the garage. This aio has both cat5 from a local switch and a usb cable from this machine plugged into it and the aio has a local net address of ###.###.71.21 assigned and is pingable from anyplace on my local network. But the pi can only find it via the usb cable. [dll] sane_get_devices: found 1 devices device `net:##.##.71.3:brother4:bus4;dev2' is a Brother MFC-J6920DW USB scanner Why can't it be found at 71.21? The .3 is this machine. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | John Boxall <jboxall47@gmail.com> |
|---|---|
| Date | 2020-07-27 15:30 +0200 |
| Message-ID | <Axbmy-6Gc-3@gated-at.bofh.it> |
| In reply to | #225324 |
I was having the same problem with the same model mfp. I had to go into the HPLIP Toolbox app and setup the printer. Once I did that xsane and simple scan could find the scanner. On 2020-07-27 8:40 a.m., Nicolas George wrote: > Georgi Naplatanov (12020-07-27): >> https://linux.die.net/man/1/scanimage >> >> "The -d or --device-name options must be followed by a SANE device-name >> like 'epson:/dev/sg0' or 'hp:/dev/usbscanner0'. A (partial) list of >> available devices can be obtained with the --list-devices option (see >> below). If no device-name is specified explicitly, scanimage reads a >> device-name from the environment variable SANE_DEFAULT_DEVICE. If this >> variable is not set, scanimage will attempt to open the first available >> device. " > Thanks. > > Unfortunately, it does not work: for GUI tools, this environment > variable pre-selects the device in the device selection dialog, but it > does not make it appear if it is not detected (?!???@!%@?!!!?). > > Also, it works for only one scanner. > > Regards, > -- Regards, John Boxall
[toc] | [prev] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2020-07-27 15:40 +0200 |
| Message-ID | <Axbwe-6Jq-21@gated-at.bofh.it> |
| In reply to | #225332 |
[Multipart message — attachments visible in raw view] — view raw
John Boxall (12020-07-27): > I was having the same problem with the same model mfp. I had to go into the > HPLIP Toolbox app and setup the printer. Once I did that xsane and simple > scan could find the scanner. Thanks for the suggestion. I was hoping to avoid installing the whole GUI crap from HP. After all, the scanner works, my problem is only a UI problem. Regards, -- Nicolas George
[toc] | [prev] | [next] | [standalone]
| From | Liam O'Toole <liam.p.otoole@gmail.com> |
|---|---|
| Date | 2020-07-29 00:00 +0200 |
| Message-ID | <AxFND-88B-1@gated-at.bofh.it> |
| In reply to | #225337 |
On Mon, 27 Jul, 2020 at 15:38:57 +0200, Nicolas George wrote: > John Boxall (12020-07-27): > > I was having the same problem with the same model mfp. I had to go into the > > HPLIP Toolbox app and setup the printer. Once I did that xsane and simple > > scan could find the scanner. > > Thanks for the suggestion. > > I was hoping to avoid installing the whole GUI crap from HP. After all, > the scanner works, my problem is only a UI problem. > hplip has a CLI mode. Run 'hp-setup -i'.
[toc] | [prev] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2020-07-27 19:40 +0200 |
| Message-ID | <Axfgu-z2-11@gated-at.bofh.it> |
| In reply to | #225314 |
[Multipart message — attachments visible in raw view] — view raw
Siard (12020-07-27): > It looks simple to me, or am I missing something? Does it add the scanner in Gimp's scanner menu? Regards, -- Nicolas George
[toc] | [prev] | [next] | [standalone]
| From | Siard <shiems@mailbox.org> |
|---|---|
| Date | 2020-07-27 20:00 +0200 |
| Message-ID | <AxfzP-FH-1@gated-at.bofh.it> |
| In reply to | #225369 |
Nicolas George: > Siard (12020-07-27): > > It looks simple to me, or am I missing something? > > Does it add the scanner in Gimp's scanner menu? Ah, I guess I see what I was missing.
[toc] | [prev] | [next] | [standalone]
| From | Siard <shiems@mailbox.org> |
|---|---|
| Date | 2020-07-27 19:40 +0200 |
| Message-ID | <Axfgu-z2-13@gated-at.bofh.it> |
| In reply to | #225314 |
On Mon, 27 Jul 2020 11:58:44 +0200, Nicolas George wrote: > This may be an obvious thing, but I cannot find the answer. > > I can scan with: > > scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > Where do I write this URL so that tools find it without having to tell > them each time? It looks simple to me, or am I missing something? Create /usr/local/bin/scanimage with these contents: #! /bin/sh /usr/bin/scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" Then, $ cd /usr/local/bin $ chmod +x scanimage >From then on, run this command to scan: $ scanimage Because /usr/local/bin is before /usr/bin in $PATH, /usr/local/bin/scanimage takes precedence over /usr/bin/scanimage.
[toc] | [prev] | [next] | [standalone]
| From | George Shuklin <george.shuklin@gmail.com> |
|---|---|
| Date | 2020-08-07 17:20 +0200 |
| Message-ID | <ABck2-tS-3@gated-at.bofh.it> |
| In reply to | #225314 |
On 27/07/2020 12:58, Nicolas George wrote: > Hi. > > This may be an obvious thing, but I cannot find the answer. > > I can scan with: > > scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > Where do I write this URL so that tools find it without having to tell > them each time? > > Thanks. > I've just yesterday got a partial success by just adding this into /etc/sane.d/saned.conf tcp 192.168.9.114 After that scanimage just works. (that was our office scanner). I was able to scan from normal position but wasn't able to use feeder.
[toc] | [prev] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2020-08-07 17:30 +0200 |
| Message-ID | <ABctH-xe-1@gated-at.bofh.it> |
| In reply to | #225978 |
[Multipart message — attachments visible in raw view] — view raw
George Shuklin (12020-08-07): > > scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > > > Where do I write this URL so that tools find it without having to tell > > them each time? > > > > Thanks. > > > I've just yesterday got a partial success by just adding this > into /etc/sane.d/saned.conf > > tcp 192.168.9.114 Thank you. But hpaio and saned are two different protocols, and apparently SANE lacks a cross-protocol configuration system. Regards, -- Nicolas George
[toc] | [prev] | [standalone]
Page 3 of 3 — ← Prev page 1 2 [3]
Back to top | Article view | linux.debian.user
csiph-web