[sane-devel] Problems with scsi filmscanner canon2700

Thomas Loescher mailgrab@gmx.de
Mon, 20 Sep 2004 23:14:24 +0200


Hi,
> 
> Try if it still works with the older kernel.
> 
today I tried it with the 2.4.22/2.4.24 and it still doesn't work :-(
I also tried sane-backend 1.0.13 with both kernels, also no success

It's unbelievable. I don't know why it doesn't work.
O.K. it worked with 2.4.22 on my Gentoo box. Now, the scanner is connected to my server, running with suse 8.0. But the kernel was the same (2.4.22) when it worked on gentoo and during my tests today.

It's very funny, because preview scan works with xsane remote access from my desktop. Don't know how to make preview scanning with scanimage (no xsever stuff is installed on my server).  It fails only when I try to do a "real" scan.

I would be very happy I somebody could take a deeper look into this problem.
I will give any help I can (without c-coding, this would end into a catastrophe with my c-knowledge ;-))

If it helps (I hope so), I made a debug output with SANE_DEBUG_CANON=128
(there seems to be a problem with the focus stuff?)

best regards

Thomas Loescher

here comes the debug output (made with kernel 2.4.22):
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.14
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'
[dll] add_backend: adding backend `agfafocus'
[dll] add_backend: adding backend `apple'
[dll] add_backend: adding backend `avision'
[dll] add_backend: adding backend `artec'
[dll] add_backend: adding backend `artec_eplus48u'
[dll] add_backend: adding backend `as6e'
[dll] add_backend: adding backend `bh'
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `coolscan'
[dll] add_backend: adding backend `coolscan2'
[dll] add_backend: adding backend `dmc'
[dll] add_backend: adding backend `epson'
[dll] add_backend: adding backend `fujitsu'
[dll] add_backend: adding backend `gt68xx'
[dll] add_backend: adding backend `hp'
[dll] add_backend: adding backend `hpsj5s'
[dll] add_backend: adding backend `hp5400'
[dll] add_backend: adding backend `ibm'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `ma1509'
[dll] add_backend: adding backend `matsushita'
[dll] add_backend: adding backend `microtek'
[dll] add_backend: adding backend `microtek2'
[dll] add_backend: adding backend `mustek'
[dll] add_backend: adding backend `mustek_usb'
[dll] add_backend: adding backend `nec'
[dll] add_backend: adding backend `pie'
[dll] add_backend: adding backend `pint'
[dll] add_backend: adding backend `plustek'
[dll] add_backend: adding backend `qcam'
[dll] add_backend: adding backend `ricoh'
[dll] add_backend: adding backend `s9036'
[dll] add_backend: adding backend `sceptre'
[dll] add_backend: adding backend `sharp'
[dll] add_backend: adding backend `sm3600'
[dll] add_backend: adding backend `snapscan'
[dll] add_backend: adding backend `sp15c'
[dll] add_backend: adding backend `tamarack'
[dll] add_backend: adding backend `teco1'
[dll] add_backend: adding backend `teco2'
[dll] add_backend: adding backend `teco3'
[dll] add_backend: adding backend `u12'
[dll] add_backend: adding backend `umax'
[dll] add_backend: adding backend `umax1220u'
[dll] add_backend: adding backend `v4l'
[dll] sane_open: trying to open `canon:/dev/scanner'
[dll] load: searching backend `canon' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-canon.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-canon.so.1'
[dll] init: initializing backend `canon'
[sanei_debug] Setting debug level of canon to 128.
[canon] >> sane_init
[canon] sane_init: sane-backends 1.0.14
[canon] >> attach_one
[canon] >> attach
[canon] attach: opening /dev/scanner
[canon] attach: sending (standard) INQUIRY
[canon] >> inquiry
[canon] << inquiry
[canon] attach: sending TEST_UNIT_READY
[canon] >> test_unit_ready
[canon] << test_unit_ready
[canon] attach: sending RESERVE UNIT
[canon] >> reserve_unit
[canon] << reserve_unit
[canon] attach: sending GET SCAN MODE for scan control conditions
[canon] get scan mode: cmd[4]='0x14'
[canon] << get scan mode
[canon] scan mode byte[0] = 19
[canon] scan mode byte[1] = 0
[canon] scan mode byte[2] = 0
[canon] scan mode byte[3] = 0
[canon] scan mode byte[4] = 32
[canon] scan mode byte[5] = 14
[canon] scan mode byte[6] = 0
[canon] scan mode byte[7] = 0
[canon] scan mode byte[8] = 0
[canon] scan mode byte[9] = 0
[canon] scan mode byte[10] = 0
[canon] scan mode byte[11] = 0
[canon] scan mode byte[12] = 0
[canon] scan mode byte[13] = 0
[canon] scan mode byte[14] = 0
[canon] scan mode byte[15] = 0
[canon] scan mode byte[16] = 0
[canon] scan mode byte[17] = 0
[canon] scan mode byte[18] = 0
[canon] scan mode byte[19] = 0
[canon] scan mode byte[20] = 55
[canon] scan mode byte[21] = 48
[canon] scan mode byte[22] = 49
[canon] scan mode byte[23] = 53
[canon] scan mode byte[24] = 67
[canon] scan mode byte[25] = 32
[canon] scan mode byte[26] = 32
[canon] scan mode byte[27] = 32
[canon] scan mode byte[28] = 32
[canon] scan mode byte[29] = 32
[canon] scan mode byte[30] = 32
[canon] scan mode byte[31] = 32
[canon] scan mode byte[32] = 49
[canon] scan mode byte[33] = 46
[canon] scan mode byte[34] = 49
[canon] scan mode byte[35] = 53
[canon] scan mode byte[36] = 0
[canon] scan mode byte[37] = 0
[canon] scan mode byte[38] = 64
[canon] scan mode byte[39] = 1
[canon] scan mode byte[40] = 1
[canon] scan mode byte[41] = 13
[canon] scan mode byte[42] = 10
[canon] scan mode byte[43] = 255
[canon] scan mode byte[44] = 223
[canon] scan mode byte[45] = 32
[canon] scan mode byte[46] = 0
[canon] scan mode byte[47] = 0
[canon] scan mode byte[48] = 0
[canon] scan mode byte[49] = 0
[canon] scan mode byte[50] = 8
[canon] scan mode byte[51] = 193
[canon] scan mode byte[52] = 136
[canon] scan mode byte[53] = 0
[canon] scan mode byte[54] = 0
[canon] scan mode byte[55] = 0
[canon] scan mode byte[56] = 1
[canon] scan mode byte[57] = 0
[canon] scan mode byte[58] = 8
[canon] scan mode byte[59] = 0
[canon] scan mode byte[60] = 14
[canon] scan mode byte[61] = 4
[canon] scan mode byte[62] = 1
[canon] scan mode byte[63] = 0
[canon] scan mode byte[64] = 0
[canon] scan mode byte[65] = 0
[canon] scan mode byte[66] = 0
[canon] scan mode byte[67] = 0
[canon] scan mode byte[68] = 0
[canon] scan mode byte[69] = 2
[canon] scan mode byte[70] = 0
[canon] scan mode byte[71] = 0
[canon] scan mode byte[72] = 0
[canon] scan mode byte[73] = 0
[canon] attach: sending (extended) INQUIRY
[canon] >> inquiry
[canon] << inquiry
[canon] attach: sending MODE SENSE
[canon] >> mode_sense
[canon] << mode_sense
[canon] dev->sane.name = '/dev/scanner'
[canon] dev->sane.vendor = 'CANON'
[canon] dev->sane.model = 'IX-27015C       '
[canon] dev->sane.type = 'film scanner'
[canon] bmu=0
[canon] mud=2720
[canon] xres_default=2720
[canon] xres_range.max=2720
[canon] xres_range.min=120
[canon] xres_range.quant=1
[canon] yres_default=2720
[canon] yres_range.max=2720
[canon] yres_range.min=120
[canon] xres_range.quant=1
[canon] x_range.max=1585667
[canon] y_range.max=2378807
[canon] x_adf_range.max=-1
[canon] y_adf_range.max=-1
[canon] << attach
[canon] << attach_one
[canon] << sane_init
[dll] init: backend `canon' is version 1.0.0
[canon] >> sane_open
[canon] >> init_options
[canon] >> max_string_size
[canon] << max_string_size
[canon] >> max_string_size
[canon] << max_string_size
[canon] >> max_string_size
[canon] << max_string_size
[canon] >> max_string_size
[canon] << max_string_size
[canon] >> max_string_size
[canon] << max_string_size
[canon] hw->info.xres_range.max=2720
[canon] hw->info.yres_range.max=2720
[canon] >> max_string_size
[canon] << max_string_size
[canon] >> max_string_size
[canon] << max_string_size
[canon] << init_options
[canon] << sane_open
[dll] sane_open: open successful
[dll] sane_control_option(handle=0x8060230,option=0,action=0,value=0xbfffe70c,info=(nil))
[canon] >> sane_control_option OPT_NUM_OPTS
[canon] sane_control_option get value of OPT_NUM_OPTS
[canon] value for option OPT_NUM_OPTS: 59
[dll] sane_control_option(handle=0x8060230,option=0,action=0,value=0xbfffe688,info=(nil))
[canon] >> sane_control_option OPT_NUM_OPTS
[canon] sane_control_option get value of OPT_NUM_OPTS
[canon] value for option OPT_NUM_OPTS: 59
[dll] sane_get_option_descriptor(handle=0x8060230,option=0)
[canon] >> sane_get_option_descriptor option number 0
[canon]    sane_get_option_descriptor option name OPT_NUM_OPTS
[canon] << sane_get_option_descriptor option number 0
[dll] sane_get_option_descriptor(handle=0x8060230,option=1)
[canon] >> sane_get_option_descriptor option number 1
[canon]    sane_get_option_descriptor option name OPT_PAGE
[canon] << sane_get_option_descriptor option number 1
[dll] sane_get_option_descriptor(handle=0x8060230,option=2)
[canon] >> sane_get_option_descriptor option number 2
[canon]    sane_get_option_descriptor option name OPT_MODE_GROUP
[canon] << sane_get_option_descriptor option number 2
[dll] sane_get_option_descriptor(handle=0x8060230,option=3)
[canon] >> sane_get_option_descriptor option number 3
[canon]    sane_get_option_descriptor option name OPT_MODE
[canon] << sane_get_option_descriptor option number 3
[dll] sane_get_option_descriptor(handle=0x8060230,option=4)
[canon] >> sane_get_option_descriptor option number 4
[canon]    sane_get_option_descriptor option name OPT_NEGATIVE
[canon] << sane_get_option_descriptor option number 4
[dll] sane_get_option_descriptor(handle=0x8060230,option=5)
[canon] >> sane_get_option_descriptor option number 5
[canon]    sane_get_option_descriptor option name OPT_NEGATIVE_TYPE
[canon] << sane_get_option_descriptor option number 5
[dll] sane_get_option_descriptor(handle=0x8060230,option=6)
[canon] >> sane_get_option_descriptor option number 6
[canon]    sane_get_option_descriptor option name OPT_SCANNING_SPEED
[canon] << sane_get_option_descriptor option number 6
[dll] sane_get_option_descriptor(handle=0x8060230,option=7)
[canon] >> sane_get_option_descriptor option number 7
[canon]    sane_get_option_descriptor option name OPT_RESOLUTION_GROUP
[canon] << sane_get_option_descriptor option number 7
[dll] sane_get_option_descriptor(handle=0x8060230,option=8)
[canon] >> sane_get_option_descriptor option number 8
[canon]    sane_get_option_descriptor option name OPT_RESOLUTION_BIND
[canon] << sane_get_option_descriptor option number 8
[dll] sane_get_option_descriptor(handle=0x8060230,option=9)
[canon] >> sane_get_option_descriptor option number 9
[canon]    sane_get_option_descriptor option name OPT_HW_RESOLUTION_ONLY
[canon] << sane_get_option_descriptor option number 9
[dll] sane_get_option_descriptor(handle=0x8060230,option=10)
[canon] >> sane_get_option_descriptor option number 10
[canon]    sane_get_option_descriptor option name OPT_X_RESOLUTION
[canon] << sane_get_option_descriptor option number 10
[dll] sane_get_option_descriptor(handle=0x8060230,option=11)
[canon] >> sane_get_option_descriptor option number 11
[canon]    sane_get_option_descriptor option name OPT_Y_RESOLUTION
[canon] << sane_get_option_descriptor option number 11
[dll] sane_get_option_descriptor(handle=0x8060230,option=12)
[canon] >> sane_get_option_descriptor option number 12
[canon]    sane_get_option_descriptor option name OPT_ENHANCEMENT_GROUP
[canon] << sane_get_option_descriptor option number 12
[dll] sane_get_option_descriptor(handle=0x8060230,option=13)
[canon] >> sane_get_option_descriptor option number 13
[canon]    sane_get_option_descriptor option name OPT_BRIGHTNESS
[canon] << sane_get_option_descriptor option number 13
[dll] sane_get_option_descriptor(handle=0x8060230,option=14)
[canon] >> sane_get_option_descriptor option number 14
[canon]    sane_get_option_descriptor option name OPT_CONTRAST
[canon] << sane_get_option_descriptor option number 14
[dll] sane_get_option_descriptor(handle=0x8060230,option=15)
[canon] >> sane_get_option_descriptor option number 15
[canon]    sane_get_option_descriptor option name OPT_THRESHOLD
[canon] << sane_get_option_descriptor option number 15
[dll] sane_get_option_descriptor(handle=0x8060230,option=16)
[canon] >> sane_get_option_descriptor option number 16
[canon]    sane_get_option_descriptor option name OPT_MIRROR
[canon] << sane_get_option_descriptor option number 16
[dll] sane_get_option_descriptor(handle=0x8060230,option=17)
[canon] >> sane_get_option_descriptor option number 17
[canon]    sane_get_option_descriptor option name OPT_CUSTOM_GAMMA
[canon] << sane_get_option_descriptor option number 17
[dll] sane_get_option_descriptor(handle=0x8060230,option=18)
[canon] >> sane_get_option_descriptor option number 18
[canon]    sane_get_option_descriptor option name OPT_CUSTOM_GAMMA_BIND
[canon] << sane_get_option_descriptor option number 18
[dll] sane_get_option_descriptor(handle=0x8060230,option=19)
[canon] >> sane_get_option_descriptor option number 19
[canon]    sane_get_option_descriptor option name OPT_GAMMA_VECTOR
[canon] << sane_get_option_descriptor option number 19
[dll] sane_get_option_descriptor(handle=0x8060230,option=20)
[canon] >> sane_get_option_descriptor option number 20
[canon]    sane_get_option_descriptor option name OPT_GAMMA_VECTOR_R
[canon] << sane_get_option_descriptor option number 20
[dll] sane_get_option_descriptor(handle=0x8060230,option=21)
[canon] >> sane_get_option_descriptor option number 21
[canon]    sane_get_option_descriptor option name OPT_GAMMA_VECTOR_G
[canon] << sane_get_option_descriptor option number 21
[dll] sane_get_option_descriptor(handle=0x8060230,option=22)
[canon] >> sane_get_option_descriptor option number 22
[canon]    sane_get_option_descriptor option name OPT_GAMMA_VECTOR_B
[canon] << sane_get_option_descriptor option number 22
[dll] sane_get_option_descriptor(handle=0x8060230,option=23)
[canon] >> sane_get_option_descriptor option number 23
[canon]    sane_get_option_descriptor option name OPT_AE
[canon] << sane_get_option_descriptor option number 23
[dll] sane_get_option_descriptor(handle=0x8060230,option=24)
[canon] >> sane_get_option_descriptor option number 24
[canon]    sane_get_option_descriptor option name OPT_CALIBRATION_GROUP
[canon] << sane_get_option_descriptor option number 24
[dll] sane_get_option_descriptor(handle=0x8060230,option=25)
[canon] >> sane_get_option_descriptor option number 25
[canon]    sane_get_option_descriptor option name OPT_CALIBRATION_NOW
[canon] << sane_get_option_descriptor option number 25
[dll] sane_get_option_descriptor(handle=0x8060230,option=26)
[canon] >> sane_get_option_descriptor option number 26
[canon]    sane_get_option_descriptor option name OPT_SCANNER_SELF_DIAGNOSTIC
[canon] << sane_get_option_descriptor option number 26
[dll] sane_get_option_descriptor(handle=0x8060230,option=27)
[canon] >> sane_get_option_descriptor option number 27
[canon]    sane_get_option_descriptor option name OPT_RESET_SCANNER
[canon] << sane_get_option_descriptor option number 27
[dll] sane_get_option_descriptor(handle=0x8060230,option=28)
[canon] >> sane_get_option_descriptor option number 28
[canon]    sane_get_option_descriptor option name OPT_EJECT_GROUP
[canon] << sane_get_option_descriptor option number 28
[dll] sane_get_option_descriptor(handle=0x8060230,option=29)
[canon] >> sane_get_option_descriptor option number 29
[canon]    sane_get_option_descriptor option name OPT_EJECT_AFTERSCAN
[canon] << sane_get_option_descriptor option number 29
[dll] sane_get_option_descriptor(handle=0x8060230,option=30)
[canon] >> sane_get_option_descriptor option number 30
[canon]    sane_get_option_descriptor option name OPT_EJECT_BEFOREEXIT
[canon] << sane_get_option_descriptor option number 30
[dll] sane_get_option_descriptor(handle=0x8060230,option=31)
[canon] >> sane_get_option_descriptor option number 31
[canon]    sane_get_option_descriptor option name OPT_EJECT_NOW
[canon] << sane_get_option_descriptor option number 31
[dll] sane_get_option_descriptor(handle=0x8060230,option=32)
[canon] >> sane_get_option_descriptor option number 32
[canon]    sane_get_option_descriptor option name OPT_FOCUS_GROUP
[canon] << sane_get_option_descriptor option number 32
[dll] sane_get_option_descriptor(handle=0x8060230,option=33)
[canon] >> sane_get_option_descriptor option number 33
[canon]    sane_get_option_descriptor option name OPT_AF
[canon] << sane_get_option_descriptor option number 33
[dll] sane_get_option_descriptor(handle=0x8060230,option=34)
[canon] >> sane_get_option_descriptor option number 34
[canon]    sane_get_option_descriptor option name OPT_AF_ONCE
[canon] << sane_get_option_descriptor option number 34
[dll] sane_get_option_descriptor(handle=0x8060230,option=35)
[canon] >> sane_get_option_descriptor option number 35
[canon]    sane_get_option_descriptor option name OPT_FOCUS
[canon] << sane_get_option_descriptor option number 35
[dll] sane_get_option_descriptor(handle=0x8060230,option=36)
[canon] >> sane_get_option_descriptor option number 36
[canon]    sane_get_option_descriptor option name OPT_MARGINS_GROUP
[canon] << sane_get_option_descriptor option number 36
[dll] sane_get_option_descriptor(handle=0x8060230,option=37)
[canon] >> sane_get_option_descriptor option number 37
[canon]    sane_get_option_descriptor option name OPT_TL_X
[canon] << sane_get_option_descriptor option number 37
[dll] sane_get_option_descriptor(handle=0x8060230,option=38)
[canon] >> sane_get_option_descriptor option number 38
[canon]    sane_get_option_descriptor option name OPT_TL_Y
[canon] << sane_get_option_descriptor option number 38
[dll] sane_get_option_descriptor(handle=0x8060230,option=39)
[canon] >> sane_get_option_descriptor option number 39
[canon]    sane_get_option_descriptor option name OPT_BR_X
[canon] << sane_get_option_descriptor option number 39
[dll] sane_control_option(handle=0x8060230,option=39,action=0,value=0x80518b8,info=(nil))
[canon] >> sane_control_option OPT_BR_X
[canon] sane_control_option get value of OPT_BR_X
[canon] GET_VALUE for OPT_BR_X: s->val[OPT_BR_X].w = 1585667
[canon] value for option OPT_BR_X: 1585667
[dll] sane_get_option_descriptor(handle=0x8060230,option=40)
[canon] >> sane_get_option_descriptor option number 40
[canon]    sane_get_option_descriptor option name OPT_BR_Y
[canon] << sane_get_option_descriptor option number 40
[dll] sane_control_option(handle=0x8060230,option=40,action=0,value=0x80518bc,info=(nil))
[canon] >> sane_control_option OPT_BR_Y
[canon] sane_control_option get value of OPT_BR_Y
[canon] GET_VALUE for OPT_BR_Y: s->val[OPT_BR_Y].w = 2378807
[canon] value for option OPT_BR_Y: 2378807
[dll] sane_get_option_descriptor(handle=0x8060230,option=41)
[canon] >> sane_get_option_descriptor option number 41
[canon]    sane_get_option_descriptor option name OPT_COLORS_GROUP
[canon] << sane_get_option_descriptor option number 41
[dll] sane_get_option_descriptor(handle=0x8060230,option=42)
[canon] >> sane_get_option_descriptor option number 42
[canon]    sane_get_option_descriptor option name OPT_HNEGATIVE
[canon] << sane_get_option_descriptor option number 42
[dll] sane_get_option_descriptor(handle=0x8060230,option=43)
[canon] >> sane_get_option_descriptor option number 43
[canon]    sane_get_option_descriptor option name OPT_BIND_HILO
[canon] << sane_get_option_descriptor option number 43
[dll] sane_get_option_descriptor(handle=0x8060230,option=44)
[canon] >> sane_get_option_descriptor option number 44
[canon]    sane_get_option_descriptor option name OPT_HILITE_R
[canon] << sane_get_option_descriptor option number 44
[dll] sane_get_option_descriptor(handle=0x8060230,option=45)
[canon] >> sane_get_option_descriptor option number 45
[canon]    sane_get_option_descriptor option name OPT_SHADOW_R
[canon] << sane_get_option_descriptor option number 45
[dll] sane_get_option_descriptor(handle=0x8060230,option=46)
[canon] >> sane_get_option_descriptor option number 46
[canon]    sane_get_option_descriptor option name OPT_HILITE_G
[canon] << sane_get_option_descriptor option number 46
[dll] sane_get_option_descriptor(handle=0x8060230,option=47)
[canon] >> sane_get_option_descriptor option number 47
[canon]    sane_get_option_descriptor option name OPT_SHADOW_G
[canon] << sane_get_option_descriptor option number 47
[dll] sane_get_option_descriptor(handle=0x8060230,option=48)
[canon] >> sane_get_option_descriptor option number 48
[canon]    sane_get_option_descriptor option name OPT_HILITE_B
[canon] << sane_get_option_descriptor option number 48
[dll] sane_get_option_descriptor(handle=0x8060230,option=49)
[canon] >> sane_get_option_descriptor option number 49
[canon]    sane_get_option_descriptor option name OPT_SHADOW_B
[canon] << sane_get_option_descriptor option number 49
[dll] sane_get_option_descriptor(handle=0x8060230,option=50)
[canon] >> sane_get_option_descriptor option number 50
[canon]    sane_get_option_descriptor option name OPT_ADF_GROUP
[canon] << sane_get_option_descriptor option number 50
[dll] sane_get_option_descriptor(handle=0x8060230,option=51)
[canon] >> sane_get_option_descriptor option number 51
[canon]    sane_get_option_descriptor option name OPT_FLATBED_ONLY
[canon] << sane_get_option_descriptor option number 51
[dll] sane_get_option_descriptor(handle=0x8060230,option=52)
[canon] >> sane_get_option_descriptor option number 52
[canon]    sane_get_option_descriptor option name OPT_TPU_GROUP
[canon] << sane_get_option_descriptor option number 52
[dll] sane_get_option_descriptor(handle=0x8060230,option=53)
[canon] >> sane_get_option_descriptor option number 53
[canon]    sane_get_option_descriptor option name OPT_TPU_ON
[canon] << sane_get_option_descriptor option number 53
[dll] sane_get_option_descriptor(handle=0x8060230,option=54)
[canon] >> sane_get_option_descriptor option number 54
[canon]    sane_get_option_descriptor option name OPT_TPU_PN
[canon] << sane_get_option_descriptor option number 54
[dll] sane_get_option_descriptor(handle=0x8060230,option=55)
[canon] >> sane_get_option_descriptor option number 55
[canon]    sane_get_option_descriptor option name OPT_TPU_DCM
[canon] << sane_get_option_descriptor option number 55
[dll] sane_get_option_descriptor(handle=0x8060230,option=56)
[canon] >> sane_get_option_descriptor option number 56
[canon]    sane_get_option_descriptor option name OPT_TPU_TRANSPARENCY
[canon] << sane_get_option_descriptor option number 56
[dll] sane_get_option_descriptor(handle=0x8060230,option=57)
[canon] >> sane_get_option_descriptor option number 57
[canon]    sane_get_option_descriptor option name OPT_TPU_FILMTYPE
[canon] << sane_get_option_descriptor option number 57
[dll] sane_get_option_descriptor(handle=0x8060230,option=58)
[canon] >> sane_get_option_descriptor option number 58
[canon]    sane_get_option_descriptor option name OPT_PREVIEW
[canon] << sane_get_option_descriptor option number 58
[dll] sane_control_option(handle=0x8060230,option=37,action=0,value=0xbfffe684,info=(nil))
[canon] >> sane_control_option OPT_TL_X
[canon] sane_control_option get value of OPT_TL_X
[canon] GET_VALUE for OPT_TL_X: s->val[OPT_TL_X].w = 0
[canon] value for option OPT_TL_X: 0
[dll] sane_control_option(handle=0x8060230,option=38,action=0,value=0xbfffe684,info=(nil))
[canon] >> sane_control_option OPT_TL_Y
[canon] sane_control_option get value of OPT_TL_Y
[canon] GET_VALUE for OPT_TL_Y: s->val[OPT_TL_Y].w = 0
[canon] value for option OPT_TL_Y: 0
[dll] sane_control_option(handle=0x8060230,option=37,action=0,value=0xbfffe708,info=(nil))
[canon] >> sane_control_option OPT_TL_X
[canon] sane_control_option get value of OPT_TL_X
[canon] GET_VALUE for OPT_TL_X: s->val[OPT_TL_X].w = 0
[canon] value for option OPT_TL_X: 0
[dll] sane_get_option_descriptor(handle=0x8060230,option=39)
[canon] >> sane_get_option_descriptor option number 39
[canon]    sane_get_option_descriptor option name OPT_BR_X
[canon] << sane_get_option_descriptor option number 39
[dll] sane_control_option(handle=0x8060230,option=39,action=1,value=0xbfffe704,info=0xbfffe684)
[canon] >> sane_control_option OPT_BR_X
[canon] sane_control_option set value for OPT_BR_X
[canon] SET_VALUE for OPT_BR_X: s->val[OPT_BR_X].w = 1585667
[dll] sane_control_option(handle=0x8060230,option=38,action=0,value=0xbfffe708,info=(nil))
[canon] >> sane_control_option OPT_TL_Y
[canon] sane_control_option get value of OPT_TL_Y
[canon] GET_VALUE for OPT_TL_Y: s->val[OPT_TL_Y].w = 0
[canon] value for option OPT_TL_Y: 0
[dll] sane_get_option_descriptor(handle=0x8060230,option=40)
[canon] >> sane_get_option_descriptor option number 40
[canon]    sane_get_option_descriptor option name OPT_BR_Y
[canon] << sane_get_option_descriptor option number 40
[dll] sane_control_option(handle=0x8060230,option=40,action=1,value=0xbfffe704,info=0xbfffe684)
[canon] >> sane_control_option OPT_BR_Y
[canon] sane_control_option set value for OPT_BR_Y
[canon] SET_VALUE for OPT_BR_Y: s->val[OPT_BR_Y].w = 2378807
[dll] sane_start(handle=0x8060230)
[canon] >> sane_start
[canon] >> sane_get_parameters
[canon] sane_get_parameters: width='2590', xres='340', mud='2720'
[canon] sane_get_parameters: length='3886', yres='340', mud='2720'
[canon] sane_get_parameters: pixels_per_line='323', lines='485'
[canon] sane_get_parameters: xres='0', yres='0', pixels_per_line='323', bytes_per_line='969', lines='485'
[canon] << sane_get_parameters
[canon] do_focus: sending GET FILM STATUS
[canon] >> get film status
[canon] << get film status
[canon] focus point before autofocus : 0
[canon] >> execute_auto_focus
[canon] >> focus: mode='1', speed='1', AE='0', count='0'
[canon] >> sense_handler
[canon] canon_sense_handler(3, 0x401c0060, 0x8052e70)
[canon] sense buffer: f0 00 45 00 00 00 00 06 00 00 00 00 24 00 00 00
[canon] sense data interpretation for SCSI-2 devices
[canon] sense category: illegal request
[canon] sense message: invalid field in CDB
[canon] << sense_handler
[canon] << execute_auto_focus
[canon] execute_auto_focus failed
[canon] do_focus: ... for unknown reasons
scanimage: sane_start: Invalid argument
[dll] sane_cancel(handle=0x8060230)
[canon] >> sane_cancel
[canon] << sane_cancel
[dll] sane_close(handle=0x8060230)
[canon] >> sane_close
[canon] >> medium_position
[canon] << medium_position
[canon] sane_close AF_NOW = '1'
[canon] >> sane_close
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `canon's exit function
[canon] >> sane_exit
[canon] << sane_exit
[dll] sane_exit: finished