<div dir="ltr"><div style="margin-left:40px"><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">No dns server. Its a relatively freshly installed Mint, sitting behind a cable router with dhcp. <br>
</blockquote></div><div>The  192.168.1.50 is just chosen as static ip on the printer, because the windows driver like it to be that way.<br></div><div><br></div><div>Yes I removed everything else than net and pixma from dll.conf. <br>
</div><div>As you probably saw, it worked much better when I was pointed towards /usr/local/etc/sane.d/<br>:-)<br><br></div><div>I'm still puzzeled on why the ./configure BACKENDS="pixma" trick didn't work.<br>
</div><div>(a missing make clean? or can it load backends from the official 1.0.23 install)<br></div><div>But my primary concern about startup times is solved completely.<br></div><div><br><br>/Troels<br></div><div><br></div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-21 22:35 GMT+02:00 Louis Lagendijk <span dir="ltr"><<a href="mailto:louis@fazant.net" target="_blank">louis@fazant.net</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, <a href="tel:2014-08-21" value="+4520140821">2014-08-21</a> at 20:40 +0200, Troels Thomsen wrote:<br>

><br>
><br>
><br>
> Hi ,<br>
><br>
><br>
> Adding<br>
> 192.168.1.50    mf8230<br>
><br>
> to<br>
><br>
> /etc/hosts<br>
><br>
> was really effective!<br>
><br>
><br>
><br>
> I still have a delay, now around 10 seconds.<br>
><br>
> As seen below, its not the pixma enumeration that takes all this time<br>
> (only one second), so I'm suspecting it's because all the backends are<br>
> given a chance to find a device. And given the number of backends this<br>
> will obviously take some time.<br>
><br>
> But then I tried to do<br>
> ./configure BACKENDS="pixma" --without-snmp --disable-ipv6<br>
><br>
> and then make<br>
><br>
> Same result.<br>
><br>
><br>
> To flip things around, I don't mind a full auto-detect taking 10<br>
> seconds or 1 minute, if only there was a way to specify the device<br>
> manually (from command-line, environment-variable etc)<br>
><br>
><br>
> scanimage -d mfnp://mf8230:8610<br>
><br>
> does not work,<br>
> - can I specify a network device on the command line like this?<br>
><br>
> - and will that stop the auto-detection?<br>
><br>
><br>
><br>
> any help greatly appreciated!<br>
><br>
> /Troels<br>
><br>
<br>
</div></div>There is no way to disable auto-detection in the pixma backend (I will<br>
consider adding such an option when I get some time). But did you remove<br>
all other backends from dll.conf?  All backends mentioned in dll.conf<br>
will get loaded and will probe for devices. Removing any backends you<br>
don't need may improve startup time quite considerably. There may be<br>
other backends that try to do a reverse lookup (which does not work in<br>
your case. Are you running an own DNS server?). So remove all other<br>
backends from dll.conf.<br>
<br>
BR, Louis<br>
<br>
<br>
<br>
</blockquote></div><br></div>