[sane-devel] sane-devel Digest, Vol 179, Issue 34

vicki at thepenguin.org vicki at thepenguin.org
Wed May 20 14:18:20 BST 2020


Date: Tue, 19 May 2020 12:26:09 -0700
From: Ralph Little <skelband at gmail.com>
To: vicki at thepenguin.org
Cc: sane-devel <sane-devel at lists.alioth.debian.org>
Subject: Re: [sane-devel] SCX-3405W scans with usb but not when shared
	from Linux Mint
Message-ID: <a3f87e53-95da-4fa8-fbb8-e84e52a5f8f6 at gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

On 2020-05-19 12:07 p.m., vicki at thepenguin.org wrote:
>
> home-E7250:~$ SANE_DEBUG_NET=50 SANE_NET_HOSTS=192.168.0.15 scanimage -L
> [sanei_debug] Setting debug level of net to 50.
> [net] sane_init: authorize != null, version_code != null
> [net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.27
> [net] sane_init: Client has little endian byte order
> [net] sane_init: searching for config file
> [net] sane_init: trying to add 192.168.0.15
> [net] add_device: adding backend 192.168.0.15
> [net] add_device: backend 192.168.0.15 added
> [net] sane_init: done reading config
> [net] sane_init: evaluating environment variable SANE_NET_HOSTS
> [net] sane_init: trying to add 192.168.0.15
> [net] add_device: adding backend 192.168.0.15
> [net] add_device: already in list
> [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
> [net] sane_init: done
> [net] sane_get_devices: local_only = 0
> [net] connect_dev: trying to connect to 192.168.0.15
> [net] net_avahi_browse_callback: CACHE_EXHAUSTED
> [net] connect_dev: [0] connection succeeded (IPv4)
> [net] connect_dev: sanei_w_init
> [net] connect_dev: net_init (user=vicki, local version=1.0.3)
> [net] connect_dev: freeing init reply (status=Success, remote version=1.0.3)
> [net] connect_dev: done
> [net] net_avahi_browse_callback: ALL_FOR_NOW
> [net] sane_get_devices: finished (0 devices)
>
> 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).
> [net] sane_exit: exiting
> [net] net_avahi_cleanup: stopping thread
> [net] net_avahi_cleanup: done
> [net] sane_exit: closing dev 0x55c0d67b3ca0, ctl=124
> [net] sane_exit: finished.
>
>
OK, now we're getting somewhere.
Still unsure why the config file entry is not being picked up, but we 
can see that the laptop is connecting to your main machine at 
192.168.0.15 and it reports no devices.
So the problem is there. I'm thinking it is permissions-related after all.

On the main machine, stop the saned service:

sudo systemctl stopstop saned.socket

Run saned manually, as a user that can access scanners locally there 
(probably your login would suffice), capturing the output:

SANE_DEBUG_XEROX_MFP=50 saned -l -d50 -e

... and try to connect again from the laptop.

If it connects, and finds the scanner, see if you can scan something on 
the laptop using your favourite frontend.
You might have to set SANE_NET_HOSTS in the environment for the moment.

Cheers,
Ralph



------------------------------

Message: 4
Date: Wed, 20 May 2020 17:47:16 +0900
From: Olaf Meeuwissen <paddy-hack at member.fsf.org>
To: Ralph Little <skelband at gmail.com>
Cc: vicki at thepenguin.org, sane-devel
	<sane-devel at lists.alioth.debian.org>
Subject: Re: [sane-devel] SCX-3405W scans with usb but not when shared
	from Linux Mint
Message-ID: <87mu63yovf.fsf at member.fsf.org>
Content-Type: text/plain

Hi,

I only see Ralph's part of the conversation on the list ...

That notwithstanding, you may want to take not of

  https://gitlab.com/sane-project/backends/-/issues/275
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958074


--------------------
I concur that this might be my issue. It describes my experience. I think I am going to let this one go and just scan from my main server. It is not perfect, but that works, and I am tired of this issue. Thanks so much for your help.

--Vicki

“Pride is concerned with who is right. Humility is concerned with what is right.”

― Ezra Taft Benson

Linux Counter #30705 http://counter.li.org




More information about the sane-devel mailing list