[sane-devel] Re: sanei_usb_read_int function
Thu, 8 Apr 2004 19:07:32 +0200
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.