<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Ehm...sorry everybody, been out of town a few weeks, couldn't get my hands on the mail....I'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'm wrong:<br>1. Change backends/pixma_common.h around line 57 from "#ifdef NDEBUG" to "#ifdef NDEBUGBLAAAA". <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're suggesting I use "#ifdef NDEBUGPIXMA", instead of the above....am I right?<br><br>Twain28<br><br>&gt; Subject: Re: [sane-devel] Testing on Canon MF6580PL<br>&gt; From: nicolas0martin@gmail.com<br>&gt; To: chris@cnpbagwell.com<br>&gt; CC: twain43@hotmail.com; sane-devel@lists.alioth.debian.org<br>&gt; Date: Mon, 28 Jun 2010 21:24:10 +0200<br>&gt; <br>&gt; That'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'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 "#ifdef NDEBUG" to<br>&gt; &gt; "#ifdef NDEBUGBLAAAA".  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;nicolas0martin@gmail.com&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 chris@cnpbagwell.com<br>&gt; &gt;                         <br>&gt; &gt;                         I'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 /><hr />Personalizza il tuo Messenger con <a href='http://www.pimpit.it/windowslive.html' target='_new'>nuove e divertenti emoticon</a></body>
</html>