<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Point taken: I'm recompiling with all the 3-4 NDEBUG statements in those two files changed to NDEBUGPIXMA.<br>Will test and post logs in a pinch, I hope.<br><br>Twain28<br><br><hr id="stopSpelling">Date: Mon, 12 Jul 2010 11:48:34 +0200<br>Subject: Re: [sane-devel] Testing on Canon MF6580PL<br>From: nicolas0martin@gmail.com<br>To: twain43@hotmail.com<br>CC: chris@cnpbagwell.com; sane-devel@lists.alioth.debian.org<br><br><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="ecxgmail_quote">2010/7/12 <span dir="ltr"><<a href="mailto:twain43@hotmail.com">twain43@hotmail.com</a>></span><br>
<blockquote class="ecxgmail_quote" style="padding-left: 1ex; border-left: 1px solid rgb(204, 204, 204);">
<div>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?
<div class="ecxim"><br><br>Twain28<br><br>> Subject: Re: [sane-devel] Testing on Canon MF6580PL<br>> From: <a href="mailto:nicolas0martin@gmail.com">nicolas0martin@gmail.com</a><br></div>> To: <a href="mailto:chris@cnpbagwell.com">chris@cnpbagwell.com</a><br>
> CC: <a href="mailto:twain43@hotmail.com">twain43@hotmail.com</a>; <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>> Date: Mon, 28 Jun 2010 21:24:10 +0200
<div>
<div></div>
<div class="h5"><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>
> > <<a href="mailto:nicolas0martin@gmail.com">nicolas0martin@gmail.com</a>> 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 <a href="mailto:chris@cnpbagwell.com">chris@cnpbagwell.com</a><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></div></div>
<hr>
Personalizza il tuo Messenger con <a href="http://www.pimpit.it/windowslive.html">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">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br></blockquote></div><br> <br /><hr />10 buoni motivi per scegliere <a href='http://www.windowslive.it/hotmail/10buonimotivi/index.html' target='_new'> Hotmail</a></body>
</html>