List Info

Thread: Re: UNSUPPORTED error on sane_open?????




Re: UNSUPPORTED error on sane_open?????
country flaguser name
United States
2007-02-16 20:03:28
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.

 -------------- Original message ----------------------
From: "m. allan noah" <kitno455gmail.com>
> try cranking up the debug level at the command line.
especially on the
> DLL and TEST backends.
> 
> allan
> 
> On 2/16/07, dtlinkercomcast.net
<dtlinkercomcast.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-devellists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
> > Unsubscribe: Send mail with subject
"unsubscribe your_password"
> >              to sane-devel-requestlists.alioth.debian.org
> >
> 
> 
> -- 
> "The truth is an offense, but not a sin"
> 
> -- 
> sane-devel mailing list: sane-devellists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
> Unsubscribe: Send mail with subject "unsubscribe
your_password"
>              to sane-devel-requestlists.alioth.debian.org


-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org

Re: UNSUPPORTED error on sane_open?????
user name
2007-02-17 08:25:03
On 2/16/07, dtlinkercomcast.net <dtlinkercomcast.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" <kitno455gmail.com>
> > try cranking up the debug level at the command
line. especially on the
> > DLL and TEST backends.
> >
> > allan
> >
> > On 2/16/07, dtlinkercomcast.net
<dtlinkercomcast.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-devellists.alioth.debian.org
> > > http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
> > > Unsubscribe: Send mail with subject
"unsubscribe your_password"
> > >              to sane-devel-requestlists.alioth.debian.org
> > >
> >
> >
> > --
> > "The truth is an offense, but not a
sin"
> >
> > --
> > sane-devel mailing list: sane-devellists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
> > Unsubscribe: Send mail with subject
"unsubscribe your_password"
> >              to sane-devel-requestlists.alioth.debian.org
>
>


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

-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )