<div>Be careful so to change all the NDEBUG statements contained in the files. </div>
<div>Yes, the idea here was to rename NDEBUG to NDEBUGPIXMA</div>
<div>If the log you sent include all of these changes, probably means this was not the root cause to the backend dumbness on Mac OS X ... </div>
<div>FYI, someone reported recently the MF6550 to work fine with the pixma backend, tested on Ubuntu, so we really need to crack this weird Mac OS X behavior here, if we want step further.</div>
<div> </div>
<div>Nicolas<br><br></div>
<div class="gmail_quote">2010/7/12 <span dir="ltr">&lt;<a href="mailto:twain43@hotmail.com">twain43@hotmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Ehm...sorry everybody, been out of town a few weeks, couldn&#39;t get my hands on the mail....I&#39;m back to the testing board.<br><br>I just read your posts, and wanted to sum up the steps to take. Do please, correct me if I&#39;m wrong:<br>
1. Change backends/pixma_common.h around line 57 from &quot;#ifdef NDEBUG&quot; to &quot;#ifdef NDEBUGBLAAAA&quot;. <br>2. Same thing for backends/pixma.c line 70.<br>3. compile, install and test.<br><br>@Nicolas: if I understood your post below, you&#39;re suggesting I use &quot;#ifdef NDEBUGPIXMA&quot;, instead of the above....am I right? 
<div class="im"><br><br>Twain28<br><br>&gt; Subject: Re: [sane-devel] Testing on Canon MF6580PL<br>&gt; From: <a href="mailto:nicolas0martin@gmail.com" target="_blank">nicolas0martin@gmail.com</a><br></div>&gt; To: <a href="mailto:chris@cnpbagwell.com" target="_blank">chris@cnpbagwell.com</a><br>
&gt; CC: <a href="mailto:twain43@hotmail.com" target="_blank">twain43@hotmail.com</a>; <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>&gt; Date: Mon, 28 Jun 2010 21:24:10 +0200 
<div>
<div></div>
<div class="h5"><br>&gt; <br>&gt; That&#39;s good clue indeed.<br>&gt; <br>&gt; Also might be better to change the NDEBUG flag in the pixma code to<br>&gt; something more restrictive, like NDEBUGPIXMA<br>&gt; <br>&gt; Or ... simply to reconsider this conditional code here and there, as it<br>
&gt; was helpful at the time the pixma driver was standalone and not included<br>&gt; into Sane as backend, but is now pretty useless, as pixma logs are<br>&gt; handled directly with Sane flags.<br>&gt; <br>&gt; Nicolas<br>
&gt; <br>&gt; Le lundi 28 juin 2010 à 12:17 -0500, Chris Bagwell a écrit :<br>&gt; &gt; Oh, OK. So one part of the problem is that pixma debug messages<br>&gt; &gt; aren&#39;t showing up.<br>&gt; &gt; <br>&gt; &gt; Can the tester verify as a separate task if scanning is working with<br>
&gt; &gt; twain-sane version of libusb though? It seems it may be working now?<br>&gt; &gt; <br>&gt; &gt; On debug output part, I see pixma is using some custom stuff to<br>&gt; &gt; disable when NDEBUG is present. Seems pretty easy that externally<br>
&gt; &gt; included header defines NDEBUG that pixma is including but not<br>&gt; &gt; sanei_debug.h.<br>&gt; &gt; <br>&gt; &gt; A quick test of that theory is to modify the file<br>&gt; &gt; backends/pixma_common.h around line 57 and change &quot;#ifdef NDEBUG&quot; to<br>
&gt; &gt; &quot;#ifdef NDEBUGBLAAAA&quot;. Also, similar change needed at<br>&gt; &gt; backends/pixma.c line 70.<br>&gt; &gt; <br>&gt; &gt; Can <br>&gt; &gt; <br>&gt; &gt; On Mon, Jun 28, 2010 at 11:46 AM, Nicolas Martin<br>
&gt; &gt; &lt;<a href="mailto:nicolas0martin@gmail.com" target="_blank">nicolas0martin@gmail.com</a>&gt; wrote:<br>&gt; &gt; Point is, for whatever reason, Pixma debug logs do not show up<br>&gt; &gt; even when setting SANE_DEBUG_PIXMA to a correct level, only<br>
&gt; &gt; SANE_DEBUG and SANE_DEBUG_SANEI_USB produce logs, as showed up<br>&gt; &gt; in the logs twain43 is providing.<br>&gt; &gt; <br>&gt; &gt; Just trying to figure out why this happens when compiled in<br>&gt; &gt; this environment.<br>
&gt; &gt; <br>&gt; &gt; Nicolas<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; 2010/6/28 Chris Bagwell <a href="mailto:chris@cnpbagwell.com" target="_blank">chris@cnpbagwell.com</a><br>&gt; &gt; <br>&gt; &gt; I&#39;ve been fading in and out of this thread so<br>
&gt; &gt; I do not have total history of your logs.<br>&gt; &gt; <br>&gt; &gt; Loooking at only this log, it seems to show<br>&gt; &gt; scanner working correctly while in test mode.<br>&gt; &gt; Can you do same debug logs but while doing an<br>
&gt; &gt; actual scan? Does that work now with the<br>&gt; &gt; patched libusb from twain-sane (does it<br>&gt; &gt; generate a good pnm file)?<br>&gt; &gt; <br>&gt; &gt; Chris<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>
&gt; &gt; <br>&gt; <br>&gt; <br><br></div></div>
<hr>
Personalizza il tuo Messenger con <a href="http://www.pimpit.it/windowslive.html" target="_blank">nuove e divertenti emoticon</a></div><br>--<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 &quot;unsubscribe your_password&quot;<br>
            to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br></blockquote></div><br>