[sane-devel] Canon LiDE 80

Stefan Lucke stefan at lucke.in-berlin.de
Tue Feb 5 10:44:14 UTC 2008


Hi,

I've seen there is some progress on lide 90 and I want to step in and
like to ask if there could be done something for my LiDE 80 too.
I cloned the canon_lide_60_model entry

-- scanimage with debug messages : --
[sanei_debug] Setting debug level of genesys to 255.
[genesys] SANE Genesys backend version 1.0 build 9 from sane-backends 1.0.18-cvs
[genesys] sane_init: authorize != null
[genesys] sane_init: little endian machine
[genesys] sane_init: reading config file `genesys.conf'
[genesys] sane_init: config file line 1: trying to attach `usb 0x04a9 0x2214'
[genesys] attach: start: devp != NULL, may_wait = 0
[genesys] attach: trying to open device `libusb:001:017'
[genesys] attach: device `libusb:001:017' successfully opened
[genesys] attach: found Canon flatbed scanner LiDE 80 at libusb:001:017
[genesys] attach: exit
[genesys] sane_init: exit
[genesys] sane_get_devices: start: local_only = false
[genesys] sane_get_devices: exit
[genesys] sane_open: start (devicename = `libusb:001:017')
[genesys] sane_open: found `canon-lide-80' in devlist
[genesys] init_options: start
[genesys] init_options: exit
[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
[genesys] sanei_genesys_write_register (0x0e, 0x00) completed
[genesys_gl841] gl841_bulk_write_register (elems = 104)
[genesys_gl841] reg[0x01] = 0xa0
[genesys_gl841] reg[0x02] = 0x38
[genesys_gl841] reg[0x03] = 0x5f
[genesys_gl841] reg[0x04] = 0x10
[genesys_gl841] reg[0x05] = 0x40
[genesys_gl841] reg[0x06] = 0x18

-- I modified this, debug message is written before ..bulk_write..() . --

[genesys_gl841] gl841_bulk_write_register: failed while writing command: Invalid argument
scanimage: open of device genesys:libusb:001:017 failed: Invalid argument
[genesys] sane_exit: start
[genesys] sane_exit: exit

-- dmesg output (kernel 2.6.23.13): --
[ 5298.424302] usb 1-7: new high speed USB device using ehci_hcd and address 17
[ 5298.480244] usb 1-7: OK: device descriptor read/64, error 0, mp 64 (0 0)
[ 5298.491202] usb 1-7: configuration #1 chosen from 1 choice
[ 5312.035169] usb 1-7: usbfs: USBDEVFS_CONTROL failed cmd scanimage rqt 64 rq 4 len 2 ret -71
[ 5312.035148] usb 1-7: USB disconnect, address 17
[ 5312.188163] usb 1-7: new high speed USB device using ehci_hcd and address 18
[ 5312.244105] usb 1-7: OK: device descriptor read/64, error 0, mp 64 (0 0)
[ 5312.255079] usb 1-7: configuration #1 chosen from 1 choice

-- 
Stefan Lucke



More information about the sane-devel mailing list