[sane-devel] Hai

Fan Dan dan_fancn@hotmail.com
Tue, 08 Apr 2003 10:27:11 +0800


Hai henning:
   I will develop Linux driver for Mustek A3Pro scanner. 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


  hub.c: new USB device 00:07.2-2, assigned address 2
  usb.c: kmalloc IF c9a31860, numif 1
  usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
  usb.c: USB device number 2 default language ID 0x409
  Manufacturer: USB Scanner
  Product: USB Scanner
  usb.c: unhandled interfaces on device
  usb.c: USB device 2 (vend/prod 0x55f/0x401) is not claimed by any active 
driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.10
  Vendor:Product      = 055f:0401
  MaxPacketSize0      = 64
  NumConfigurations   = 1
  Device version      = 0.00
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0027
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   c0
  MaxPower            =    0mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   03
    bInterface Class:SubClass:Protocol =   ff:ff:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   01 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   82 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0001
      bInterval           =   03
usb.c: kusbd: /sbin/hotplug add 2
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 103, change 0, 12 Mb/s
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?  

Thanks a lot

Good Lucky
Dan





_________________________________________________________________
 MSN Explorer:   http://explorer.msn.com/lccn/