Hi, On Sun, Mar 23, 2003 at 10:07:04PM +0100, Rene Rebe wrote: > However I have a problem collecting the scanners status byte which the > hpusbscsi.c does via an interrupt URB: > > /* build and submit an interrupt URB for status byte handling */ > FILL_INT_URB(&desc->controlurb, > desc->dev, > usb_rcvintpipe(desc->dev,desc->ep_int), > &desc->scsi_state_byte, > 1, > control_interrupt_callback, > desc, > desc->interrupt_interval > > Any idea how I model this via sanei_usb (libusb) ???
As far as I know that's not possible with neither libusb nor the kernel scanner driver. I think Linux devio (user space USB access) can do that but libusb at least in version 0.1.* doesn't support it. You could try to write your own functions that do that if you get hold of the file descriptor from libusb. But keep in mind that this must be done for every operating system (if possible at all). Bye, Henning
