[sane-devel] Using the resource manager library...

Gerhard Jaeger gerhard@gjaeger.de
Mon, 19 Jul 2004 08:39:07 +0200


Hi,

it is a compile time option and as I stated earlier, it's fail safe that kind,
that if I stop the resource-manager, the scanner is still accessible, even
if the open call (to the res mgr) fails, the "standard" open will be called...

I'll wait for a couple of days now, then I'll check it in, so everybody is 
able to check this...

Ciao,
  Gerhard

On Monday 19 July 2004 00:35, m. allan noah wrote:
> as long as it is a compile-time option not to include it (since my
> machines wont have it, and i dont want sane to bother looking), it seems
> ok.
>
> allan
>
> On Sun, 18 Jul 2004, Gerhard Jaeger wrote:
> > Hi,
> >
> > the change should be failsafe, as it still tries to open the
> > device we'd like to open if the resmgr_open fails.
> > I did some tests on my SuSE box - w/o problems so far. I'll do
> > some more, but I expect no further probs...
> >
> > Ciao,
> >   Gerhard
> >
> > On Friday 16 July 2004 21:11, Oliver Rauch wrote:
> > > Is the change  failsave? Do you - or anyone else - have any experience
> > > with the resource manager?
> > >
> > > Oliver
> > >
> > > Am Fre, 2004-07-16 um 12.44 schrieb Gerhard Jaeger:
> > > > Hi list,
> > > >
> > > > I found that SuSE patches the SANE sources that way, that the package
> > > > will use the resource manager library to open SCSI AND USB devices.
> > > > I'd like to include this patch (see below), are the any objections?
> > > > For more information about the resource manager, see:
> > > > http://www.lst.de/~okir/resmgr
> > > >
> > > > Ciao,
> > > >   Gerhard
>
> --
> "so don't tell us it can't be done, putting down what you don't know.
> money isn't our god, integrity will free our souls" - Max Cavalera