Oh, OK.  So one part of the problem is that pixma debug messages aren&#39;t showing up.<br><br>Can the tester verify as a separate task if scanning is working with twain-sane version of libusb though?  It seems it may be working now?<br>
<br>On debug output part, I see pixma is using some custom stuff to disable when NDEBUG is present.  Seems pretty easy that externally included header defines NDEBUG that pixma is including but not sanei_debug.h.<br><br>A quick test of that theory is to modify the file backends/pixma_common.h around line 57 and change &quot;#ifdef NDEBUG&quot; to &quot;#ifdef NDEBUGBLAAAA&quot;.  Also, similar change needed at backends/pixma.c line 70.<br>
<br>Can <br><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 11:46 AM, Nicolas Martin <span dir="ltr">&lt;<a href="mailto:nicolas0martin@gmail.com">nicolas0martin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Point is, for whatever reason, Pixma debug logs do not show up even when setting SANE_DEBUG_PIXMA to a correct level, only SANE_DEBUG and SANE_DEBUG_SANEI_USB produce logs, as showed up in the logs twain43 is providing.</div>


<div> </div>
<div>Just trying to figure out why this happens when compiled in this environment.</div>
<div> </div>
<div>Nicolas<br><br></div>
<div class="gmail_quote">2010/6/28 Chris Bagwell <span dir="ltr"><a href="mailto:chris@cnpbagwell.com" target="_blank">chris@cnpbagwell.com</a></span><br>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);">
<div class="gmail_quote">
<div>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);">
<div><br>I&#39;ve been fading in and out of this thread so I do not have total history of your logs.<br><br>Loooking at only this log, it seems to show scanner working correctly while in test mode.  Can you do same debug logs but while doing an actual scan?  Does that work now with the patched libusb from twain-sane (does it generate a good pnm file)?<br>

<br>Chris<br><br></div></blockquote></div></div></blockquote></div><br>
</blockquote></div><br>