[sane-devel] scanimage: sane_start: Out of memory

Patrick Begou Patrick.Begou at hmg.inpg.fr
Mon Feb 3 10:29:04 GMT 2003


Hi Henning,

Henning Meier-Geinitz a écrit :
> 
> The scanner is detected by sane-find-scanner? 

yes it is:
$ sane-find-scanner
found SCSI scanner "HP ScanJet 5370C 6.00" at /dev/scanner
found SCSI scanner "HP ScanJet 5370C 6.00" at /dev/sg2
found SCSI scanner "HP ScanJet 5370C 6.00" at /dev/sgc
  # Your SCSI scanner was detected. It may or may not be supported by
SANE. Try
  # scanimage -L and read the backend's manpage.

found USB scanner (vendor=0x03f0, product=0x0701) at libusb:001:002


>The hpusbscsi kernel module is loaded?

I haven't this module in my kernel sources. Should I upgrade my kernel ?
Red Hat Linux release 7.2 (Enigma) with Kernel 2.4.7-10 on an i686
(standart distribution kernel).
These are the current modules loaded:

Module                  Size  Used by
sg                     28608   0  (autoclean)
sr_mod                 15360   0  (autoclean)
ymfpci                 41184   0  (autoclean)
uart401                 6576   0  (autoclean) [ymfpci]
sound                  59680   0  (autoclean) [uart401]
ac97_codec              8832   0  (autoclean) [ymfpci]
soundcore               4464   4  (autoclean) [ymfpci sound]
nfs                    79616   1  (autoclean)
lockd                  52880   1  (autoclean) [nfs]
sunrpc                 64688   1  (autoclean) [nfs lockd]
parport_pc             14768   1  (autoclean)
lp                      6416   0  (autoclean)
parport                25600   1  (autoclean) [parport_pc lp]
ide-cd                 27072   0  (autoclean)
cdrom                  28512   0  (autoclean) [sr_mod ide-cd]
autofs                 11520   1  (autoclean)
eepro100               17664   1 
ipchains               39200   0 
hp5300                 16240   0 
usb-uhci               21536   0  (unused)
usbcore                51712   1  [hp5300 usb-uhci]
ext3                   64624   4 
jbd                    40992   4  [ext3]
aic7xxx               114544   5 
sd_mod                 11584   5 
scsi_mod               95664   5  [sg sr_mod hp5300 aic7xxx sd_mod]

> Permissions for /dev/sg0 (or whatever device you
> use) are set up correctly? /dev/scanner does point to that device?

Yes, I check this early because I was thinking the problem was there. My
login is begou and I have
read-write access to /dev/sg2.

lrwxrwxrwx    1 root     root            8 jan 16 16:51 /dev/scanner ->
/dev/sgc
crw-------    1 begou    root      21,   2 aoû 30  2001 /dev/sg2
lrwxrwxrwx    1 root     root            3 sep  9 18:34 /dev/sgc -> sg2

> If it's detected by sane-find-scanner correctly, try setting the debug
> varaibaled: export SANE_DEBUG_AVISION=255. Maybe you can find out
> about the source of the problem.

I did this also. All seems to work fine  until get_calib_format wich
returns Out of Memory (see attached file).
I have 256 MBytes RAM and 128 Mbytes of (unused) swap but I dont't think
the problem is here. Something that the driver could not understand with
my software configuration ?


Thanks for your help.

Patrick

-- 
===============================================================
|  Equipe M.O.S.T.         | http://most.hmg.inpg.fr          |
|  Patrick BEGOU           |       ------------               |
|  LEGI                    | mailto:Patrick.Begou at hmg.inpg.fr |
|  BP 53 X                 | Tel 04 76 82 51 35               |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71               |
===============================================================
-------------- next part --------------
Début du script sur Mon Feb  3 11:18:14 2003
$ scanimage --device avision:/dev/scanner >toto.pnm
[sanei_debug] Setting debug level of avision to 255.
[avision] sane_init: parsing config line "scsi AVISION"
[avision] sane_init: config file line 1: trying to attach `scsi AVISION'
[avision] sane_init: parsing config line "scsi FCPA"
[avision] sane_init: config file line 2: trying to attach `scsi FCPA'
[avision] sane_init: parsing config line "scsi MINOLTA"
[avision] sane_init: config file line 3: trying to attach `scsi MINOLTA'
[avision] sane_init: parsing config line "scsi MITSBISH MCA-S600C"
[avision] sane_init: config file line 4: trying to attach `scsi MITSBISH MCA-S600C'
[avision] sane_init: parsing config line "scsi MITSBISH MCA-SS600"
[avision] sane_init: config file line 5: trying to attach `scsi MITSBISH MCA-SS600'
[avision] sane_init: parsing config line "scsi HP"
[avision] sane_init: config file line 6: trying to attach `scsi HP'
[avision] attach: (Version: 1.0 Build: 55)
[avision] attach: opening /dev/sg2
[avision] attach: sending INQUIRY
[avision] attach: Inquiry gives mfg=HP, model=ScanJet 5370C, product revision=6.00.
[avision] FOUND
[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] 01001000b 110o  72d 48x
[avision]   [9] 01010000b 120o  80d 50x
[avision]   [10] 00100000b  40o  32d 20x
[avision]   [11] 00100000b  40o  32d 20x
[avision]   [12] 00100000b  40o  32d 20x
[avision]   [13] 00100000b  40o  32d 20x
[avision]   [14] 00100000b  40o  32d 20x
[avision]   [15] 00100000b  40o  32d 20x
[avision]   [16] 01010011b 123o  83d 53x
[avision]   [17] 01100011b 143o  99d 63x
[avision]   [18] 01100001b 141o  97d 61x
[avision]   [19] 01101110b 156o 110d 6ex
[avision]   [20] 01001010b 112o  74d 4ax
[avision]   [21] 01100101b 145o 101d 65x
[avision]   [22] 01110100b 164o 116d 74x
[avision]   [23] 00100000b  40o  32d 20x
[avision]   [24] 00110101b  65o  53d 35x
[avision]   [25] 00110011b  63o  51d 33x
[avision]   [26] 00110111b  67o  55d 37x
[avision]   [27] 00110000b  60o  48d 30x
[avision]   [28] 01000011b 103o  67d 43x
[avision]   [29] 00100000b  40o  32d 20x
[avision]   [30] 00100000b  40o  32d 20x
[avision]   [31] 00100000b  40o  32d 20x
[avision]   [32] 00110110b  66o  54d 36x
[avision]   [33] 00101110b  56o  46d 2ex
[avision]   [34] 00110000b  60o  48d 30x
[avision]   [35] 00110000b  60o  48d 30x
[avision]   [36] 10100000b 240o 160d a0x
[avision]   [37] 00000110b   6o   6d  6x
[avision]   [38] 00001100b  14o  12d  cx
[avision]   [39] 01100111b 147o 103d 67x
[avision]   [40] 00000100b   4o   4d  4x
[avision]   [41] 10110000b 260o 176d b0x
[avision]   [42] 00000100b   4o   4d  4x
[avision]   [43] 10110000b 260o 176d b0x
[avision]   [44] 00001001b  11o   9d  9x
[avision]   [45] 01100000b 140o  96d 60x
[avision]   [46] 00001001b  11o   9d  9x
[avision]   [47] 01100000b 140o  96d 60x
[avision]   [48] 00000000b   0o   0d  0x
[avision]   [49] 00000000b   0o   0d  0x
[avision]   [50] 11111001b 371o 249d f9x
[avision]   [51] 10010111b 227o 151d 97x
[avision]   [52] 11010011b 323o 211d d3x
[avision]   [53] 00011000b  30o  24d 18x
[avision]   [54] 00001000b  10o   8d  8x
[avision]   [55] 00001000b  10o   8d  8x
[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] 11010100b 324o 212d d4x
[avision]   [62] 00100000b  40o  32d 20x
[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] 00000000b   0o   0d  0x
[avision]   [77] 00000101b   5o   5d  5x
[avision]   [78] 11011100b 334o 220d dcx
[avision]   [79] 00000101b   5o   5d  5x
[avision]   [80] 11011100b 334o 220d dcx
[avision]   [81] 00001001b  11o   9d  9x
[avision]   [82] 11111000b 370o 248d f8x
[avision]   [83] 00001101b  15o  13d  dx
[avision]   [84] 10110011b 263o 179d b3x
[avision]   [85] 00001001b  11o   9d  9x
[avision]   [86] 11111000b 370o 248d f8x
[avision]   [87] 00010000b  20o  16d 10x
[avision]   [88] 01101000b 150o 104d 68x
[avision]   [89] 00000100b   4o   4d  4x
[avision]   [90] 10110000b 260o 176d b0x
[avision]   [91] 00000101b   5o   5d  5x
[avision]   [92] 00000100b   4o   4d  4x
[avision]   [93] 11001000b 310o 200d c8x
[avision]   [94] 00000101b   5o   5d  5x
[avision]   [95] 00000000b   0o   0d  0x
[avision] attach: [8-15]  Vendor id.:      "HP      "
[avision] attach: [16-31] Product id.:     "ScanJet 5370C   "
[avision] attach: [32-35] Product rev.:    "6.00"
[avision] attach: [36]    Bitfield: ADF 3-pass color RGB_COLOR_PLANE
[avision] attach: [37]    Optical res.:    600 dpi
[avision] attach: [38]    Maximum res.:    1200 dpi
[avision] attach: [39]    Bitfield1: Q_SCAN EXTENDET_RES NEW_PROTOCOL
[avision] attach: [40-41] X res. in gray:  1200 dpi
[avision] attach: [42-43] Y res. in gray:  1200 dpi
[avision] attach: [44-45] X res. in color: 2400 dpi
[avision] attach: [46-47] Y res. in color: 2400 dpi
[avision] attach: [48-49] USB max read:    0
[avision] attach: [50]    ESA1: LIGHT_CONTROL BUTTON_CONTROL NEED_SW_COLORPACK SW_CALIB NEED_SW_GAMMA XYRES_DIFFERENT
[avision] attach: [51]    ESA2: EXPOSURE_CTRL SUPPORTS_QUALITY_SPEED_CAL HAS_PUSH_BUTTON NEW_CAL_METHOD_3x3_MATRIX_(NO_GAMMA_TABLE) ADF_MIRRORS_IMAGE
[avision] attach: [52]    ESA3: GRAY_WHITE SUPPORTS_GAIN_CONTROL 3x3COL_TABLE POWER_SAVING_TIMER NVM_DATA_REC
[avision] attach: [53]    line difference (software color pack): 24
[avision] attach: [54]    color mode pixel boundary: 8
[avision] attach: [55]    gray mode pixel boundary: 8
[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 12
[avision] attach: [62]    scanner type: Flatbed (ADF)
[avision] attach: [77-78] Max X of transparency: 1500 FUBA
[avision] attach: [79-80] May Y of transparency: 1500 FUBA
[avision] attach: [81-82] Max X of flatbed:      2552 FUBA
[avision] attach: [83-84] May Y of flatbed:      3507 FUBA
[avision] attach: [85-86] Max X of ADF:          2552 FUBA
[avision] attach: [87-88] May Y of ADF:          4200 FUBA
[avision] attach: (FUBA: inch/300 for flatbed, and inch/max_res for film scanners?)
[avision] attach: [89-90] Res. in Ex. mode:      1200 dpi
[avision] attach: [91]    ASIC:     5
[avision] attach: [92]    Buttons:  4
[avision] attach: [93]    ESA4: SUPPORTS_ACCESSORIES_DETECT ADF_IS_BGR_ORDERED SUPPORTS_ASIC_UPDATE
[avision] attach: [94]    ESA5:
[avision] attach: optical resolution set to: 1200 dpi
[avision] attach: max resolution set to: 2400 dpi
[avision] attach: x/y-range for mode 0 is valid!
[avision] attach: Mode 0 range is now: 216.069333 x 296.926000 mm.
[avision] attach: x/y-range for mode 1 is valid!
[avision] attach: Mode 1 range is now: 127.000000 x 127.000000 mm.
[avision] attach: x/y-range for mode 2 is valid!
[avision] attach: Mode 2 range is now: 216.069333 x 355.600000 mm.
[avision] get_accessories_info
[avision] get_accessories_info: raw data:
[avision]   [0] 00000000b   0o   0d  0x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000000b   0o   0d  0x
[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] 00000000b   0o   0d  0x
[avision] get_accessories_info: [0]  ADF: 0
[avision] get_accessories_info: [1]  Light Box: 0
[avision] get_accessories_info: [2] Bitfield1:
[avision] wait_ready: sending TEST_UNIT_READY
[avision] sane_init: parsing config line "scsi hp"
[avision] sane_init: config file line 7: trying to attach `scsi hp'
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 8: ignoring empty line
[avision] sane_init: parsing config line "/dev/scanner"
[avision] sane_init: config file line 9: trying to attach `/dev/scanner'
[avision] attach: (Version: 1.0 Build: 55)
[avision] attach: opening /dev/scanner
[avision] attach: sending INQUIRY
[avision] attach: Inquiry gives mfg=HP, model=ScanJet 5370C, product revision=6.00.
[avision] FOUND
[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] 01001000b 110o  72d 48x
[avision]   [9] 01010000b 120o  80d 50x
[avision]   [10] 00100000b  40o  32d 20x
[avision]   [11] 00100000b  40o  32d 20x
[avision]   [12] 00100000b  40o  32d 20x
[avision]   [13] 00100000b  40o  32d 20x
[avision]   [14] 00100000b  40o  32d 20x
[avision]   [15] 00100000b  40o  32d 20x
[avision]   [16] 01010011b 123o  83d 53x
[avision]   [17] 01100011b 143o  99d 63x
[avision]   [18] 01100001b 141o  97d 61x
[avision]   [19] 01101110b 156o 110d 6ex
[avision]   [20] 01001010b 112o  74d 4ax
[avision]   [21] 01100101b 145o 101d 65x
[avision]   [22] 01110100b 164o 116d 74x
[avision]   [23] 00100000b  40o  32d 20x
[avision]   [24] 00110101b  65o  53d 35x
[avision]   [25] 00110011b  63o  51d 33x
[avision]   [26] 00110111b  67o  55d 37x
[avision]   [27] 00110000b  60o  48d 30x
[avision]   [28] 01000011b 103o  67d 43x
[avision]   [29] 00100000b  40o  32d 20x
[avision]   [30] 00100000b  40o  32d 20x
[avision]   [31] 00100000b  40o  32d 20x
[avision]   [32] 00110110b  66o  54d 36x
[avision]   [33] 00101110b  56o  46d 2ex
[avision]   [34] 00110000b  60o  48d 30x
[avision]   [35] 00110000b  60o  48d 30x
[avision]   [36] 10100000b 240o 160d a0x
[avision]   [37] 00000110b   6o   6d  6x
[avision]   [38] 00001100b  14o  12d  cx
[avision]   [39] 01100111b 147o 103d 67x
[avision]   [40] 00000100b   4o   4d  4x
[avision]   [41] 10110000b 260o 176d b0x
[avision]   [42] 00000100b   4o   4d  4x
[avision]   [43] 10110000b 260o 176d b0x
[avision]   [44] 00001001b  11o   9d  9x
[avision]   [45] 01100000b 140o  96d 60x
[avision]   [46] 00001001b  11o   9d  9x
[avision]   [47] 01100000b 140o  96d 60x
[avision]   [48] 00000000b   0o   0d  0x
[avision]   [49] 00000000b   0o   0d  0x
[avision]   [50] 11111001b 371o 249d f9x
[avision]   [51] 10010111b 227o 151d 97x
[avision]   [52] 11010011b 323o 211d d3x
[avision]   [53] 00011000b  30o  24d 18x
[avision]   [54] 00001000b  10o   8d  8x
[avision]   [55] 00001000b  10o   8d  8x
[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] 11010100b 324o 212d d4x
[avision]   [62] 00100000b  40o  32d 20x
[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] 00000000b   0o   0d  0x
[avision]   [77] 00000101b   5o   5d  5x
[avision]   [78] 11011100b 334o 220d dcx
[avision]   [79] 00000101b   5o   5d  5x
[avision]   [80] 11011100b 334o 220d dcx
[avision]   [81] 00001001b  11o   9d  9x
[avision]   [82] 11111000b 370o 248d f8x
[avision]   [83] 00001101b  15o  13d  dx
[avision]   [84] 10110011b 263o 179d b3x
[avision]   [85] 00001001b  11o   9d  9x
[avision]   [86] 11111000b 370o 248d f8x
[avision]   [87] 00010000b  20o  16d 10x
[avision]   [88] 01101000b 150o 104d 68x
[avision]   [89] 00000100b   4o   4d  4x
[avision]   [90] 10110000b 260o 176d b0x
[avision]   [91] 00000101b   5o   5d  5x
[avision]   [92] 00000100b   4o   4d  4x
[avision]   [93] 11001000b 310o 200d c8x
[avision]   [94] 00000101b   5o   5d  5x
[avision]   [95] 00000000b   0o   0d  0x
[avision] attach: [8-15]  Vendor id.:      "HP      "
[avision] attach: [16-31] Product id.:     "ScanJet 5370C   "
[avision] attach: [32-35] Product rev.:    "6.00"
[avision] attach: [36]    Bitfield: ADF 3-pass color RGB_COLOR_PLANE
[avision] attach: [37]    Optical res.:    600 dpi
[avision] attach: [38]    Maximum res.:    1200 dpi
[avision] attach: [39]    Bitfield1: Q_SCAN EXTENDET_RES NEW_PROTOCOL
[avision] attach: [40-41] X res. in gray:  1200 dpi
[avision] attach: [42-43] Y res. in gray:  1200 dpi
[avision] attach: [44-45] X res. in color: 2400 dpi
[avision] attach: [46-47] Y res. in color: 2400 dpi
[avision] attach: [48-49] USB max read:    0
[avision] attach: [50]    ESA1: LIGHT_CONTROL BUTTON_CONTROL NEED_SW_COLORPACK SW_CALIB NEED_SW_GAMMA XYRES_DIFFERENT
[avision] attach: [51]    ESA2: EXPOSURE_CTRL SUPPORTS_QUALITY_SPEED_CAL HAS_PUSH_BUTTON NEW_CAL_METHOD_3x3_MATRIX_(NO_GAMMA_TABLE) ADF_MIRRORS_IMAGE
[avision] attach: [52]    ESA3: GRAY_WHITE SUPPORTS_GAIN_CONTROL 3x3COL_TABLE POWER_SAVING_TIMER NVM_DATA_REC
[avision] attach: [53]    line difference (software color pack): 24
[avision] attach: [54]    color mode pixel boundary: 8
[avision] attach: [55]    gray mode pixel boundary: 8
[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 12
[avision] attach: [62]    scanner type: Flatbed (ADF)
[avision] attach: [77-78] Max X of transparency: 1500 FUBA
[avision] attach: [79-80] May Y of transparency: 1500 FUBA
[avision] attach: [81-82] Max X of flatbed:      2552 FUBA
[avision] attach: [83-84] May Y of flatbed:      3507 FUBA
[avision] attach: [85-86] Max X of ADF:          2552 FUBA
[avision] attach: [87-88] May Y of ADF:          4200 FUBA
[avision] attach: (FUBA: inch/300 for flatbed, and inch/max_res for film scanners?)
[avision] attach: [89-90] Res. in Ex. mode:      1200 dpi
[avision] attach: [91]    ASIC:     5
[avision] attach: [92]    Buttons:  4
[avision] attach: [93]    ESA4: SUPPORTS_ACCESSORIES_DETECT ADF_IS_BGR_ORDERED SUPPORTS_ASIC_UPDATE
[avision] attach: [94]    ESA5:
[avision] attach: optical resolution set to: 1200 dpi
[avision] attach: max resolution set to: 2400 dpi
[avision] attach: x/y-range for mode 0 is valid!
[avision] attach: Mode 0 range is now: 216.069333 x 296.926000 mm.
[avision] attach: x/y-range for mode 1 is valid!
[avision] attach: Mode 1 range is now: 127.000000 x 127.000000 mm.
[avision] attach: x/y-range for mode 2 is valid!
[avision] attach: Mode 2 range is now: 216.069333 x 355.600000 mm.
[avision] get_accessories_info
[avision] get_accessories_info: raw data:
[avision]   [0] 00000000b   0o   0d  0x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000000b   0o   0d  0x
[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] 00000000b   0o   0d  0x
[avision] get_accessories_info: [0]  ADF: 0
[avision] get_accessories_info: [1]  Light Box: 0
[avision] get_accessories_info: [2] Bitfield1:
[avision] wait_ready: sending TEST_UNIT_READY
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 10: ignoring empty line
[avision] sane_init: parsing config line "#option disable-gamma-table"
[avision] sane_init: config file line 11: ignoring comment line
[avision] sane_init: parsing config line "#option disable-calibration"
[avision] sane_init: config file line 12: ignoring comment line
[avision] sane_init: parsing config line "#option one-calib-only"
[avision] sane_init: config file line 13: ignoring comment line
[avision] sane_init: parsing config line "#option force-a4"
[avision] sane_init: config file line 14: ignoring comment line
[avision] sane_init: parsing config line ""
[avision] sane_init: config file line 15: ignoring empty line
[avision] sane_open:
[avision] init_options:
[avision] max_string_size:
[avision] make_mode:
[avision] sane_control_option:
[avision] sane_control_option:
[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:
[avision] sane_get_option_descriptor:
[avision] sane_control_option:
[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:
[avision] sane_control_option:
[avision] sane_control_option:
[avision] sane_get_option_descriptor:
[avision] sane_control_option:
[avision] constrain_value:
[avision] sane_control_option:
[avision] sane_get_option_descriptor:
[avision] sane_control_option:
[avision] constrain_value:
[avision] sane_start: page: 0
[avision] sane_get_parameters:
[avision] sane_get_parameters: boundary 8, gray_mode: 1
[avision] sane_get_parameters: tlx: 0.000000, tly: 0.000000, brx: 216.000000, bry: 296.000000
[avision] sane_get_parameters: y_max: 3507, bry: 3502, line_difference: 6
[avision] sane_get_parameters: bry limitted!
[avision] sane_get_parameters: tlx: 0, tly: 0, brx: 2551, bry: 3501
[avision] sane_get_parameters: xres: 300, yres: 300, line_difference: 6
[avision] sane_get_parameters: pixel_per_line: 2544, lines: 3495
[avision] sane_get_parameters: depth: 8, bytes_per_line: 7632
[avision] wait_ready: sending TEST_UNIT_READY
[avision] wait_4_light: getting light status.
[avision] wait_4_light: read bytes 1
[avision] wait_4_light: command is 0. Result is on
[avision] set_window
[avision] set_window: base_dpi = 300
[avision] set_window: [0]     window_id 0
[avision] set_window: [2-3]   x-axis res 300
[avision] set_window: [4-5]   y-axis res 300
[avision] set_window: [6-9]   x-axis upper left 0
[avision] set_window: [10-13] y-axis upper left 0
[avision] set_window: [14-17] window width 2544
[avision] set_window: [18-21] window length 3501
[avision] set_window: [22]    brightness 128
[avision] set_window: [23]    threshold 128
[avision] set_window: [24]    contrast 128
[avision] set_window: [25]    image composition 5
[avision] set_window: [26]    bits per channel 8
[avision] set_window: [27-28] halftone pattern 0
[avision] set_window: [29]    padding_and_bitset 3
[avision] set_window: [30-31] bit ordering 0
[avision] set_window: [32]    compression type 0
[avision] set_window: [33]    compression argument 0
[avision] set_window: [40]    vendor id ff
[avision] set_window: [41]    param lenght 14
[avision] set_window: [42]    bitset 60
[avision] set_window: [43]    highlight 255
[avision] set_window: [44]    shadow 0
[avision] set_window: [45-46] line-width 7632
[avision] set_window: [47-48] line-count 3501
[avision] set_window: [49]    bitset 18
[avision] set_window: [50]    ir exposure time 0
[avision] set_window: [51-52] r exposure 0
[avision] set_window: [53-54] g exposure 0
[avision] set_window: [55-56] b exposure 0
[avision] set_window: [57]    bitset 0
[avision] set_window: [58]    auto focus 0
[avision] set_window: [59]    line-widht (MSB) 0
[avision] set_window: [60]    line-count (MSB) 0
[avision] set_window: [61]    edge threshold 0
[avision] set_window: sending command. Bytes: 80
[avision] c5_calibration:
[avision] get_calib_format:
[avision] get_calib_format: read_data: 32 bytes
[avision] debug_print_calib_format:
[avision]   [0] 00001010b  12o  10d  ax
[avision]   [1] 01011100b 134o  92d 5cx
[avision]   [2] 00000001b   1o   1d  1x
[avision]   [3] 00111111b  77o  63d 3fx
[avision]   [4] 00000001b   1o   1d  1x
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00100000b  40o  32d 20x
[avision]   [7] 00011110b  36o  30d 1ex
[avision]   [8] 00101101b  55o  45d 2dx
[avision]   [9] 11110000b 360o 240d f0x
[avision]   [10] 00000000b   0o   0d  0x
[avision]   [11] 11110000b 360o 240d f0x
[avision]   [12] 00000000b   0o   0d  0x
[avision]   [13] 11110000b 360o 240d f0x
[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] 00010000b  20o  16d 10x
[avision]   [19] 00000000b   0o   0d  0x
[avision]   [20] 00110000b  60o  48d 30x
[avision]   [21] 00000000b   0o   0d  0x
[avision]   [22] 00000000b   0o   0d  0x
[avision]   [23] 00000000b   0o   0d  0x
[avision]   [24] 00000000b   0o   0d  0x
[avision]   [25] 00000000b   0o   0d  0x
[avision]   [26] 00000000b   0o   0d  0x
[avision]   [27] 00000000b   0o   0d  0x
[avision]   [28] 00000000b   0o   0d  0x
[avision]   [29] 00000000b   0o   0d  0x
[avision]   [30] 00000000b   0o   0d  0x
[avision]   [31] 00000000b   0o   0d  0x
[avision] get_calib_format: [0-1]  pixels per line 2652
[avision] get_calib_format: [2]    bytes per channel 1
[avision] get_calib_format: [3]    line count 63
[avision] get_calib_format: [4]   FLAG: MUST_DO_CALIBRATION
[avision] get_calib_format: [5]    Ability1: PACKED
[avision] get_calib_format: [6]    R gain: 32
[avision] get_calib_format: [7]    G gain: 30
[avision] get_calib_format: [8]    B gain: 45
[avision] get_calib_data: type 62, size 167076, line_size: 167076
[avision] get_calib_data: read data failed (Out of memory)
[avision] sane_start: perform calibration failed: Out of memory
[avision] do_cancel:
scanimage: sane_start: Out of memory
[avision] sane_cancel
[avision] sane_close:

[avision] sane_exit:

Script terminé sur Mon Feb  3 11:18:50 2003


More information about the sane-devel mailing list