[sane-devel] SCX-3405W scans with usb but not when shared from Linux Mint

vicki at thepenguin.org vicki at thepenguin.org
Tue May 19 19:20:12 BST 2020



-----Original Message-----
From: "Ralph Little" <skelband at gmail.com>
Sent: Tuesday, May 19, 2020 2:09pm
To: 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

Hi,

On 2020-05-19 9:27 a.m., vicki at thepenguin.org wrote:
> The output from the scanimage command is:
>
> home-E7250:~$ SANE_DEBUG_NET=50 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: done reading config
> [net] sane_init: evaluating environment variable SANE_NET_HOSTS
> [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
> [net] sane_init: done
> [net] sane_get_devices: local_only = 0
> [net] sane_get_devices: finished (0 devices)
> [net] net_avahi_browse_callback: CACHE_EXHAUSTED
> [net] net_avahi_browse_callback: ALL_FOR_NOW
>
>
You could also try (on the laptop):

SANE_NET_HOSTS=192.168.1.16 scanimage -L

... replacing the IP with that of your main machine.
This should explicitly add the IP to the list of hosts that would be 
considered in addition to what is configured.
I just tried that and it worked for me.

Cheers,
Ralph

Okay, here is the net.conf file:

home-E7250:~$ sudo cat /etc/sane.d/net.conf
# This is the net backend config file.

## net backend options
# Timeout for the initial connection to saned. This will prevent the backend
# from blocking for several minutes trying to connect to an unresponsive
# saned host (network outage, host down, ...). Value in seconds.
# connect_timeout = 60

## saned hosts
# Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend.  Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost
#
192.168.0.15

And when I ran the command:

home-E7250:~$ SANE_NET_HOSTS=192.168.0.15 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).







More information about the sane-devel mailing list