[sane-devel] re: Minolta Dimage Scan Dual II

Dietmar Segbert didi.segbert at arcor.de
Mon May 22 18:11:00 UTC 2006


Hello Rene,
hello list,

thanks for your answers.
At first i have deleted the hpusbsci in /lib/modules/2.4.31/kernel/....
I have donwloaded the avision.c and avision.h of the svn repository of the  
avision-backend-page.
I compiled sane by ./configure make make install.
I set the rights of the scanner to rwrwrw (666).
scanimage -L finds the scanner.
i set the SANE_DEBUG-AVISION=7 and then i do the following command:

scanimage -d avision --source adf --resolution 2820 --frame 1 >out%d.pnm  
2>error.log

Here is the logfile:

[sanei_debug] Setting debug level of avision to 7.
[avision] sane_init:(Version: 1.0 Build: 200)
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 1: ignoring empty line
[avision] sane_init: parsing config line "# This are the possible options. Normally any scanner"
[avision] sane_init: config file line 2: ignoring comment line
[avision] sane_init: parsing config line "# should work just fine without them - and they are only"
[avision] sane_init: config file line 3: ignoring comment line
[avision] sane_init: parsing config line "# needed for test and debugging. So if you experience problems"
[avision] sane_init: config file line 4: ignoring comment line
[avision] sane_init: parsing config line "# and you solve them with enabling options here, please notify"
[avision] sane_init: config file line 5: ignoring comment line
[avision] sane_init: parsing config line "# the SANE/Avision maintainer: Rene Rebe <rene at exactcode.de>"
[avision] sane_init: config file line 6: ignoring comment line
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 7: ignoring empty line
[avision] sane_init: parsing config line "#option disable-gamma-table"
[avision] sane_init: config file line 8: ignoring comment line
[avision] sane_init: parsing config line "#option disable-calibration"
[avision] sane_init: config file line 9: ignoring comment line
[avision] sane_init: parsing config line "#option force-a4"
[avision] sane_init: config file line 10: ignoring comment line
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 11: ignoring empty line
[avision] sane_init: parsing config line "scsi AVISION"
[avision] sane_init: config file line 12: trying to attach SCSI: scsi AVISION'
[avision] sane_init: parsing config line "#scsi FCPA"
[avision] sane_init: config file line 13: ignoring comment line
[avision] sane_init: parsing config line "scsi MINOLTA"
[avision] sane_init: config file line 14: trying to attach SCSI: scsi MINOLTA'
[avision] sane_init: parsing config line "#scsi MITSBISH MCA-S600C"
[avision] sane_init: config file line 15: ignoring comment line
[avision] sane_init: parsing config line "#scsi MITSBISH MCA-SS600"
[avision] sane_init: config file line 16: ignoring comment line
[avision] sane_init: parsing config line "#scsi HP"
[avision] sane_init: config file line 17: ignoring comment line
[avision] sane_init: parsing config line "#scsi hp"
[avision] sane_init: config file line 18: ignoring comment line
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 19: ignoring empty line
[avision] sane_init: parsing config line "#scsi /dev/sg5"
[avision] sane_init: config file line 20: ignoring comment line
[avision] sane_init: parsing config line "# usb libusb:002:003"
[avision] sane_init: config file line 21: ignoring comment line
[avision] sane_init: parsing config line "# usb 0x03f0 0x0701"
[avision] sane_init: config file line 22: ignoring comment line
[avision] sane_init: parsing config line "usb 0x0638 0x026a"
[avision] sane_init: config file line 23: trying to attach USB:`usb 0x0638 0x026a'
[avision] attach:
[avision] attach: opening libusb:004:002
[avision] inquiry: 96
[avision] attach: sending INQUIRY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 1500, status: 1500
[avision] avision_usb_status: timeout 1500, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 0, status: 0
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 0
[avision] attach: Inquiry gives mfg=MINOLTA, model=FS-V1, product revision=1.26.
[avision] attach: Found model: 55
[avision] inquiry: 96
[avision] attach: sending INQUIRY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 1500, status: 1500
[avision] avision_usb_status: timeout 1500, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 0, status: 0
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 0
[avision] attach: raw data:
[avision]   [0] 00000110b   6o   6d  6x
[avision]   [1] 10000000b 200o 128d 80x
[avision]   [2] 00000010b   2o   2d  2x
[avision]   [3] 01000010b 102o  66d 42x
[avision]   [4] 01011011b 133o  91d 5bx
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00000000b   0o   0d  0x
[avision]   [8] 01001101b 115o  77d 4dx
[avision]   [9] 01001001b 111o  73d 49x
[avision]   [10] 01001110b 116o  78d 4ex
[avision]   [11] 01001111b 117o  79d 4fx
[avision]   [12] 01001100b 114o  76d 4cx
[avision]   [13] 01010100b 124o  84d 54x
[avision]   [14] 01000001b 101o  65d 41x
[avision]   [15] 00100000b  40o  32d 20x
[avision]   [16] 01000110b 106o  70d 46x
[avision]   [17] 01010011b 123o  83d 53x
[avision]   [18] 00101101b  55o  45d 2dx
[avision]   [19] 01010110b 126o  86d 56x
[avision]   [20] 00110001b  61o  49d 31x
[avision]   [21] 00100000b  40o  32d 20x
[avision]   [22] 00100000b  40o  32d 20x
[avision]   [23] 00100000b  40o  32d 20x
[avision]   [24] 00100000b  40o  32d 20x
[avision]   [25] 00100000b  40o  32d 20x
[avision]   [26] 00100000b  40o  32d 20x
[avision]   [27] 00100000b  40o  32d 20x
[avision]   [28] 00100000b  40o  32d 20x
[avision]   [29] 00100000b  40o  32d 20x
[avision]   [30] 00100000b  40o  32d 20x
[avision]   [31] 00100000b  40o  32d 20x
[avision]   [32] 00110001b  61o  49d 31x
[avision]   [33] 00101110b  56o  46d 2ex
[avision]   [34] 00110010b  62o  50d 32x
[avision]   [35] 00110110b  66o  54d 36x
[avision]   [36] 10100000b 240o 160d a0x
[avision]   [37] 00000011b   3o   3d  3x
[avision]   [38] 00000110b   6o   6d  6x
[avision]   [39] 11100111b 347o 231d e7x
[avision]   [40] 00001011b  13o  11d  bx
[avision]   [41] 00000100b   4o   4d  4x
[avision]   [42] 00001011b  13o  11d  bx
[avision]   [43] 00000100b   4o   4d  4x
[avision]   [44] 00001011b  13o  11d  bx
[avision]   [45] 00000100b   4o   4d  4x
[avision]   [46] 00001011b  13o  11d  bx
[avision]   [47] 00000100b   4o   4d  4x
[avision]   [48] 00000000b   0o   0d  0x
[avision]   [49] 00000000b   0o   0d  0x
[avision]   [50] 11011001b 331o 217d d9x
[avision]   [51] 10010100b 224o 148d 94x
[avision]   [52] 11111010b 372o 250d fax
[avision]   [53] 00001000b  10o   8d  8x
[avision]   [54] 00000100b   4o   4d  4x
[avision]   [55] 00000100b   4o   4d  4x
[avision]   [56] 00000010b   2o   2d  2x
[avision]   [57] 00001000b  10o   8d  8x
[avision]   [58] 00001000b  10o   8d  8x
[avision]   [59] 00001000b  10o   8d  8x
[avision]   [60] 11000000b 300o 192d c0x
[avision]   [61] 11010000b 320o 208d d0x
[avision]   [62] 10101000b 250o 168d a8x
[avision]   [63] 00000101b   5o   5d  5x
[avision]   [64] 00000001b   1o   1d  1x
[avision]   [65] 00000001b   1o   1d  1x
[avision]   [66] 00000010b   2o   2d  2x
[avision]   [67] 00000011b   3o   3d  3x
[avision]   [68] 00000100b   4o   4d  4x
[avision]   [69] 00000101b   5o   5d  5x
[avision]   [70] 00000000b   0o   0d  0x
[avision]   [71] 00000000b   0o   0d  0x
[avision]   [72] 00000000b   0o   0d  0x
[avision]   [73] 00000000b   0o   0d  0x
[avision]   [74] 00000000b   0o   0d  0x
[avision]   [75] 00001111b  17o  15d  fx
[avision]   [76] 11111111b 377o 255d ffx
[avision]   [77] 00000000b   0o   0d  0x
[avision]   [78] 00000000b   0o   0d  0x
[avision]   [79] 00000000b   0o   0d  0x
[avision]   [80] 00000000b   0o   0d  0x
[avision]   [81] 00001010b  12o  10d  ax
[avision]   [82] 10000000b 200o 128d 80x
[avision]   [83] 00001111b  17o  15d  fx
[avision]   [84] 11000000b 300o 192d c0x
[avision]   [85] 00001010b  12o  10d  ax
[avision]   [86] 10000000b 200o 128d 80x
[avision]   [87] 00001111b  17o  15d  fx
[avision]   [88] 11000000b 300o 192d c0x
[avision]   [89] 00001011b  13o  11d  bx
[avision]   [90] 00000100b   4o   4d  4x
[avision]   [91] 00000011b   3o   3d  3x
[avision]   [92] 00000000b   0o   0d  0x
[avision]   [93] 00100000b  40o  32d 20x
[avision]   [94] 00000000b   0o   0d  0x
[avision]   [95] 00000000b   0o   0d  0x
[avision] attach: [8-15]  Vendor id.:      "MINOLTA "
[avision] attach: [16-31] Product id.:     "FS-V1           "
[avision] attach: [32-35] Product rev.:    "1.26"
[avision] attach: [36]    Bitfield: ADF 3-pass color RGB color plane
[avision] attach: [37]    Optical res.:    300 dpi
[avision] attach: [38]    Maximum res.:    600 dpi
[avision] attach: [39]    Bitfield1: TRANS Q_SCAN EXTENDED_RES NEW_PROTOCOL AVISION
[avision] attach: [40-41] X res. in gray:  2820 dpi
[avision] attach: [42-43] Y res. in gray:  2820 dpi
[avision] attach: [44-45] X res. in color: 2820 dpi
[avision] attach: [46-47] Y res. in color: 2820 dpi
[avision] attach: [48-49] USB max read:    0
[avision] attach: [50]    ESA1: LIGHT_CONTROL BUTTON_CONTROL SW_CALIB NEED_SW_GAMMA XYRES_DIFFERENT
[avision] attach: [51]    ESA2: EXPOSURE_CTRL SUPPORTS_QUALITY_SPEED_CAL HAS_PUSH_BUTTON
[avision] attach: [52]    ESA3: GRAY_WHITE SUPPORTS_GAIN_CONTROL SUPPORTS_TET 3x3COL_TABLE 1x3FILTER POWER_SAVING_TIMER
[avision] attach: [53]    line difference (software color pack): 8
[avision] attach: [54]    color mode pixel boundary: 4
[avision] attach: [55]    gray mode pixel boundary: 4
[avision] attach: [56]    4bit gray mode pixel boundary: 2
[avision] attach: [57]    lineart mode pixel boundary: 8
[avision] attach: [58]    halftone mode pixel boundary: 8
[avision] attach: [59]    error-diffusion mode pixel boundary: 8
[avision] attach: [60]    channels per pixel: 1 3
[avision] attach: [61]    bits per channel: 1 4 8
[avision] attach: [62]    scanner type: Flatbed Flatbed (ADF) Film scanner
[avision] attach: [75-76] Max shading target : fff
[avision] attach: [77-78] Max X of transparency: 0 dots * base_dpi
[avision] attach: [79-80] Max Y of transparency: 0 dots * base_dpi
[avision] attach: [81-82] Max X of flatbed:      2688 dots * base_dpi
[avision] attach: [83-84] Max Y of flatbed:      4032 dots * base_dpi
[avision] attach: [85-86] Max X of ADF:          2688 dots * base_dpi
[avision] attach: [87-88] Max Y of ADF:          4032 dots * base_dpi
[avision] attach: [89-90] Res. in Ex. mode:      2820 dpi
[avision] attach: [91]    ASIC:     3
[avision] attach: [92]    Buttons:  0
[avision] attach: [93]    ESA4: NO_SINGLE_CHANNEL_GRAY_MODE
[avision] attach: [94]    ESA5:
[avision] attach: [95]    ESA6:
[avision] attach: optical resolution set to: 2820 dpi
[avision] attach: max resolution set to: 2820 dpi
[avision] attach: max channels per pixel: 3, max bits per channel: 8
[avision] attach: x/y-range for mode 0 is valid!
[avision] attach: Mode 0 range is now: 24.311064 x 36.316596 mm.
[avision] attach: x/y-range for mode 1 is invalid! Using a default.
[avision] attach: Mode 1 range is now: 215.900000 x 299.720000 mm.
[avision] attach: x/y-range for mode 2 is valid!
[avision] attach: Mode 2 range is now: 24.311064 x 36.316596 mm.
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 24: ignoring empty line
[avision] sane_init: Trying to find USB device 638 a27 ...
[avision] sane_init: Trying to find USB device 638 a3c ...
[avision] sane_init: Trying to find USB device 638 a33 ...
[avision] sane_init: Trying to find USB device 638 a24 ...
[avision] sane_init: Trying to find USB device 638 a25 ...
[avision] sane_init: Trying to find USB device 638 a3a ...
[avision] sane_init: Trying to find USB device 638 a23 ...
[avision] sane_init: Trying to find USB device 638 a2a ...
[avision] sane_init: Trying to find USB device 638 a2a ...
[avision] sane_init: Trying to find USB device 638 a19 ...
[avision] sane_init: Trying to find USB device 638 a41 ...
[avision] sane_init: Trying to find USB device 638 a16 ...
[avision] sane_init: Trying to find USB device 638 a13 ...
[avision] sane_init: Trying to find USB device 638 a18 ...
[avision] sane_init: Trying to find USB device 638 a66 ...
[avision] sane_init: Trying to find USB device 638 a40 ...
[avision] sane_init: Trying to find USB device 638 a68 ...
[avision] sane_init: Trying to find USB device 638 a61 ...
[avision] sane_init: Trying to find USB device 638 a45 ...
[avision] sane_init: Trying to find USB device 3f0 701 ...
[avision] sane_init: Trying to find USB device 3f0 701 ...
[avision] sane_init: Trying to find USB device 3f0 801 ...
[avision] sane_init: Trying to find USB device 3f0 b01 ...
[avision] sane_init: Trying to find USB device 638 26a ...
[avision] attach:
[avision] sane_init: Trying to find USB device 686 4004 ...
[avision] sane_init: Trying to find USB device 686 400d ...
[avision] sane_init: Trying to find USB device 686 400e ...
[avision] sane_init: Trying to find USB device 638 a15 ...
[avision] sane_init: Trying to find USB device 638 a16 ...
[avision] sane_init: Trying to find USB device 4c5 1029 ...
[avision] sane_init: Trying to find USB device 40a 6001 ...
[avision] sane_init: Trying to find USB device 40a 6002 ...
[avision] sane_init: Trying to find USB device 40a 6003 ...
[avision] sane_init: Trying to find USB device 40a 6004 ...
[avision] sane_init: Trying to find USB device 40a 6005 ...
[avision] sane_init: Trying to find USB device 638 268 ...
[avision] sane_init: Trying to find USB device 4a7 449 ...
[avision] sane_init: Trying to find USB device 4a7 44c ...
[avision] sane_init: Trying to find USB device 4a7 475 ...
[avision] sane_open:
[avision] sane_open: using open_extended
[avision] sane_open: got 1048576 scsi_max_request_size
[avision] inquiry: 96
[avision] attach: sending INQUIRY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 1500, status: 1500
[avision] avision_usb_status: timeout 1500, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 0, status: 0
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 0
[avision] wait_ready: sending TEST_UNIT_READY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 1500, status: 1500
[avision] avision_usb_status: timeout 1500, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 0, status: 0
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 0
[avision] get_frame_info:
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 0
[avision] get_frame_info: raw data
[avision]   [0] 11111111b 377o 255d ffx
[avision]   [1] 10000000b 200o 128d 80x
[avision]   [2] 00000010b   2o   2d  2x
[avision]   [3] 01000010b 102o  66d 42x
[avision]   [4] 01011011b 133o  91d 5bx
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00000000b   0o   0d  0x
[avision] get_frame_info: [0]  Holder type: Empty
[avision] get_frame_info: [1]  Current frame number: 128
[avision] get_frame_info: [2]  Frame ammount: 2
[avision] get_frame_info: [3]  Mode: Not APS
[avision] get_frame_info: [3]  Exposures (if APS): Unknown
[avision] get_frame_info: [3]  Film Type (if APS): B&W Negative
[avision] add_color_mode: 0 Lineart
[avision] add_color_mode: 1 Dithered
[avision] add_color_mode: 2 Gray
[avision] add_color_mode: 5 Color
[avision] init_options:
[avision] init_options: dpi_range.min set to 100
[avision] max_string_size:
[avision] match_color_mode:
[avision] match_color_mode: found at 3 mode: 5
[avision] max_string_size:
[avision] match_source_mode: "Normal"
[avision] match_source_mode: found at 0 mode: 0
[avision] match_source_mode_dim: 0
[avision] sane_control_option: option=0, action=0
[avision] sane_control_option: option=0, action=0
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=10, action=0
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=11, action=0
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=8, action=0
[avision] sane_control_option: option=9, action=0
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=6, action=1
[avision] constrain_value:
[avision] match_source_mode: "ADF"
[avision] match_source_mode: found at 1 mode: 2
[avision] match_source_mode_dim: 2
[avision] sane_control_option: option=0, action=0
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=10, action=0
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=11, action=0
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=8, action=0
[avision] sane_control_option: option=9, action=0
[avision] sane_get_option_descriptor:
[avision] sane_get_option_descriptor:
[avision] sane_control_option: option=3, action=1
[avision] constrain_value:
[avision] sane_get_option_descriptor:
scanimage: attempted to set inactive option frame
[avision] sane_close:
[avision] sane_exit:


But the scanner did nothing.

Thanks for your help.

Dietmar



More information about the sane-devel mailing list