[sane-devel] Hai

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 8 Apr 2003 13:33:32 +0200


Hi,

On Tue, Apr 08, 2003 at 10:27:11AM +0800, Fan Dan wrote:
> Hai henning:

There are 800 other people on this list...

>   I will develop Linux driver for Mustek A3Pro scanner.

Nice. I didn't know that there is a A3Pro USB scanner. You mean the 
P 3600 A3 Pro? Can you tell us more about the scanner? Which chipset
is used, is it SCSI-over-USB?

> But I have some 
> problem in Usb modules and scanner modules of kernel.
>   Here is scanner info and debug info when i attach scanner to PC

Better ask the USB experts at the linux-usb-devel mailing list (see
http://www.linux-usb.org). While I'm the maintainer of the scanner
driver, the problem seems to be deeper in the USB core here.

That's which kernel version?

> usb.c: registered new driver usbscanner
> usb-uhci.c: uhci_submit_urb: pipesize for pipe 40018280 is zero
> scanner.c: probe_scanner(0): Unable to allocate INT URB.
> scanner.c: 0.4.6:USB Scanner Driver
> 
>   Is pipe size  too large ? How to do with that?  

No idea. Maybe it doesn't like the max packet size of 1?

But even if that worked, the interrupt URBs are just ignored. So if
you need them for scanner control, it won't work with the kernel
scanner driver.

But you could use libusb. The sanei_usb code can use both libusb and
the kernel scanner driver. Get a current snapshot to get (limited)
support for reading from interupt endpoints.

Bye,
  Henning