[sane-devel] generic USB questoin (SANE/Avision and space USB)
Rene Rebe
rene.rebe at gmx.net
Sun Mar 23 21:07:04 GMT 2003
Hi all,
currently I'm in the progress of converting the SANE/Avision backend
to do the USB I/O in userspace (using sanei_usb and so either
scanner.c or libusb instead of the Linux hpusbscsi SCSI emulation).
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) ???
- René
--
René Rebe - Europe/Germany/Berlin
e-mail: rene at rocklinux.org, rene.rebe at gmx.net
web: http://www.rocklinux.org/people/rene http://gsmp.tfh-berlin.de/rene/
Anyone sending unwanted advertising e-mail to this address will be
charged $25 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.
More information about the sane-devel
mailing list