On Fri, 2004-02-27 at 09:43, David B Brown wrote: > Hi, > > tried out the latest version of Sane ( with my old MIcrotek ScanMaker > II, on Mac OS X 10.3.2, with an Adaptec 2906. Got the following error, > which sounds like a bug in the SCSI code :- > > [MacCoylton:~] dave% scanimage -V > scanimage (sane-backends) 1.0.13-cvs; backend version 1.0.13 > > > [MacCoylton:~] dave% scanimage -x 25.6 -y 25.6 > img.pnm > > > ..... > > > [sanei_debug] Setting debug level of sanei_scsi to 255. > [microtek] .wait_ready 0... > [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:0 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes > [microtek] finagle_precal... > [microtek] .scanning_frame... > [microtek] .scanning_frame: in- 0,0 302,302 > [microtek] .scanning_frame: out- 0,0 302,302 > [microtek] SF: 4 0 0 0 9 0 8 0 0 0 0 2e 1 2e 1 > [sanei_scsi] cmd2: cmd_size:6 src_size:9 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:9 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 9 bytes > [microtek] .accessory... > [microtek] AC: 10 0 0 0 f2 0 > [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:0 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes > [microtek] .download_gamma... > [microtek] .download_gamma: 256 entries of 1 bytes, max 255 > [microtek] .download_gamma: by default > [sanei_scsi] cmd2: cmd_size:10 src_size:256 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:256 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 256 bytes > [microtek] .mode_select 0... > [microtek] .mode_select: pap_len: 4199 > [microtek] MSL: 15 0 0 0 a 0 8b 21 7 7 0 1 0 ff 67 10 > [sanei_scsi] cmd2: cmd_size:6 src_size:10 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:10 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 10 bytes > [microtek] .wait_ready 0... > [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:0 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes > [microtek] .start_scan... > [microtek] SS: 1b 0 0 0 49 0 > [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:0 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes > [microtek] .get_scan_status 0... > [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:6 isWrite:0 > [sanei_scsi] isRead dst_size:6 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes > [microtek] get_scan_status(0): 0, 0, 0 -> #0 > [microtek] > 0 0 0 0 0 0 > [microtek] sane_start: SCSI buffer smaller that one scan line! > [microtek] end_scan... > [microtek] .stop_scan... > [microtek] SPS:1b 0 0 0 0 0 > [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 > [sanei_scsi] isWrite src_size:0 > [sanei_scsi] Executing command > [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes > scanimage: sane_start: Out of memory > [microtek] sane_cancel... > [microtek] end_scan... > [microtek] sane_close... > [microtek] sane_exit... > [microtek] sane_exit: MICROTEK says goodbye. > [MacCoylton:~] dave% > > > Cheers > > David
Dit changing the option export SANE_SG_BUFFERSIZE= <greater value> something (see man sane-scsi)? -- ---------- m.vr.gr. Gerard Klaver
