[sane-devel] Minolta Dimage Scan Dual SCSI problems (repeat)

Morten Hulden morten at untamo.net
Mon Dec 12 18:37:39 UTC 2005


(repeating with error log inlined)

Hi,

tested latest sane-backend (sane-backends-2005-12-10.tar.gz) on Minolta Dimage 
Scan Dual I (SCSI) film scanner but was unable to get an image.

The scanner is connected to a AHA154x card on Linux FC4. A UMAX S-6E flatbed 
scanner on the same bus works just fine.

dmesg:
scsi0 : Adaptec 1542
   Vendor: Minolta   Model: #2882             Rev: 1.10
   Type:   Scanner                            ANSI SCSI revision: 02

sane-find-scanner:
found SCSI scanner "Minolta #2882 1.10" at /dev/sg0

scanimage --list-devices
device `avision:/dev/sg0' is a Minolta Dimage Scan Dual I film scanner

(I changed AV_FORCE_FILM to AV_FILMSCANNER in avision.c, otherwise the above 
would be "Minolta Dimage Scan Dual I flatbed scanner"), but that did not change 
the output of scanimage - it still does not produce an image.

Any ideas? Is this scanner really supported? If not, how can I help?

With SANE_DEBUG_AVISION=7
scanimage gives:

[sanei_debug] Setting debug level of avision to 7.
[avision] sane_init:(Version: 1.0 Build: 182)
[avision] sane_init: parsing config line "scsi "Minolta" "#2882" Scanner 0 00 03 00"
[avision] sane_init: config file line 18: trying to attach SCSI: scsi "Minolta" "#2882" Scanner 0 00 03 00'
[avision] attach:
[avision] attach: opening /dev/sg0
[avision] attach: sending standard INQUIRY
[avision] attach: Inquiry gives mfg=Minolta, model=#2882, product revision=1.10.
[avision] attach: Found model: 51
[avision] attach: sending Avision INQUIRY
[avision] attach: raw data:
[avision]   [0] 00000110b   6o   6d  6x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000010b   2o   2d  2x
[avision]   [3] 00000010b   2o   2d  2x
[avision]   [4] 00011111b  37o  31d 1fx
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00000001b   1o   1d  1x
[avision]   [8] 01001101b 115o  77d 4dx
[avision]   [9] 01101001b 151o 105d 69x
[avision]   [10] 01101110b 156o 110d 6ex
[avision]   [11] 01101111b 157o 111d 6fx
[avision]   [12] 01101100b 154o 108d 6cx
[avision]   [13] 01110100b 164o 116d 74x
[avision]   [14] 01100001b 141o  97d 61x
[avision]   [15] 00100000b  40o  32d 20x
[avision]   [16] 00100011b  43o  35d 23x
[avision]   [17] 00110010b  62o  50d 32x
[avision]   [18] 00111000b  70o  56d 38x
[avision]   [19] 00111000b  70o  56d 38x
[avision]   [20] 00110010b  62o  50d 32x
[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] 00110001b  61o  49d 31x
[avision]   [35] 00110000b  60o  48d 30x
[avision]   [36] 01000010b 102o  66d 42x
[avision]   [37] 01000011b 103o  67d 43x
[avision]   [38] 01000111b 107o  71d 47x
[avision]   [39] 01101101b 155o 109d 6dx
[avision]   [40] 01000010b 102o  66d 42x
[avision]   [41] 01000011b 103o  67d 43x
[avision]   [42] 01000110b 106o  70d 46x
[avision]   [43] 11101000b 350o 232d e8x
[avision]   [44] 01000010b 102o  66d 42x
[avision]   [45] 01000011b 103o  67d 43x
[avision]   [46] 01000110b 106o  70d 46x
[avision]   [47] 11101000b 350o 232d e8x
[avision]   [48] 01000010b 102o  66d 42x
[avision]   [49] 01000011b 103o  67d 43x
[avision]   [50] 01000111b 107o  71d 47x
[avision]   [51] 00000001b   1o   1d  1x
[avision]   [52] 01000010b 102o  66d 42x
[avision]   [53] 01000011b 103o  67d 43x
[avision]   [54] 01000111b 107o  71d 47x
[avision]   [55] 00000001b   1o   1d  1x
[avision]   [56] 01000010b 102o  66d 42x
[avision]   [57] 01000011b 103o  67d 43x
[avision]   [58] 01000111b 107o  71d 47x
[avision]   [59] 00000001b   1o   1d  1x
[avision]   [60] 01000010b 102o  66d 42x
[avision]   [61] 01000011b 103o  67d 43x
[avision]   [62] 01000110b 106o  70d 46x
[avision]   [63] 11111111b 377o 255d ffx
[avision]   [64] 01000010b 102o  66d 42x
[avision]   [65] 01000011b 103o  67d 43x
[avision]   [66] 01000111b 107o  71d 47x
[avision]   [67] 00000001b   1o   1d  1x
[avision]   [68] 01000010b 102o  66d 42x
[avision]   [69] 01000011b 103o  67d 43x
[avision]   [70] 01000111b 107o  71d 47x
[avision]   [71] 00000001b   1o   1d  1x
[avision]   [72] 01000010b 102o  66d 42x
[avision]   [73] 01000011b 103o  67d 43x
[avision]   [74] 01000111b 107o  71d 47x
[avision]   [75] 00000001b   1o   1d  1x
[avision]   [76] 01000010b 102o  66d 42x
[avision]   [77] 01000011b 103o  67d 43x
[avision]   [78] 01000110b 106o  70d 46x
[avision]   [79] 11111111b 377o 255d ffx
[avision]   [80] 01000010b 102o  66d 42x
[avision]   [81] 01000011b 103o  67d 43x
[avision]   [82] 01000110b 106o  70d 46x
[avision]   [83] 11111111b 377o 255d ffx
[avision]   [84] 01000010b 102o  66d 42x
[avision]   [85] 01000011b 103o  67d 43x
[avision]   [86] 01000111b 107o  71d 47x
[avision]   [87] 00000001b   1o   1d  1x
[avision]   [88] 01000010b 102o  66d 42x
[avision]   [89] 01000011b 103o  67d 43x
[avision]   [90] 01000111b 107o  71d 47x
[avision]   [91] 00000001b   1o   1d  1x
[avision]   [92] 01000010b 102o  66d 42x
[avision]   [93] 01000011b 103o  67d 43x
[avision]   [94] 01000111b 107o  71d 47x
[avision]   [95] 00000010b   2o   2d  2x
[avision] attach: [8-15]  Vendor id.:      "Minolta "
[avision] attach: [16-31] Product id.:     "#2882           "
[avision] attach: [32-35] Product rev.:    "1.10"
[avision] attach: [36]    Bitfield: 1-pass color unknown (RESERVERD) color plane
[avision] attach: [37]    Optical res.:    6700 dpi
[avision] attach: [38]    Maximum res.:    7100 dpi
[avision] attach: [39]    Bitfield1: Q_SCAN EXTENDED_RES NEW_PROTOCOL OEM
[avision] attach: [40-41] X res. in gray:  16963 dpi
[avision] attach: [42-43] Y res. in gray:  18152 dpi
[avision] attach: [44-45] X res. in color: 16963 dpi
[avision] attach: [46-47] Y res. in color: 18152 dpi
[avision] attach: [48-49] USB max read:    16963
[avision] attach: [50]    ESA1: BUTTON_CONTROL KEEPS_GAMMA KEEPS_WINDOW_CMD XYRES_DIFFERENT
[avision] attach: [51]    ESA2: ADF_MIRRORS_IMAGE
[avision] attach: [52]    ESA3: SUPPORTS_GAIN_CONTROL POWER_SAVING_TIMER
[avision] attach: [53]    line difference (software color pack): 67
[avision] attach: [54]    color mode pixel boundary: 71
[avision] attach: [55]    gray mode pixel boundary: 1
[avision] attach: [56]    4bit gray mode pixel boundary: 66
[avision] attach: [57]    lineart mode pixel boundary: 67
[avision] attach: [58]    halftone mode pixel boundary: 71
[avision] attach: [59]    error-diffusion mode pixel boundary: 1
[avision] attach: [60]    channels per pixel: 3 RESERVED
[avision] attach: [61]    bits per channel: 4 16
[avision] attach: [62]    scanner type: Roller (ADF) Duplex
[avision] attach: [75-76] Max shading target : 142
[avision] attach: [77-78] Max X of transparency: 17222 dots * base_dpi
[avision] attach: [79-80] Max Y of transparency: 65346 dots * base_dpi
[avision] attach: [81-82] Max X of flatbed:      17222 dots * base_dpi
[avision] attach: [83-84] Max Y of flatbed:      65346 dots * base_dpi
[avision] attach: [85-86] Max X of ADF:          17223 dots * base_dpi
[avision] attach: [87-88] Max Y of ADF:          322 dots * base_dpi
[avision] attach: [89-90] Res. in Ex. mode:      17223 dpi
[avision] attach: [91]    ASIC:     1
[avision] attach: [92]    Buttons:  66
[avision] attach: [93]    ESA4: ADF_IS_BGR_ORDERED SUPPORTS_READ_PRNU_DATA FLATBED_MIRRORS_IMAGE
[avision] attach: [94]    ESA5: NEEDS_SW_LINE_COLOR_PACK SUPPORTS_TUNE_SCAN_LENGTH SUPPORTS_SWITCH_STRIP_DE_SCEW SEARCHES_LEADING_SIDE_EDGE_BY_FIRMWARE
[avision] attach: [95]    ESA6: SUPPORTS_NVRAM_RESET
[avision] attach: optical resolution set to: 17223 dpi
[avision] attach: max resolution set to: 16963 dpi
[avision] attach: max channels per pixel: 3, max bits per channel: 16
[avision] attach: x/y-range for mode 0 is valid!
[avision] attach: Mode 0 range is now: 25.498525 x 96.370458 mm.
[avision] attach: x/y-range for mode 1 is valid!
[avision] attach: Mode 1 range is now: 25.498525 x 96.370458 mm.
[avision] attach: x/y-range for mode 2 is valid!
[avision] attach: Mode 2 range is now: 25.500000 x 0.474877 mm.

[avision] sane_open:
[avision] attach:
[avision] sane_open: using open_extended
[avision] sane_open: got 131072 scsi_max_request_size
[avision] wait_ready: sending TEST_UNIT_READY
[avision] sense_handler:
[avision] sense_handler: data:
[avision]   [0] 01110000b 160o 112d 70x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00001001b  11o   9d  9x
[avision]   [3] 00000000b   0o   0d  0x
[avision]   [4] 00000000b   0o   0d  0x
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00001100b  14o  12d  cx
[avision]   [8] 00000000b   0o   0d  0x
[avision]   [9] 00000000b   0o   0d  0x
[avision]   [10] 00000000b   0o   0d  0x
[avision]   [11] 00000000b   0o   0d  0x
[avision]   [12] 00000100b   4o   4d  4x
[avision]   [13] 00000010b   2o   2d  2x
[avision]   [14] 00000000b   0o   0d  0x
[avision]   [15] 00000000b   0o   0d  0x
[avision]   [16] 00000000b   0o   0d  0x
[avision]   [17] 00000000b   0o   0d  0x
[avision]   [18] 00000000b   0o   0d  0x
[avision]   [19] 00000000b   0o   0d  0x
[avision] sense_handler: sense code: VENDOR SPECIFIC
[avision] sense_handler: scan has not yet been completed
[avision] sense_handler: correct logical length
[avision] sense_handler: sense code: Unknown sense code asc: 0x04, ascq: 0x02
[avision] wait_ready: test unit ready failed (Error during device I/O)

[avision] wait_ready: timed out after 10 attempts
[avision] sane_open: wait_ready() failed: Invalid argument
scanimage: open of device avision:/dev/sg0 failed: Invalid argument
[avision] sane_exit:



More information about the sane-devel mailing list