[sane-devel] On using the files

Major A andras@users.sourceforge.net
Thu, 11 Dec 2003 19:13:08 +0000


> 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@users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================