[sane-devel] On using the files

Major A andras at users.sourceforge.net
Thu Dec 11 19:13:08 GMT 2003


> Since SANE uses libusb, I've been using those functions, in part the
> usb_open() function.  I've used the "for" loop to go through the
> various devices in the usb_devices structure of libusb to try and
> open it.  Can anyone help me with this little problem?

SANE uses libusb through sanei_usb, which is what I suggest you try
and use. If it's versatile enough for your needs (I guess it is), then
you gain a whole lot of portability by using it instead of libusb.

  Andras

===========================================================================
Major Andras
    e-mail: andras at users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================




More information about the sane-devel mailing list