[sane-devel] Does the Canon Lide 80 work?

goland55 at aol.com goland55 at aol.com
Wed Dec 28 21:43:50 UTC 2005


I made the changes you suggested and troubleshot a few things and got 
the scanner to be found as a LiDE 60 with scanimage.  I got an invalid 
argument error when I tried to do 'scanimage >image.pnm'.

Below is a debugging log after I issued 'export 
SANE_DEBUG_GENESYS_GL841=255' and 'export SANE_DEBUG_SANEI_USB=255'.


---Log---

[sanei_usb] sanei_usb_init: found libusb device (0x04a9/0x2214) 
interface 0  at libusb:001:009
[sanei_usb] sanei_usb_init: found 1 devices
....
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:009'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint 
(address: 0x81), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint 
(address: 0x02), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 3 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x03)
[sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 
0x83), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:009' (*dn=0)
[sanei_debug] Setting debug level of genesys_gl841 to 255.
[genesys_gl841] gl841_init
[genesys_gl841] gl841_init_registers
[genesys_gl841] gl841_setup_sensor
[genesys_gl841] gl841_init_registers complete
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 12, value = 135, 
index = 0, len = 1
[sanei_usb] 0000: 04                                              
................
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 12, value = 131, 
index = 0, len = 1
[sanei_usb] 0000: 0E                                              
................
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 12, value = 133, 
index = 0, len = 1
[sanei_usb] 0000: 00                                              
................
[genesys_gl841] gl841_bulk_write_register (size = 208)
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 131, 
index = 0, len = 2
[sanei_usb] 0000: 01 A0                                           
................
[genesys_gl841] reg[0x01] = 0xa0
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 131, 
index = 0, len = 2
[sanei_usb] 0000: 02 38                                           
.8..............
[genesys_gl841] reg[0x02] = 0x38
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 131, 
index = 0, len = 2
[sanei_usb] 0000: 03 5F                                           
._..............
[genesys_gl841] reg[0x03] = 0x5f
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 131, 
index = 0, len = 2
[sanei_usb] 0000: 04 10                                           
................
[genesys_gl841] reg[0x04] = 0x10
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 131, 
index = 0, len = 2
[sanei_usb] 0000: 05 40                                           
. at ..............
[genesys_gl841] reg[0x05] = 0x40
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 131, 
index = 0, len = 2
[sanei_usb] 0000: 06 18                                           
................
[genesys_gl841] reg[0x06] = 0x18
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 131, 
index = 0, len = 2
[sanei_usb] 0000: 07 00                                           
................
USB error: error sending control message: Protocol error
[sanei_usb] sanei_usb_control_msg: libusb complained: error sending 
control message: Protocol error
[genesys_gl841] gl841_bulk_write_register: failed while writing 
command: Invalid argument
scanimage: open of device genesys:libusb:001:009 failed: Invalid 
argument

I'm not sure if this is a problem with the backend not supporting my 
scanner or if I have made a mistake in the setup of the scanner.  Any 
help would be appreciated.


-----Original Message-----
From: Henning Meier-Geinitz <henning at meier-geinitz.de>
Sent: Wed, 28 Dec 2005 12:22:51 +0100
Subject: Re: [sane-devel] Does the Canon Lide 80 work?

  Hi,

On Tue, Dec 27, 2005 at 08:35:39PM -0500, goland55 at aol.com wrote:
> I've noticed lots of talk of the genesys backend working with canon
> lide 35, 40, 50 and 60 but what of Lide 80?  Is support already in
> there or is it planned?

It doesn't work yet.

As none of the genesys developers seems to own such a scanner, it's up
to you to add it to the backend. See the ongoing discussions on this
list about the genesys backend.

As a quick'n'dirty trst. you could get the source code of
sane-backends (1.0.17 at least) and change the code of
backend/genesys_devices.c (at the end):

Change

  {0x04a9, 0x221c, &canon_lide_60_model},

to

  {0x04a9, 0x2214, &canon_lide_60_model},


and also add

usb 0x04a9 0x2214

to genesys.conf.

Bye,
  Henning

   



More information about the sane-devel mailing list