[sane-devel] Third revision of Scanner HOWTO available

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 20 Jul 2003 17:39:26 +0200


On Sun, Jul 20, 2003 at 03:55:17PM +0100, Major A wrote:
> "IMPORTANT: You cannot have both kernel scanner support enabled (i.e.,
> compiled in statically or the module loaded if a module) and libusb
> installed and access the hardware at the same time, or nothing will
> work." Why not? The only thing that won't work is sane-backends with a
> USB scanner if it was built with libusb support. "nothing will work"
> is a bit of an exaggeration. Also, libusb can safely be installed when
> the kernel USB scanner module is loaded, even SANE will work as long
> as sane-backend was built without libusb support.

Even if SANE was built with libusb support there is no problem.

If the backend asks sanei_usb for a vendor/product id combination,
sanei_usb will try both the kernel scanner driver and libusb. If the
kernel scanner driver is loaded, it has priority over libusb and is
used. Otherwise libusb is used.

I can't think of any problem here at all.