[sane-devel] Need help with Canon DR-3080CII
Martin Kouba
martin at kouba.at
Tue Aug 10 09:20:52 UTC 2010
The scanner will be returned tomorrow (I had it much longer than
planned already). Anything left to try out?
Am 29.07.2010 20:42, schrieb m. allan noah:
> Sorry, i've been really busy this week. I don't think I will get to it
> in the next couple days.
>
> allan
>
> On Tue, Jul 27, 2010 at 5:27 AM, Martin Kouba <martin at kouba.at> wrote:
>> i will have the scanner only for a few more days.
>>
>> do you want to try something else?
>>
>>
>> Am 23.07.2010 01:35, schrieb m. allan noah:
>>> Ok, this looks very similar to the windows log you took. I see a
>>> couple differences in the order of commands, and one additional
>>> command that we are not sending- no other canon_dr machine has used it
>>> yet, so I don't know the meaning. But, we can try to replicate it, and
>>> see if it works.
>>>
>>> allan
>>>
>>> On Thu, Jul 22, 2010 at 6:32 PM, Martin Kouba <martin at kouba.at> wrote:
>>>> still no scan
>>>>
>>>>
>>>> Am 2010-07-22 17:11, schrieb m. allan noah:
>>>>> can you try this:
>>>>>
>>>>> SANE_DEBUG_CANON_DR=30 scanimage --contrast -127 --mode Lineart
>>>>> --threshold 128 2>3080.log >3080.pnm
>>>>>
>>>>> That should more closely match your windows log.
>>>>>
>>>>> allan
>>>>>
>>>>> On Wed, Jul 21, 2010 at 4:31 PM, Martin Kouba <martin at kouba.at> wrote:
>>>>>
>>>>>> well first it did something
>>>>>> i guess it was moving the feeder
>>>>>> but no scanning
>>>>>>
>>>>>> then i tried again ... nothing
>>>>>>
>>>>>> i power cycled the scanner and tried again ... nothing
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 2010-07-19 19:51, schrieb m. allan noah:
>>>>>>
>>>>>>> ahh- leave out the --threshold option, and try again.
>>>>>>>
>>>>>>> allan
>>>>>>>
>>>>>>> On Mon, Jul 19, 2010 at 1:48 PM, Martin Kouba <martin at kouba.at> wrote:
>>>>>>>
>>>>>>>
>>>>>>>> Am 2010-07-19 19:18, schrieb m. allan noah:
>>>>>>>>
>>>>>>>>
>>>>>>>>> Oh, something happens :) The scanner is mad about our set window
>>>>>>>>> command. This is the same place I got with the DR-3080C user. Try
>>>>>>>>> this:
>>>>>>>>>
>>>>>>>>> SANE_DEBUG_CANON_DR=30 scanimage --mode Gray --threshold 128
>>>>>>>>> --contrast -127 2>3080.log >3080.pnm
>>>>>>>>>
>>>>>>>>> allan
>>>>>>>>>
>>>>>>>>> On Mon, Jul 19, 2010 at 12:48 PM, Martin Kouba <martin at kouba.at> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> nothing happens
>>>>>>>>>>
>>>>>>>>>> -----
>>>>>>>>>>
>>>>>>>>>> martin at pc03:~$ SANE_DEBUG_CANON_DR=30 scanimage --mode Gray --resolution 100
>>>>>>>>>> [sanei_debug] Setting debug level of canon_dr to 30.
>>>>>>>>>> [canon_dr] sane_init: start
>>>>>>>>>> [canon_dr] sane_init: canon_dr backend 1.0.35, from sane-backends 1.0.22git
>>>>>>>>>> [canon_dr] sane_init: finish
>>>>>>>>>> [canon_dr] sane_get_devices: start
>>>>>>>>>> [canon_dr] sane_get_devices: reading config file canon_dr.conf
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'scsi CANON CR'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'scsi CANON DR'
>>>>>>>>>> [canon_dr] sane_get_devices: setting "vendor-name" to CANON
>>>>>>>>>> [canon_dr] sane_get_devices: setting "model-name" to DR-2080C
>>>>>>>>>> [canon_dr] sane_get_devices: setting "version-name" to XXXX
>>>>>>>>>> [canon_dr] sane_get_devices: setting "padded-read" to 1
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1601'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1602'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1603'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1604'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1606'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1607'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1608'
>>>>>>>>>> [canon_dr] sane_get_devices: setting "padded-read" to 1
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1609'
>>>>>>>>>> [canon_dr] attach_one: start
>>>>>>>>>> [canon_dr] attach_one: looking for 'libusb:001:003'
>>>>>>>>>> [canon_dr] connect_fd: start
>>>>>>>>>> [canon_dr] connect_fd: opening USB device
>>>>>>>>>> [canon_dr] wait_scanner: start
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 500
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 00 00 00 00 00 00 00 00
>>>>>>>>>> ........
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 500
>>>>>>>>>> [canon_dr] stat: read 16 bytes, retval 0
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 0c 00 03 a0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] do_usb_cmd: finish
>>>>>>>>>> [canon_dr] wait_scanner: finish
>>>>>>>>>> [canon_dr] connect_fd: finish
>>>>>>>>>> [canon_dr] init_inquire: start
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 30000
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 12 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 30 00 00 00 00 00 00 00
>>>>>>>>>> 0.......
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] in: reading 60 bytes, timeout 30000
>>>>>>>>>> [canon_dr] in: read 60 bytes, retval 0
>>>>>>>>>> [canon_dr] in: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 38 00 02 b0 00 00 00 00 00 06 00 02 02
>>>>>>>>>> ...8............
>>>>>>>>>> [canon_dr] 010: 1f 00 00 10 43 41 4e 4f 4e 20 20 20 44 52 2d 33
>>>>>>>>>> ....CANON DR-3
>>>>>>>>>> [canon_dr] 020: 30 38 30 43 49 49 20 20 20 20 20 20 33 2e 31 39
>>>>>>>>>> 080CII 3.19
>>>>>>>>>> [canon_dr] 030: 00 00 00 00 32 30 30 36 31 31 31 35
>>>>>>>>>> ....20061115
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 30000
>>>>>>>>>> [canon_dr] stat: read 16 bytes, retval 0
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 0c 00 03 a0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] do_usb_cmd: finish
>>>>>>>>>> [canon_dr] init_inquire: Found CANON scanner DR-3080CII version 3.19 at
>>>>>>>>>> libusb:001:003
>>>>>>>>>> [canon_dr] init_inquire: finish
>>>>>>>>>> [canon_dr] init_vpd: start
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 30000
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 12 01 f0 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 1e 00 00 00 00 00 00 00
>>>>>>>>>> ........
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] in: reading 42 bytes, timeout 30000
>>>>>>>>>> [canon_dr] in: read 42 bytes, retval 0
>>>>>>>>>> [canon_dr] in: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 26 00 02 b0 00 00 00 00 00 06 f0 02 00
>>>>>>>>>> ...&............
>>>>>>>>>> [canon_dr] 010: 19 01 2c 01 2c 00 01 2c 01 2c 00 64 00 64 21 c0
>>>>>>>>>> ..,.,..,.,.d.d!.
>>>>>>>>>> [canon_dr] 020: 00 00 0b d0 00 00 10 cc 2a 00
>>>>>>>>>> ........*.
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 30000
>>>>>>>>>> [canon_dr] stat: read 16 bytes, retval 0
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 0c 00 03 a0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] do_usb_cmd: finish
>>>>>>>>>> [canon_dr] init_vpd: length=19
>>>>>>>>>> [canon_dr] standard options
>>>>>>>>>> [canon_dr] basic x res: 300 dpi
>>>>>>>>>> [canon_dr] basic y res: 300 dpi
>>>>>>>>>> [canon_dr] step x res: 0 dpi
>>>>>>>>>> [canon_dr] step y res: 0 dpi
>>>>>>>>>> [canon_dr] max x res: 300 dpi
>>>>>>>>>> [canon_dr] max y res: 300 dpi
>>>>>>>>>> [canon_dr] min x res: 100 dpi
>>>>>>>>>> [canon_dr] min y res: 100 dpi
>>>>>>>>>> [canon_dr] 60 dpi: 0
>>>>>>>>>> [canon_dr] 75 dpi: 0
>>>>>>>>>> [canon_dr] 100 dpi: 1
>>>>>>>>>> [canon_dr] 120 dpi: 0
>>>>>>>>>> [canon_dr] 150 dpi: 0
>>>>>>>>>> [canon_dr] 160 dpi: 0
>>>>>>>>>> [canon_dr] 180 dpi: 0
>>>>>>>>>> [canon_dr] 200 dpi: 1
>>>>>>>>>> [canon_dr] 240 dpi: 1
>>>>>>>>>> [canon_dr] 300 dpi: 1
>>>>>>>>>> [canon_dr] 320 dpi: 0
>>>>>>>>>> [canon_dr] 400 dpi: 0
>>>>>>>>>> [canon_dr] 480 dpi: 0
>>>>>>>>>> [canon_dr] 600 dpi: 0
>>>>>>>>>> [canon_dr] 800 dpi: 0
>>>>>>>>>> [canon_dr] 1200 dpi: 0
>>>>>>>>>> [canon_dr] max width: 12096 (10.08 in)
>>>>>>>>>> [canon_dr] max length: 17200 (14.33 in)
>>>>>>>>>> [canon_dr] AWD: 0
>>>>>>>>>> [canon_dr] CE Emphasis: 0
>>>>>>>>>> [canon_dr] C Emphasis: 1
>>>>>>>>>> [canon_dr] High quality: 0
>>>>>>>>>> [canon_dr] grayscale: 1
>>>>>>>>>> [canon_dr] halftone: 0
>>>>>>>>>> [canon_dr] monochrome: 1
>>>>>>>>>> [canon_dr] overflow: 0
>>>>>>>>>> [canon_dr] init_vpd: finish
>>>>>>>>>> [canon_dr] init_model: start
>>>>>>>>>> [canon_dr] init_model: finish
>>>>>>>>>> [canon_dr] init_panel: start
>>>>>>>>>> [canon_dr] read_panel: start
>>>>>>>>>> [canon_dr] read_panel: finish 0
>>>>>>>>>> [canon_dr] send_panel: start
>>>>>>>>>> [canon_dr] send_panel: unsupported, finishing
>>>>>>>>>> [canon_dr] init_panel: finish
>>>>>>>>>> [canon_dr] init_user: start
>>>>>>>>>> [canon_dr] init_user: finish
>>>>>>>>>> [canon_dr] init_options: start
>>>>>>>>>> [canon_dr] init_options: finish
>>>>>>>>>> [canon_dr] disconnect_fd: start
>>>>>>>>>> [canon_dr] disconnecting usb device
>>>>>>>>>> [canon_dr] disconnect_fd: finish
>>>>>>>>>> [canon_dr] attach_one: finish
>>>>>>>>>> [canon_dr] sane_get_devices: setting "vendor-name" to CANON
>>>>>>>>>> [canon_dr] sane_get_devices: setting "model-name" to DR-2050C
>>>>>>>>>> [canon_dr] sane_get_devices: setting "version-name" to XXXX
>>>>>>>>>> [canon_dr] sane_get_devices: setting "padded-read" to 1
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x160a'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x160b'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x160c'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x160f'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x2222'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1614'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1617'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1618'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x161a'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x161b'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x161d'
>>>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1620'
>>>>>>>>>> [canon_dr] sane_get_devices: found scanner libusb:001:003
>>>>>>>>>> [canon_dr] sane_get_devices: found 1 scanner(s)
>>>>>>>>>> [canon_dr] sane_get_devices: finish
>>>>>>>>>> [canon_dr] sane_open: start
>>>>>>>>>> [canon_dr] sane_open: searching currently attached scanners
>>>>>>>>>> [canon_dr] sane_open: device libusb:001:003 requested
>>>>>>>>>> [canon_dr] sane_open: device libusb:001:003 found
>>>>>>>>>> [canon_dr] connect_fd: start
>>>>>>>>>> [canon_dr] connect_fd: opening USB device
>>>>>>>>>> [canon_dr] wait_scanner: start
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 500
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 00 00 00 00 00 00 00 00
>>>>>>>>>> ........
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 500
>>>>>>>>>> [canon_dr] stat: read 16 bytes, retval 0
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 0c 00 03 a0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] do_usb_cmd: finish
>>>>>>>>>> [canon_dr] wait_scanner: finish
>>>>>>>>>> [canon_dr] connect_fd: finish
>>>>>>>>>> [canon_dr] sane_open: finish
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 0
>>>>>>>>>> [canon_dr] sane_control_option: get value for '' (0)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 0
>>>>>>>>>> [canon_dr] sane_control_option: get value for '' (0)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 1
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 2
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 3
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 4
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 5
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 6
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 7
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 8
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 9
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 10
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 11
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 12
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 13
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 14
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 15
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 16
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 17
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 18
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 19
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 20
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 21
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 22
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 23
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 24
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 25
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 26
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 27
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 28
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 29
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 30
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 31
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 32
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 33
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 34
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 35
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 36
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 37
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 38
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'br-x' (8)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-x' (6)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'br-y' (9)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-y' (7)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 3
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 3
>>>>>>>>>> [canon_dr] sane_control_option: set value for 'mode' (3)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 0
>>>>>>>>>> [canon_dr] sane_control_option: get value for '' (0)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 1
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 2
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 3
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 4
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 5
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 6
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 7
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 8
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 9
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 10
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 11
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 12
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 13
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 14
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 15
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 16
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 17
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 18
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 19
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 20
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 21
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 22
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 23
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 24
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 25
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 26
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 27
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 28
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 29
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 30
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 31
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 32
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 33
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 34
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 35
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 36
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 37
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 38
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'br-x' (8)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-x' (6)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'br-y' (9)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-y' (7)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 4
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 4
>>>>>>>>>> [canon_dr] sane_control_option: set value for 'resolution' (4)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 0
>>>>>>>>>> [canon_dr] sane_control_option: get value for '' (0)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 1
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 2
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 3
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 4
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 5
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 6
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 7
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 8
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 9
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 10
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 11
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 12
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 13
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 14
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 15
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 16
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 17
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 18
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 19
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 20
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 21
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 22
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 23
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 24
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 25
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 26
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 27
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 28
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 29
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 30
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 31
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 32
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 33
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 34
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 35
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 36
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 37
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 38
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'br-x' (8)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-x' (6)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'br-y' (9)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-y' (7)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-x' (6)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 8
>>>>>>>>>> [canon_dr] sane_control_option: set value for 'br-x' (8)
>>>>>>>>>> [canon_dr] sane_control_option: get value for 'tl-y' (7)
>>>>>>>>>> [canon_dr] sane_get_option_descriptor: 9
>>>>>>>>>> [canon_dr] sane_control_option: set value for 'br-y' (9)
>>>>>>>>>> [canon_dr] sane_start: start
>>>>>>>>>> [canon_dr] started=0, side=0, source=1
>>>>>>>>>> [canon_dr] object_position: start
>>>>>>>>>> [canon_dr] object_position: eject
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 30000
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 31 00 00 00
>>>>>>>>>> ............1...
>>>>>>>>>> [canon_dr] 010: 00 00 00 00 00 00 00 00
>>>>>>>>>> ........
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 30000
>>>>>>>>>> [canon_dr] stat: read 16 bytes, retval 0
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 0c 00 03 a0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] do_usb_cmd: finish
>>>>>>>>>> [canon_dr] object_position: finish
>>>>>>>>>> [canon_dr] wait_scanner: start
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 500
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 00 00 00 00 00 00 00 00
>>>>>>>>>> ........
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 500
>>>>>>>>>> [canon_dr] stat: read 16 bytes, retval 0
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 0c 00 03 a0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] do_usb_cmd: finish
>>>>>>>>>> [canon_dr] wait_scanner: finish
>>>>>>>>>> [canon_dr] load_lut: start 0 0
>>>>>>>>>> [canon_dr] load_lut:
>>>>>>>>>> [canon_dr] 000: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 020: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
>>>>>>>>>> !"#$%&'()*+,-./
>>>>>>>>>> [canon_dr] 030: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
>>>>>>>>>> 0123456789:;<=>?
>>>>>>>>>> [canon_dr] 040: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
>>>>>>>>>> @ABCDEFGHIJKLMNO
>>>>>>>>>> [canon_dr] 050: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
>>>>>>>>>> PQRSTUVWXYZ[\]^_
>>>>>>>>>> [canon_dr] 060: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
>>>>>>>>>> `abcdefghijklmno
>>>>>>>>>> [canon_dr] 070: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
>>>>>>>>>> pqrstuvwxyz{|}~.
>>>>>>>>>> [canon_dr] 080: 7f 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 090: 8f 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 0a0: 9f a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 0b0: af b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 0c0: bf c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 0d0: cf d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 0e0: df e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 0f0: ef f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] load_lut: finish
>>>>>>>>>> [canon_dr] calibrate_AFE: start
>>>>>>>>>> [canon_dr] calibrate_AFE: not required
>>>>>>>>>> [canon_dr] calibrate_fine: start
>>>>>>>>>> [canon_dr] calibrate_fine: not required
>>>>>>>>>> [canon_dr] calibrate_fine_buffer: start
>>>>>>>>>> [canon_dr] calibrate_fine_buffer: not required
>>>>>>>>>> [canon_dr] send_panel: start
>>>>>>>>>> [canon_dr] send_panel: unsupported, finishing
>>>>>>>>>> [canon_dr] update_params: start
>>>>>>>>>> [canon_dr] update_params: user params: w:850 h:1100 m:2 f:0 b:8
>>>>>>>>>> [canon_dr] update_params: user params: B:850 vB:850 vw:850
>>>>>>>>>> [canon_dr] update_params: user params: x b:10200 t:0 d:100 y b:13200 t:0
>>>>>>>>>> d:100
>>>>>>>>>> [canon_dr] update_params: scan params: w:850 h:1100 m:2 f:0 b:8
>>>>>>>>>> [canon_dr] update_params: scan params: B:850 vB:850 vw:850
>>>>>>>>>> [canon_dr] update_params: scan params: x b:10200 t:0 d:100 y b:13200 t:0
>>>>>>>>>> d:100
>>>>>>>>>> [canon_dr] update_params: i params: w:850 h:1100 m:2 f:0 b:8
>>>>>>>>>> [canon_dr] update_params: i params: B:850 vB:850 vw:850
>>>>>>>>>> [canon_dr] update_params: i params: x b:10200 t:0 d:100 y b:13200 t:0 d:100
>>>>>>>>>> [canon_dr] update_params: finish
>>>>>>>>>> [canon_dr] set_window: start
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 30000
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 24 00 00 00
>>>>>>>>>> ............$...
>>>>>>>>>> [canon_dr] 010: 00 00 00 00 34 00 00 00
>>>>>>>>>> ....4...
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] out: writing 64 bytes, timeout 30000
>>>>>>>>>> [canon_dr] out: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 3c 00 02 b0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ...<............
>>>>>>>>>> [canon_dr] 010: 00 00 00 2c 00 00 00 64 00 64 00 00 03 b4 00 00
>>>>>>>>>> ...,...d.d......
>>>>>>>>>> [canon_dr] 020: 00 00 00 00 27 d8 00 00 33 90 80 5a 80 02 08 00
>>>>>>>>>> ....'...3..Z....
>>>>>>>>>> [canon_dr] 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] out: wrote 64 bytes, retVal 0
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 30000
>>>>>>>>>> [canon_dr] stat: read 0 bytes, retval 5
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr]
>>>>>>>>>> [canon_dr] stat: clearing error 'End of file reached'
>>>>>>>>>> [canon_dr] do_usb_clear: start
>>>>>>>>>> [canon_dr] do_usb_clear: clear halt
>>>>>>>>>> [canon_dr] rs sub call >>
>>>>>>>>>> [canon_dr] do_usb_cmd: start
>>>>>>>>>> [canon_dr] cmd: writing 24 bytes, timeout 30000
>>>>>>>>>> [canon_dr] cmd: >>
>>>>>>>>>> [canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 03 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 0e 00 00 00 00 00 00 00
>>>>>>>>>> ........
>>>>>>>>>> [canon_dr] cmd: wrote 24 bytes, retVal 0
>>>>>>>>>> [canon_dr] in: reading 26 bytes, timeout 30000
>>>>>>>>>> [canon_dr] in: read 26 bytes, retval 0
>>>>>>>>>> [canon_dr] in: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 16 00 02 b0 00 00 00 00 00 f0 00 05 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] 010: 00 00 00 06 00 00 00 00 26 00
>>>>>>>>>> ........&.
>>>>>>>>>> [canon_dr] stat: reading 16 bytes, timeout 30000
>>>>>>>>>> [canon_dr] stat: read 16 bytes, retval 0
>>>>>>>>>> [canon_dr] stat: <<
>>>>>>>>>> [canon_dr] 000: 00 00 00 0c 00 03 a0 00 00 00 00 00 00 00 00 00
>>>>>>>>>> ................
>>>>>>>>>> [canon_dr] do_usb_cmd: finish
>>>>>>>>>> [canon_dr] rs sub call <<
>>>>>>>>>> [canon_dr] sense_handler: start
>>>>>>>>>> [canon_dr] Sense=0x5, ASC=0x26, ASCQ=00, EOM=0, ILI=0, info=00000000
>>>>>>>>>> [canon_dr] Illegal request: invalid field in parm list
>>>>>>>>>> [canon_dr] do_usb_clear: finish after RS
>>>>>>>>>> [canon_dr] stat: bad RS status, 4
>>>>>>>>>> [canon_dr] set_window: finish
>>>>>>>>>> [canon_dr] sane_start: ERROR: cannot set window
>>>>>>>>>> [canon_dr] sane_start: error 4
>>>>>>>>>> scanimage: sane_start: Invalid argument
>>>>>>>>>> [canon_dr] sane_cancel: start
>>>>>>>>>> [canon_dr] check_for_cancel: start
>>>>>>>>>> [canon_dr] check_for_cancel: already cancelled
>>>>>>>>>> [canon_dr] check_for_cancel: finish 2
>>>>>>>>>> [canon_dr] sane_cancel: finish
>>>>>>>>>> [canon_dr] sane_close: start
>>>>>>>>>> [canon_dr] disconnect_fd: start
>>>>>>>>>> [canon_dr] disconnecting usb device
>>>>>>>>>> [canon_dr] disconnect_fd: finish
>>>>>>>>>> [canon_dr] image_buffers: start
>>>>>>>>>> [canon_dr] image_buffers: finish
>>>>>>>>>> [canon_dr] offset_buffers: start
>>>>>>>>>> [canon_dr] offset_buffers: finish
>>>>>>>>>> [canon_dr] gain_buffers: start
>>>>>>>>>> [canon_dr] gain_buffers: finish
>>>>>>>>>> [canon_dr] sane_close: finish
>>>>>>>>>> [canon_dr] sane_exit: start
>>>>>>>>>> [canon_dr] disconnect_fd: start
>>>>>>>>>> [canon_dr] disconnect_fd: finish
>>>>>>>>>> [canon_dr] sane_exit: finish
>>>>>>>>>>
>>>>>>>>>> ------------
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Am 2010-07-19 18:25, schrieb m. allan noah:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Excellent. Now, let's see what fails next. Place a single sheet of
>>>>>>>>>>> paper in it, and run the following, all on one line:
>>>>>>>>>>>
>>>>>>>>>>> SANE_DEBUG_CANON_DR=30 scanimage --mode Gray --resolution 100
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> 3080.pnm 2>3080.log
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>> Then lets look at that log.
>>>>>>>>>>>
>>>>>>>>>>> allan
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jul 19, 2010 at 12:21 PM, Martin Kouba <martin at kouba.at> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> reply:
>>>>>>>>>>>> device `canon_dr:libusb:001:003' is a CANON DR-3080CII scanner
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Am 2010-07-15 20:42, schrieb m. allan noah:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> Ok- looks like we need to make some patches. Can you keep a copy of
>>>>>>>>>>>>> backend/canon_dr.c and backend.canon_dr.h as they are right now? I
>>>>>>>>>>>>> will start feeding you patches against that version. You will need to
>>>>>>>>>>>>> copy those files back into place, and apply patch each time. I have included
>>>>>>>>>>>>> my first try. This wont scan successfully, but it should let me see
>>>>>>>>>>>>> the payloads of all the commands including set_window.
>>>>>>>>>>>>>
>>>>>>>>>>>>> allan
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>
>>>
>>
>
>
More information about the sane-devel
mailing list