[sane-devel] generic USB questoin (SANE/Avision and space USB)

Rene Rebe rene.rebe@gmx.net
Sun, 23 Mar 2003 22:07:04 +0100 (CET)


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=E9

--  =

Ren=E9 Rebe - Europe/Germany/Berlin
e-mail:   rene@rocklinux.org, rene.rebe@gmx.net
web:      http://www.rocklinux.org/people/rene http://gsmp.tfh-berlin.d=
e/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.