dll.d is a much sounder approach; seems to have been new with 1.0.20 in 2009.<br><br>According to the Debian/Ubuntu bug 512596, this was "fixed" in HPLIP 2.8.12-2, though the fix was to check (only) the file sane.d/dll.d/hplip (clearly it
should check ALL files in that directory). <br><br>I'll do some more investigating on the HPLIP end and let them know. Thanks.<br><br><div class="gmail_quote">On Tue, Dec 28, 2010 at 1:08 AM, m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hplip should not modify dll.conf. take a look at the handling for<br>
/etc/sane.d/dll.d<br>
<br>
allan<br>
<div><div></div><div class="h5"><br>
On Mon, Dec 27, 2010 at 6:33 PM, John Freed <<a href="mailto:okg@johnfreed.com">okg@johnfreed.com</a>> wrote:<br>
> I've been working on a port of the HPLIP software to Mac OS X, using<br>
> MacPorts. (The SANE project says it doesn't include HPAIO because it's<br>
> supported by HPLIP, but HPLIP explicitly does not support the Mac.)<br>
><br>
> In the process, I discovered that HPLIP (which provides the hpaio backend)<br>
> appends a line "hpaio" to dll.conf to activate it.<br>
><br>
> This line is then overwritten the next time sane-backends is upgraded.<br>
><br>
> I then realized that this is the case with ALL upgrades of sane-backends and<br>
> is thus a general problem. It dawned on me that perhaps a better approach<br>
> might be something along these lines:<br>
><br>
> 1) check to see if dll.conf exists in the install directory. If it doesn't,<br>
> install <a href="http://dll.conf.in" target="_blank">dll.conf.in</a><br>
><br>
> 2) if it already exists, either leave it alone, or (better) do something<br>
> like this:<br>
> -- create a version of dll.conf (call it dll.conf.null) with ALL backends<br>
> commented out<br>
> -- grep -v ^# dll.conf >> dll.conf.null<br>
> -- install the modified dll.conf.null in place of dll.conf<br>
><br>
> This will give an updated list of all the backends, but only activate the<br>
> ones that were previously active (and not delete items like hpaio that were<br>
> active but not part of the official sane-backends package).<br>
><br>
><br>
><br>
</div></div>> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
> to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
"The truth is an offense, but not a sin"<br>
<br>
</font></blockquote></div><br>