Hi, On Wed, Oct 16, 2002 at 02:19:02PM -0400, Bob Lockie wrote: > > # scanimage -L > > shouldn't the gphoto2 backend call an exit function? > > [dll] load: searching backend `gphoto2' in `/usr/local/lib/sane' > [dll] load: trying to load `/usr/local/lib/sane/libsane-gphoto2.so.1' > [dll] load: dlopen()ing `/usr/local/lib/sane/libsane-gphoto2.so.1' > [dll] init: initializing backend `gphoto2' > [gphoto2] ERROR: Bad parameters
sane_init of gpohoto2 return a status other than SANE_STATUS_GOOD I suppose. So the backend wasn't initialized correctly. It's not allowed to call any other SANE function in this case. To be exact: if you do, the behaviour is undefined. I have no idea, why gphoto2's sane_init fails, however. > [dll] sane_exit: exiting > [dll] sane_exit: calling backend `snapscan's exit function > [dll] sane_exit: calling backend `microtek2's exit function > [dll] sane_exit: calling backend `microtek's exit function > [dll] sane_exit: finished So the dll backend doesn't call sane_exit of gphoto2. I think that's correct. Bye, Henning
