[sane-devel] Canon MP700 Error during device I/O

Dominik Wnek dominalien at netscape.net
Mon May 11 15:00:42 UTC 2009


Hello,

Here is the output of lsusb -v pertaining to the MP700:

Bus 002 Device 003: ID 04a9:2630 Canon, Inc. MultiPASS MP700
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x2630 MultiPASS MP700
  bcdDevice           10.03
  iManufacturer           1 Canon Inc.
  iProduct                2 MP700
  iSerial                 3 000000006813
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           85
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval             200
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered

Dnia 2009-05-10, nie o godzinie 12:18 +1000, Wade Fitzpatrick pisze:
> Hi Dominik
> 
> Firstly, please send the output of ``lsusb -v'' for the Canon device
> so that we can confirm that it also suffers from the bug in
> sanei/sanei_usb.c where it tries to use the wrong endpoints. See
> http://waddles.org/content/sane-canon-mp730-driver for more info.
> There is still some work to be done for reliable support but the
> patches there should at least get it working.
> 
> AFAIK, SmartBase, imageCLASS and MultiPASS are all just different
> marketing names for the same devices, depending on which region they
> were sold in.
> 
> Regards,
> Wade.
> 
> Dominik Wnek wrote: 
> > Hello,
> > 
> > I know this issue has been discussed extensively during the past month.
> > 
> > I'm trying to get working a Canon SmartBase MP700 Photo (this is a
> > European model); lsusb reports:
> > 
> > ID 04a9:2630 Canon, Inc. MultiPASS MP700
> > 
> > with easily predictable scanning results: 
> > 
> > Error during device I/O
> > 
> > I have also been reading the threads "MP730 driver broken since
> > pixma-0.12.2" and "ERROR DURING READ: Error during device I/O PIXMA" and
> > realise there has been success and that work is planned on this soon.
> > 
> > The attached log was obtained using the instructions quoted below;
> > they're from the thread "ERROR DURING READ: Error during device I/O
> > PIXMA".
> > 
> > I understand my device is not the same as the PIXMA, but the error seems
> > to be the same and I'm thinking maybe I am able to provide useful info.
> > 
> > The system is Ubuntu 9.04, kernel 2.6.28, libusb 0.1.12, sane-backends
> > compiled from latest (20090509) git snapshot.
> > 
> > Hope this is useful. Looking forward to using the device in Linux :-)
> > 
> > Thanks,
> > 
> > Dominik 
> > 
> >   
> > > Just gave you a wrong answer before (was for another thread)
> > > 
> > > Yes, I took a look at it, and it looks like a timeout in libusb
> > > interrupt read is not correctly taken into account. 
> > > 
> > > Could you get a more detailed thread like this:
> > > 
> > > $ export SANE_DEBUG_SANEI_USB=255
> > > $ export SANE_DEBUG=255
> > > $ export SANE_DEBUG_PIXMA=21
> > > $ scanimage -T &> scan.log
> > > 
> > > Nicolas
> > >     
> > > 
> > > 
> > > __________________________________________________________________
> > > 
> > > --
> > > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > >              to sane-devel-request at lists.alioth.debian.org





More information about the sane-devel mailing list