[sane-devel] I can't get my scanner to work.

Philip V. Neves philip@digitalinfinity.biz
Fri, 11 Jun 2004 01:52:33 -0700


I am trying to get my scanner to work with sane. I have a Canon LIDE20 
usb scanner. sane-find-scanner sees the scanner but when I run scanimage 
-L nothing comes up. Its as if the scanner isn't there.
77
Here is what I get when I run sane-find-scanner. If someone could please 
point me in the right direction I would greately appreciateit.

trying libusb:
 
<device descriptor of 0x0000/0x0000 at 001:001 (USB UHCI-alt Root Hub)>
bLength               18
bDescriptorType       1
bcdUSB                1.00
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       8
idVendor              0x0000
idProduct             0x0000
bcdDevice             0.00
iManufacturer         0 ()
iProduct              2 (USB UHCI-alt Root Hub)
iSerialNumber         1 (d400)
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         64 (Self-powered)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    8
    bInterval         255 ms
    bRefresh          0
    bSynchAddress     0
 
<device descriptor of 0x04a9/0x220d at 001:002 (Canon CanoScan)>
bLength               18
bDescriptorType       1
bcdUSB                1.10
bDeviceClass          255
bDeviceSubClass       0
bDeviceProtocol       255
bMaxPacketSize0       8
idVendor              0x04A9
idProduct             0x220D
bcdDevice             1.00
iManufacturer         1 (Canon)
iProduct              2 (CanoScan)
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         39
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         160 (Remote Wakeup)
 MaxPower             500 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      3
   bInterfaceClass    255
   bInterfaceSubClass 0
   bInterfaceProtocol 255
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    1
    bInterval         16 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x82 (in 0x02)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 2>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x03 (out 0x03)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
 
<trying to find out which USB chip is used>
    checking for GT-6801 ...
    this is not a GT-6801 (bDeviceSubClass = 0x0)
    checking for GT-6816 ...
    this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)
    checking for MA-1017 ...
    this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255)
    checking for MA-1015 ...
    this is not a MA-1015 (bcdUSB = 0x110)
    checking for MA-1509 ...
    this is not a MA-1509 (bDeviceSubClass = 0x0)
    checking for LM983[1,2,3] ...
    Couldn't claim interface: could not claim interface 0: Device or 
resource busy
<This USB chip looks like a LM983x?>
 
found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], 
chip=LM983x?) at libusb:001:002
 
<device descriptor of 0x046d/0xc20c at 001:003 (Logitech WingMan 
Precision USB)>bLength               18
bDescriptorType       1
bcdUSB                1.10
bDeviceClass          0
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       8
idVendor              0x046D
idProduct             0xC20C
bcdDevice             1.03
iManufacturer         1 (Logitech)
iProduct              2 (WingMan Precision USB)
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         34
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         128 ()
 MaxPower             30 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    3
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    3
    bInterval         10 ms
    bRefresh          0
    bSynchAddress     0
  # Your USB scanner was (probably) detected. It may or may not be 
supported by
  # SANE. Try scanimage -L and read the backend's manpage.

-- 

---------------------------------------------------------------
Philip V. Neves           Email: philip@digitalinfinity.biz
Phone: (250)372-8536             pneves@telus.net

---------------------------------------------------------------

Nearly every man who develops an idea works at it up to the point where it looks impossible, and then gets discouraged. that's not the place to become discouraged.

Thomas Alva Edison.