[sane-devel] Re: sanei_usb_read_int function

Henning Meier-Geinitz henning at meier-geinitz.de
Thu Apr 8 18:07:32 BST 2004


Hi,

On Thu, Apr 08, 2004 at 06:21:51AM -0700, Peter Mark Guevarra wrote:
> Can sanei_usb_read_int function be used 
> 
> if you're using a kernel scanner driver?

No. The Linux kernel scanner driver doesn't provide access to int
transfers. It doesn't exist on current kernels anyway.

> If not, how may I be able to catch interrupts (i.e., scan button press event)
> 
> if I'm using a kernel scanner driver? 

There is already a function in the scanner driver. You could modify it
to do whatever you want.

Bye,
  Henning




More information about the sane-devel mailing list