[sane-devel] saned not running without -d

Luiz Angelo Daros de Luca luizluca at gmail.com
Mon Nov 20 22:20:55 UTC 2017


AFAIK, no. Loglevel is only define using -s or -d. Both enable debug mode
which exits after first connection. The next sane release will change -d
behavior, and "quit after first connection" will only be enabled if
explicitly set (-o|--once).

You could temporarily build from unstable source (until next release
happens), if you could deal with some instability.

Regards,

Em seg, 20 de nov de 2017 17:49, Jeff Sadowski <jeff.sadowski at gmail.com>
escreveu:

> root at raspberrypi:~:x86$ saned -d256
> [saned] main: starting debug mode (level 256)
> [saned] read_config: searching for config file
> [saned] read_config: done reading config
> [saned] saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up
> [saned] do_bindings: trying to get port for service "sane-port"
> (getaddrinfo)
> [saned] do_bindings: [1] socket () using IPv6
> [saned] do_bindings: [1] setsockopt ()
> [saned] do_bindings: [1] bind () to port 6566
> [saned] do_bindings: [1] listen ()
> [saned] do_bindings: [0] socket () using IPv4
> [saned] do_bindings: [0] setsockopt ()
> [saned] do_bindings: [0] bind () to port 6566
> [saned] do_bindings: [0] bind failed: Address already in use
> [saned] run_standalone: spawning Avahi process
> [saned] run_standalone: waiting for control connection
> [saned] saned_avahi_callback: AVAHI_CLIENT_S_RUNNING
> [saned] saned_create_avahi_services: adding service 'saned'
> [saned] saned_avahi_group_callback: service 'saned' successfully
> established
>
> I had disabled ipv6 because it interfered with my wireless.
> I currently run it in a script that continually restarts it with -d2
> is there a better way?
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>
-- 

Luiz Angelo Daros de Luca
luizluca at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20171120/47ce0d46/attachment.html>


More information about the sane-devel mailing list