[sane-devel] more patches for epjitsu

m. allan noah kitno455 at gmail.com
Thu May 29 11:04:35 UTC 2014

The big difference in speed when starting scanimage is probably the
number of backends which are active in dll.conf. Comment out the ones
you don't need. The missing S1300i might be a config issue also- is
the scanner listed in the epjitsu.conf file?


On Thu, May 29, 2014 at 5:28 AM, Peter D'Hoye <peter.dhoye at gmail.com> wrote:
>> Chances are, you have two copies of sane installed, and the config
>> files for one of the copies are messed up. Try enabling debugging on
>> the the DLL backend, and see where it is trying to load files from:
>> SANE_DEBUG_DLL=255 scanimage -L
> it looks like it loads them fine, but I think I discovered the
> difference with my (working) test setup: it was 32bit, while my main
> machine is 64bit. Yes I still have the distro sane installed, but I
> did this sideloading already in the past without issues (on a 32bit
> machine I admit)
> I changed the build number to be 100% sure it loads the correct epjitsu backend.
> I also found that sane actually still works with my other scanner, it
> just takes a long time to run scanimage, regardless if the S1300i is
> connected.
> So, two questions remain:
> - anything special I need to do on a 64bit system (debian based)
> - did you check on a 64bit system? Maybe a backend issue after all?
> For the reference, this is the (shortened) output (BUILD defined as 99
> as an extra check):
> $ SANE_DEBUG_DLL=255 scanimage -L
> [sanei_debug] Setting debug level of dll to 255.
> [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.25git
> [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
> [dll] sane_init/read_dlld: attempting to open directory
> `/usr/local/etc/sane.d/dll.d'
> [dll] sane_init/read_dlld: using config directory `/usr/local/etc/sane.d/dll.d'
> [dll] sane_init/read_dlld: done.
> [dll] sane_init/read_config: reading dll.conf
> ...
> [dll] add_backend: adding backend `epjitsu'
> ...
> [dll] sane_get_devices
> ...
> [dll] load: searching backend `epjitsu' in `/usr/local/lib/sane'
> [dll] load: trying to load `/usr/local/lib/sane/libsane-epjitsu.so.1'
> [dll] load: dlopen()ing `/usr/local/lib/sane/libsane-epjitsu.so.1'
> [dll] init: initializing backend `epjitsu'
> [dll] init: backend `epjitsu' is version 1.0.99
> ...
> [dll] sane_get_devices: found 0 devices
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
> [dll] sane_exit: exiting
> ...
> [dll] sane_exit: calling backend `epjitsu's exit function
> ...
> [dll] sane_exit: finished

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

More information about the sane-devel mailing list