<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>> Subject: Re: [sane-devel] Testing on Canon MF6580PL<br>> From: nicolas0martin@gmail.com<br>> To: chris@cnpbagwell.com<br>> CC: twain43@hotmail.com; sane-devel@lists.alioth.debian.org<br>> Date: Mon, 28 Jun 2010 21:24:10 +0200<br>> <br>> That's good clue indeed.<br>> <br>> Also might be better to change the NDEBUG flag in the pixma code to<br>> something more restrictive, like NDEBUGPIXMA<br>> <br>> Or ... simply to reconsider this conditional code here and there, as it<br>> was helpful at the time the pixma driver was standalone and not included<br>> into Sane as backend, but is now pretty useless, as pixma logs are<br>> handled directly with Sane flags.<br>> <br>> Nicolas<br>> <br>> Le lundi 28 juin 2010 à 12:17 -0500, Chris Bagwell a écrit :<br>> > Oh, OK. So one part of the problem is that pixma debug messages<br>> > aren't showing up.<br>> > <br>> > Can the tester verify as a separate task if scanning is working with<br>> > 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<br>> > disable when NDEBUG is present. Seems pretty easy that externally<br>> > included header defines NDEBUG that pixma is including but not<br>> > sanei_debug.h.<br>> > <br>> > A quick test of that theory is to modify the file<br>> > backends/pixma_common.h around line 57 and change "#ifdef NDEBUG" to<br>> > "#ifdef NDEBUGBLAAAA". Also, similar change needed at<br>> > backends/pixma.c line 70.<br>> > <br>> > Can <br>> > <br>> > On Mon, Jun 28, 2010 at 11:46 AM, Nicolas Martin<br>> > <nicolas0martin@gmail.com> wrote:<br>> > Point is, for whatever reason, Pixma debug logs do not show up<br>> > even when setting SANE_DEBUG_PIXMA to a correct level, only<br>> > SANE_DEBUG and SANE_DEBUG_SANEI_USB produce logs, as showed up<br>> > in the logs twain43 is providing.<br>> > <br>> > Just trying to figure out why this happens when compiled in<br>> > this environment.<br>> > <br>> > Nicolas<br>> > <br>> > <br>> > 2010/6/28 Chris Bagwell chris@cnpbagwell.com<br>> > <br>> > I've been fading in and out of this thread so<br>> > I do not have total history of your logs.<br>> > <br>> > Loooking at only this log, it seems to show<br>> > scanner working correctly while in test mode.<br>> > Can you do same debug logs but while doing an<br>> > actual scan? Does that work now with the<br>> > patched libusb from twain-sane (does it<br>> > generate a good pnm file)?<br>> > <br>> > Chris<br>> > <br>> > <br>> > <br>> > <br>> <br>> <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>