[sane-devel] Testing on Canon MF6580PL

twain43 at hotmail.com twain43 at hotmail.com
Mon Jul 12 08:29:40 UTC 2010


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.

I just read your posts, and wanted to sum up the steps to take. Do please, correct me if I'm wrong:
1. Change backends/pixma_common.h around line 57 from "#ifdef NDEBUG" to "#ifdef NDEBUGBLAAAA". 
2. Same thing for backends/pixma.c line 70.
3. compile, install and test.

@Nicolas: if I understood your post below, you're suggesting I use "#ifdef NDEBUGPIXMA", instead of the above....am I right?

Twain28

> Subject: Re: [sane-devel] Testing on Canon MF6580PL
> From: nicolas0martin at gmail.com
> To: chris at cnpbagwell.com
> CC: twain43 at hotmail.com; sane-devel at lists.alioth.debian.org
> Date: Mon, 28 Jun 2010 21:24:10 +0200
> 
> That's good clue indeed.
> 
> Also might be better to change the NDEBUG flag in the pixma code to
> something more restrictive, like NDEBUGPIXMA
> 
> Or ... simply to reconsider this conditional code here and there, as it
> was helpful at the time the pixma driver was standalone and not included
> into Sane as backend, but is now pretty useless, as pixma logs are
> handled directly with Sane flags.
> 
> Nicolas
> 
> Le lundi 28 juin 2010 à 12:17 -0500, Chris Bagwell a écrit :
> > Oh, OK.  So one part of the problem is that pixma debug messages
> > aren't showing up.
> > 
> > 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?
> > 
> > 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.
> > 
> > A quick test of that theory is to modify the file
> > backends/pixma_common.h around line 57 and change "#ifdef NDEBUG" to
> > "#ifdef NDEBUGBLAAAA".  Also, similar change needed at
> > backends/pixma.c line 70.
> > 
> > Can 
> > 
> > On Mon, Jun 28, 2010 at 11:46 AM, Nicolas Martin
> > <nicolas0martin at gmail.com> wrote:
> >         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.
> >          
> >         Just trying to figure out why this happens when compiled in
> >         this environment.
> >          
> >         Nicolas
> >         
> >         
> >         2010/6/28 Chris Bagwell chris at cnpbagwell.com
> >                         
> >                         I've been fading in and out of this thread so
> >                         I do not have total history of your logs.
> >                         
> >                         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)?
> >                         
> >                         Chris
> >                         
> >                         
> >         
> > 
> 
> 
 		 	   		  
_________________________________________________________________
Tanti account di posta? Unisci tutto sotto Hotmail
http://www.windowslive.it/hotmail/GestisciAltriAccount.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100712/57462643/attachment.htm>


More information about the sane-devel mailing list