[sane-devel] Imageclass d530

kingogames tonyjs at outlook.com
Sun Jul 12 02:04:56 UTC 2015


Hey there,

I have been trying ALL day to get my Canon ImageClass D530 to work all day
using your walkthrough, and I just can't do it. I think I'm close, but for
some reeason, I'm doing something wrong. I am just at a loss. I don't know
what else to do.

Can anyone help be get this working?

Running sane-find-scanner returns:

/found USB scanner (vendor=0x0bda, product=0x0129) at libusb:002:004
found USB scanner (vendor=0x04a9 [Canon Inc], product=0x2775 [D530/D560]) at
libusb:002:003/

Why are there two scanners listed? I'm sure it was because I've been messing
with this all day and changed some setting... Could that be part of the
problem?

Running (and sudo) scanimage -L returns:

/No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages)./

I downloaded your  *pixma_imageclass.c.patch4_all* but when I go to patch
pixma_imageclass.c, I get the following:

/(Stripping trailing CRs from patch; use --binary to disable.)
patching file pixma_imageclass.c
Hunk #1 FAILED at 94.
Hunk #2 succeeded at 426 (offset 14 lines).
Hunk #3 succeeded at 485 (offset 14 lines).
Hunk #4 succeeded at 581 (offset 16 lines).
Hunk #5 FAILED at 789.
2 out of 5 hunks FAILED -- saving rejects to file pixma_imageclass.c.rej/

lsusb returns:
/
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card
Reader Controller
Bus 002 Device 003: ID 04a9:2775 Canon, Inc. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1bcf:2c00 Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub/

lsusb -v -d 04a9:2775 returns:

/Bus 002 Device 003: ID 04a9:2775 Canon, Inc. 
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          0x2775 
  bcdDevice            1.00
  iManufacturer           1 Canon Inc
  iProduct                2 D530/D560
  iSerial                 3 114753601448
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           62
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      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     0x0200  1x 512 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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              11
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      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     0x0200  1x 512 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered/


Thank you,

Anthony








--
View this message in context: http://sane.10972.n7.nabble.com/Imageclass-d530-tp18191p19920.html
Sent from the SANE - Dev mailing list archive at Nabble.com.



More information about the sane-devel mailing list