On 2/16/07, dtlin...@comcast.net <dtlin...@comcast.net> wrote:
> Sorry if this is a stupid question, but I am new to SANE.
>
> How do I crank up the debug level at the command line? I am accessing the 
> backend through a dynamically loaded library.

at the command line:

SANE_DEBUG_DLL=255 yourprogramname --yourprogramargs

all on one line, will put the DLL backend debug info on stderr. you
can do the same for the test backend with SANE_DEBUG_TEST=255
instead/in addition.

allan

>
>  -------------- Original message ----------------------
> From: "m. allan noah" <kitno...@gmail.com>
> > try cranking up the debug level at the command line. especially on the
> > DLL and TEST backends.
> >
> > allan
> >
> > On 2/16/07, dtlin...@comcast.net <dtlin...@comcast.net> wrote:
> > > I am writing a GUI for SANE for Mac OS X.
> > >
> > > I perform a sane_init, and get reasonable results back. I pass NULL as the
> > authorization pointer.
> > >
> > > I perform sane_get_devices, and am able to traverse the results and find
> > test:0 and test:1 and all the associated information.
> > >
> > > When I try sane_open, using either of the devices I found above, I get
> > SANE_STATUS_UNSUPPORTED as the result, and the handle is NULL.
> > >
> > > What does this mean, and how do I fix it???
> > >
> > > I looked at the source for the test devices and scan_open, and there is no
> > situation where they return SANE_STATUS_UNSUPPORTED, so how do I get it, and
> > what do I do to fix it?
> > >
> > > Thanks
> > >
> > > --
> > > sane-devel mailing list: sane-devel@lists.alioth.debian.org
> > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > >              to sane-devel-requ...@lists.alioth.debian.org
> > >
> >
> >
> > --
> > "The truth is an offense, but not a sin"
> >
> > --
> > sane-devel mailing list: sane-devel@lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >              to sane-devel-requ...@lists.alioth.debian.org
>
>


-- 
"The truth is an offense, but not a sin"

Reply via email to