[sane-devel] Sanei functions and how to use them

Matthew Duggan stauff@guarana.org
Fri, 20 Feb 2004 15:08:02 +1100

On Thu, Feb 19, 2004 at 10:19:02PM -0500, Jason Anderson wrote:
> Sorry for asking such stupid questions, but this is hard to learn for a beginner like me. (-_-);;
> I would like to know how to use the sanei functions to try to send and recieve data from my scanner.  I would like to try to use the function "sanei_usb_control_msg", however, I don't quite understand the parameters.  I know what the first parameter takes, but I don't know about the others.  Could someone please shed some light on the subject.
> Thank you in advance.


You'll probably want to check out the sanei docs, in particular the
sanei_usb docs:

This particular function just maps to a libusb function, and the libusb
docs aren't inspiring, so you'll probably have to look at the usb spec.

- Matthew