[sane-devel] How to find out if USB is available for compilation

Henning Meier-Geinitz henning at meier-geinitz.de
Thu Mar 7 17:41:56 GMT 2002


Hi,

On Wed, Mar 06, 2002 at 10:29:26PM +0100, Oliver Rauch wrote:
> I am integrating the umax-usb code from Frank Zago that adds support for the
> Astra 2200 via USB connection into the umax scsi backend (umax.c).
> 
> I want to disable the USB code when USB is not supported on the platform.

Why? Smaller code? I think that's against the philosophy of SANE.
If someone updates the kernel later to a version that supports
USB he will get in trouble.

If you use libusb for this backend, see below.

> Is there a planned way to identify if USB is available?



More information about the sane-devel mailing list