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 &quot;fixed&quot; 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&#39;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">&lt;<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>&gt;</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 &lt;<a href="mailto:okg@johnfreed.com">okg@johnfreed.com</a>&gt; wrote:<br>
&gt; I&#39;ve been working on a port of the HPLIP software to Mac OS X, using<br>
&gt; MacPorts. (The SANE project says it doesn&#39;t include HPAIO because it&#39;s<br>
&gt; supported by HPLIP, but HPLIP explicitly does not support the Mac.)<br>
&gt;<br>
&gt; In the process, I discovered that HPLIP (which provides the hpaio backend)<br>
&gt; appends a line &quot;hpaio&quot; to dll.conf to activate it.<br>
&gt;<br>
&gt; This line is then overwritten the next time sane-backends is upgraded.<br>
&gt;<br>
&gt; I then realized that this is the case with ALL upgrades of sane-backends and<br>
&gt; is thus a general problem. It dawned on me that perhaps a better approach<br>
&gt; might be something along these lines:<br>
&gt;<br>
&gt; 1) check to see if dll.conf exists in the install directory. If it doesn&#39;t,<br>
&gt; install <a href="http://dll.conf.in" target="_blank">dll.conf.in</a><br>
&gt;<br>
&gt; 2) if it already exists, either leave it alone, or (better) do something<br>
&gt; like this:<br>
&gt; -- create a version of dll.conf (call it dll.conf.null) with ALL backends<br>
&gt; commented out<br>
&gt; -- grep -v ^# dll.conf &gt;&gt; dll.conf.null<br>
&gt; -- install the modified dll.conf.null in place of dll.conf<br>
&gt;<br>
&gt; This will give an updated list of all the backends, but only activate the<br>
&gt; ones that were previously active (and not delete items like hpaio that were<br>
&gt; active but not part of the official sane-backends package).<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt;             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
&quot;The truth is an offense, but not a sin&quot;<br>
<br>
</font></blockquote></div><br>