Fw: [sane-devel] Nikon LS-1000 breaks on 0.92 and later???

Bob Hepple bhepple@freeshell.org
Sun, 16 Jan 2005 20:46:45 +1000


--Signature=_Sun__16_Jan_2005_20_46_45_+1000__hFcEKKI8DgfDx5Y
Content-Type: multipart/mixed;
 boundary="Multipart=_Sun__16_Jan_2005_20_46_45_+1000_pP_pbMINUn3sAGcg"


--Multipart=_Sun__16_Jan_2005_20_46_45_+1000_pP_pbMINUn3sAGcg
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On 16 Jan 2005 09:50:59 +0100
Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE> wrote:

> Hello Bob,
> 
> looks like scanimage and xsane use the same sane libraries.
> 
> I suggest you enable the debug output of the backend and may be of
> sane-dll (SANE_DEBUG_SANE_DLL) and compare the output produced with
> scanimage with the one produced by xsane, may be you find some
> differences before the error occurs, may be you use different devices
> for scanning.
> 

Dear Oliver,

Nope - they both open the same file /dev/sg2:

$ ls -l /dev/sg2
crw-rw-rw-  1 root disk 21, 2 Jan  9 08:19 /dev/sg2

Here's the output of ruuning both xsane and scanimage with

export SANE_DEBUG_COOLSCAN=128
export SANE_DEBUG_SANE_DLL=128

The output seems to be the same up until the error.

Thanks



Bob






$ scanimage -d 'coolscan:/dev/sg2' --resolution 300 --type negative
[sanei_debug] Setting debug level of coolscan to 128.
[coolscan] sane_init
[coolscan] attach_scanner: /dev/sg2
[coolscan] attach_scanner: opening /dev/sg2
[coolscan] identify_scanner
[coolscan] do_inquiry
[coolscan] 
[coolscan] 000: 12 00 00 00 24 00
[coolscan] sanei_scsi_cmd: returning 36 bytes:
[coolscan] 
[coolscan] 000: 06 00 02 02 1f 00 00 00 4e 69 6b 6f 6e 20 20 20
[coolscan] 016: 4c 53 2d 31 30 30 30 20 20 20 20 20 20 20 20 20
[coolscan] 032: 31 2e 30 36
[coolscan] get_inquiry_values
[coolscan] Found Nikon scanner LS-1000 version 1.06 on device /dev/sg2
[coolscan] initialize_values
[coolscan] 
[coolscan] 000: 15 10 00 00 14 00 00 00 00 08 00 00 00 00 00 00
[coolscan] 016: 00 01 03 06 00 00 0a 8c 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] Mode Sense...
[coolscan] 
[coolscan] 000: 1a 18 03 00 0c 00
[coolscan] sanei_scsi_cmd: returning 12 bytes:
[coolscan] 
[coolscan] 000: 0b 00 00 00 03 06 00 00 0a 8c 00 00
[coolscan] 	Mode Sensed (MUD is 2700)
[coolscan] get_internal_info
[coolscan] get_internal_info
[coolscan] wait_scanner: Testing if scanner is ready
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] wait_scanner: scanner is ready
[coolscan] 
[coolscan] 000: 28 00 e0 00 00 00 00 01 00 00
[coolscan] sanei_scsi_cmd: returning 256 bytes:
[coolscan] 
[coolscan] 000: 0c 08 0a 8c 04 7f 06 bf 0a 1f 0f 2f 00 00 00 00
[coolscan] 016: 00 00 00 64 09 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 	adbits=12	outputbits=8	maxres=2700	xmax=1151	ymax=1727
	xmaxpix=2591	ymaxpix=3887	ycurrent=0	currentfocus=100
	autofeeder=No	analoggamma=No	currentscanpitch=9
	White balance exposure time var [RGB]=	2613 3918 2953
	Prescan result exposure time var [RGB]=	3701 14272 3701
	Current exposure time var.[RGB]=	3701 14272 10757
	Internal exposure time unit[RGB]=	2 3 2
	offsetdata_[rgb]=	0x86 0x86 0x87
	limitcondition=0x7c
	device error code = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
	power-on errors = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[coolscan] backend runs on little endian machine
[coolscan] attach: dev->dpi_range.max = 2700.000000
[coolscan] attach_scanner done
[coolscan] attach_scanner: /dev/scanner
[coolscan] attach_scanner: opening /dev/scanner
[coolscan] attach_scanner: open failed
[coolscan] sane_open
[coolscan] init_options
[coolscan] sane_control_option 0, get value
[coolscan] sane_control_option 0, get value
[coolscan] sane_get_option_descriptor 0
[coolscan] sane_get_option_descriptor 1
[coolscan] sane_get_option_descriptor 2
[coolscan] sane_get_option_descriptor 3
[coolscan] sane_get_option_descriptor 4
[coolscan] sane_get_option_descriptor 5
[coolscan] sane_get_option_descriptor 6
[coolscan] sane_get_option_descriptor 7
[coolscan] sane_get_option_descriptor 8
[coolscan] sane_get_option_descriptor 9
[coolscan] sane_get_option_descriptor 10
[coolscan] sane_get_option_descriptor 11
[coolscan] sane_get_option_descriptor 12
[coolscan] sane_get_option_descriptor 13
[coolscan] sane_control_option 13, get value
[coolscan] sane_get_option_descriptor 14
[coolscan] sane_control_option 14, get value
[coolscan] sane_get_option_descriptor 15
[coolscan] sane_get_option_descriptor 16
[coolscan] sane_get_option_descriptor 17
[coolscan] sane_get_option_descriptor 18
[coolscan] sane_get_option_descriptor 19
[coolscan] sane_get_option_descriptor 20
[coolscan] sane_get_option_descriptor 21
[coolscan] sane_get_option_descriptor 22
[coolscan] sane_get_option_descriptor 23
[coolscan] sane_get_option_descriptor 24
[coolscan] sane_get_option_descriptor 25
[coolscan] sane_get_option_descriptor 26
[coolscan] sane_get_option_descriptor 27
[coolscan] sane_get_option_descriptor 28
[coolscan] sane_get_option_descriptor 29
[coolscan] sane_get_option_descriptor 30
[coolscan] sane_get_option_descriptor 31
[coolscan] sane_get_option_descriptor 32
[coolscan] sane_get_option_descriptor 33
[coolscan] sane_get_option_descriptor 34
[coolscan] sane_get_option_descriptor 35
[coolscan] sane_get_option_descriptor 36
[coolscan] sane_get_option_descriptor 37
[coolscan] sane_get_option_descriptor 38
[coolscan] sane_get_option_descriptor 39
[coolscan] sane_get_option_descriptor 40
[coolscan] sane_get_option_descriptor 41
[coolscan] sane_get_option_descriptor 42
[coolscan] sane_control_option 11, get value
[coolscan] sane_control_option 12, get value
[coolscan] sane_get_option_descriptor 4
[coolscan] sane_get_option_descriptor 4
[coolscan] sane_control_option 4, set value
[coolscan] sane_get_option_descriptor 6
[coolscan] sane_get_option_descriptor 6
[coolscan] sane_control_option 6, set value
[coolscan] sane_control_option 11, get value
[coolscan] sane_get_option_descriptor 13
[coolscan] sane_control_option 13, set value
[coolscan] sane_control_option 12, get value
[coolscan] sane_get_option_descriptor 14
[coolscan] sane_control_option 14, set value
[coolscan] sane_start
[coolscan] check_values
[coolscan] grabbing scanner
[coolscan] wait_scanner: Testing if scanner is ready
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] wait_scanner: scanner is ready
[coolscan] 
[coolscan] 000: 16 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] scanner reserved
[coolscan] Trying to feed object...
[coolscan] 	Autofeeder not present.
[coolscan] wait_scanner: Testing if scanner is ready
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] wait_scanner: scanner is ready
[coolscan] send LUT
[coolscan] 
[coolscan] 000: 2a 00 c0 00 01 00 00 02 00 00 00 01 02 03 04 05
[coolscan] 016: 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15
[coolscan] 032: 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25
[coolscan] 048: 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35
[coolscan] 064: 36 37 38 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45
[coolscan] 080: 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55
[coolscan] 096: 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65
[coolscan] 112: 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75
[coolscan] 128: 76 77 78 79 7a 7b 7c 7d 7e 7f 80 81 82 83 84 85
[coolscan] 144: 86 87 88 89 8a 8b 8c 8d 8e 8f 90 91 92 93 94 95
[coolscan] 160: 96 97 98 99 9a 9b 9c 9d 9e 9f a0 a1 a2 a3 a4 a5
[coolscan] 176: a6 a7 a8 a9 aa ab ac ad ae af b0 b1 b2 b3 b4 b5
[coolscan] 192: b6 b7 b8 b9 ba bb bc bd be bf c0 c1 c2 c3 c4 c5
[coolscan] 208: c6 c7 c8 c9 ca cb cc cd ce cf d0 d1 d2 d3 d4 d5
[coolscan] 224: d6 d7 d8 d9 da db dc dd de df e0 e1 e2 e3 e4 e5
[coolscan] 240: e6 e7 e8 e9 ea eb ec ed ee ef f0 f1 f2 f3 f4 f5
[coolscan] 256: f6 f7 f8 f9 fa fb fc fd fe ff ff ff ff ff ff ff
[coolscan] 272: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 288: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 304: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 320: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 336: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 352: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 368: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 384: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 416: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 432: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 448: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 464: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 480: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 496: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[coolscan] 512: ff ff ff ff ff ff ff ff ff ff
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] set_window_param
[coolscan] wait_scanner: Testing if scanner is ready
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] wait_scanner: scanner is ready
[coolscan] 	x_nres=9, y_nres=9, upper left-x=0, upper left-y=0
[coolscan] 	window width=2591, MUD=2700, brx=2591
[coolscan] 	colormode=7, bits per pixel=8
[coolscan] 	negative=1, dropoutcolor=0, preview=0, transfermode=0, gammasel=2
[coolscan] Window set
[coolscan] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 0a 20 00 00 0f 30 00 00 00 05 08 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 10 00 80 02 00 00 00 80 80 80 80 80 80 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 32 32 32 00 00 00 00
[coolscan] 080: 00 00 80 80 80 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 096: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 112: 00 00 00 00 00
[coolscan] 
[coolscan] 000: 24 00 00 00 00 00 00 00 7d 00 00 00 00 00 00 00
[coolscan] 016: 00 75 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 0a 20 00 00 0f 30 00 00 00 05 08 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 10 00 80 02 00 00 00 80 80 80 80 80 80 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 32 32 32 00 00
[coolscan] 096: 00 00 00 00 80 80 80 00 00 00 00 00 00 00 00 00
[coolscan] 112: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 128: 00 00 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] window set.
[coolscan] get_window_param
[coolscan] GET_WINDOW_PARAM
[coolscan] wait_scanner: Testing if scanner is ready
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] wait_scanner: scanner is ready
[coolscan] Get window cmd
[coolscan] 000: 25 01 00 00 00 00 00 00 7d 00
[coolscan] 
[coolscan] 000: 25 01 00 00 00 00 00 00 7d 00
[coolscan] sanei_scsi_cmd: returning 125 bytes:
[coolscan] 
[coolscan] 000: 00 7b 00 00 00 00 00 75 00 00 01 2c 01 2c 00 00
[coolscan] 016: 00 00 00 00 00 00 00 00 0a 20 00 00 0f 30 80 00
[coolscan] 032: 80 05 08 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 01 20 00 00 01 b0 10 00 80 02 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 32 32 32 00 00 00 00 00 00 80 80 80 87 86 87
[coolscan] Window get
[coolscan] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 0a 20 00 00 0f 30 80 00 80 05 08 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 01 20 00 00 01 b0
[coolscan] 048: 10 00 80 02 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 32 32 32 00 00 00 00
[coolscan] 080: 00 00 80 80 80 87 86 87 0a 8c 00 00 00 00 00 00
[coolscan] 096: 00 03 04 03 00 00 01 01 01 00 00 0e 75 00 00 37
[coolscan] 112: c0 00 00 2a 05
[coolscan] 	brightness=128, contrast=128
[coolscan] 	colormode=7, bits per pixel=8
[coolscan] 	negative=1, dropoutcolor=0, preview=0, transfermode=2, gammasel=2
[coolscan] get_window_param - return
[coolscan] starting scan
[coolscan] 
[coolscan] 000: 1b 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] pic_dot=288
[coolscan] bytes per line        = 864
[coolscan] pic_dot=288
[coolscan] pixels_per_line       = 288
[coolscan] pic_line=432
[coolscan] lines                 = 432
[coolscan] negative              = 1
[coolscan] brightness (halftone) = 128
[coolscan] contrast   (halftone) = 128
[coolscan] fast preview function = 0
[coolscan] reader_process started (forked)
[coolscan] reader_process: starting to READ data
[coolscan] pic_dot=288
[coolscan] pic_line=432
[coolscan] pic_dot=288
[coolscan] trim_bufsize to 64800
[coolscan] reader_process: reading 373248 bytes in blocks of 64800 bytes
[coolscan] read_data_block (type= 0 length = 64800)
[coolscan] 
[coolscan] 000: 28 00 00 00 00 00 00 fd 20 00
[coolscan] sane_get_parameters[coolscan] pic_dot=288
[coolscan] pic_line=432
[coolscan] pic_dot=288
[coolscan] sanei_scsi_cmd: returning 64800 bytes:
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] pic_dot=288
[coolscan] sane_read: read 32768 bytes
[coolscan] sane_read: read 28672 bytes
[coolscan] reader_procsane_read: read 3360 bytes
read; 308448 bytes to go
[coolscan] read_data_block (type= 0 length = 64800)
[coolscan] 
[coolscan] 000: 28 00 00 00 00 00 00 fd 20 00
[coolscan] sanei_scsi_cmd: returning 64800 bytes:
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] pic_dot=288
[coolscan] sane_read: read 32768 bytes
[coolscan] reader_process: buffer of 64800 bytes read; 243648 bytes to go
[coolscan] sane_read: read 3360 bytes
ngth = 64800)
[coolscan] 
[coolscan] 000: 28 00 00 00 00 00 00 fd 20 00
[coolscan] sanei_scsi_cmd: returning 64800 bytes:
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] pic_dot=288
[coolscan] sane_read: read 32768 bytes
[coolscan] reader_process: buffer of 64800 bytes read; 178848 bytes to go
[coolscan] sane_read: read 3360 bytes
ngth = 64800)
[coolscan] 
[coolscan] 000: 28 00 00 00 00 00 00 fd 20 00
[coolscan] sanei_scsi_cmd: returning 64800 bytes:
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] pic_dot=288
[coolscan] sane_read: read 32768 bytes
[coolscan] sane_read: reader_process: buffer of 64800 bytes read; 114048 bytes to go
[coolscan] sane_read: read 3360 bytes
ngth = 64800)
[coolscan] 
[coolscan] 000: 28 00 00 00 00 00 00 fd 20 00
[coolscan] sanei_scsi_cmd: returning 64800 bytes:
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] pic_dot=288
[coolscan] sane_read: read 32768 bytes
[coolscan] reader_process: buffer of 64800 bytes read; 49248 bytes to go
[coolscan] sane_read: read 3360 bytes
ngth = 49248)
[coolscan] 
[coolscan] 000: 28 00 00 00 00 00 00 c0 60 00
[coolscan] sanei_scsi_cmd: returning 49248 bytes:
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] pic_dot=288
[coolscan] sane_read: read 32768 bytes
[coolscan] reader_process: buffer of 49248 bytes read; 0 bytes to go
[coolscan] sane_read: read 96 bytes
[coolscan] sane_read: read 0 bytes
[coolscan] do_eof
[coolscan] sane_close
[coolscan] sane_exit




And now xsane itself:

$ xsane 
[sanei_debug] Setting debug level of coolscan to 128.
[coolscan] sane_init
[coolscan] attach_scanner: /dev/sg2
[coolscan] attach_scanner: opening /dev/sg2
[coolscan] identify_scanner
[coolscan] do_inquiry
[coolscan] 
[coolscan] 000: 12 00 00 00 24 00
[coolscan] sanei_scsi_cmd: returning 36 bytes:
[coolscan] 
[coolscan] 000: 06 00 02 02 1f 00 00 00 4e 69 6b 6f 6e 20 20 20
[coolscan] 016: 4c 53 2d 31 30 30 30 20 20 20 20 20 20 20 20 20
[coolscan] 032: 31 2e 30 36
[coolscan] get_inquiry_values
[coolscan] Found Nikon scanner LS-1000 version 1.06 on device /dev/sg2
[coolscan] initialize_values
[coolscan] 
[coolscan] 000: 15 10 00 00 14 00 00 00 00 08 00 00 00 00 00 00
[coolscan] 016: 00 01 03 06 00 00 0a 8c 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] Mode Sense...
[coolscan] 
[coolscan] 000: 1a 18 03 00 0c 00
[coolscan] sanei_scsi_cmd: returning 12 bytes:
[coolscan] 
[coolscan] 000: 0b 00 00 00 03 06 00 00 0a 8c 00 00
[coolscan]      Mode Sensed (MUD is 2700)
[coolscan] get_internal_info
[coolscan] get_internal_info
[coolscan] wait_scanner: Testing if scanner is ready
[coolscan] 
[coolscan] 000: 00 00 00 00 00 00
[coolscan] sanei_scsi_cmd: returning 0 bytes:
[coolscan] wait_scanner: scanner is ready
[coolscan] 
[coolscan] 000: 28 00 e0 00 00 00 00 01 00 00
[coolscan] sanei_scsi_cmd: returning 256 bytes:
[coolscan] 
[coolscan] 000: 0c 08 0a 8c 04 7f 06 bf 0a 1f 0f 2f 00 00 00 00
[coolscan] 016: 00 00 00 64 09 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[coolscan]      adbits=12       outputbits=8    maxres=2700     xmax=1151      ymax=1727
        xmaxpix=2591    ymaxpix=3887    ycurrent=0      currentfocus=100
        autofeeder=No   analoggamma=No  currentscanpitch=9
        White balance exposure time var [RGB]=  2613 3918 2953
        Prescan result exposure time var [RGB]= 3701 14272 3701
        Current exposure time var.[RGB]=        3701 14272 10757
        Internal exposure time unit[RGB]=       2 3 2
        offsetdata_[rgb]=       0x87 0x86 0x87
        limitcondition=0x7c
        device error code = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
        power-on errors = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[coolscan] backend runs on little endian machine
[coolscan] attach: dev->dpi_range.max = 2700.000000
[coolscan] attach_scanner done
[coolscan] attach_scanner: /dev/scanner
[coolscan] attach_scanner: opening /dev/scanner
[coolscan] attach_scanner: open failed
[coolscan] sane_get_devices

... device dialog appears here - select Nikon LS-1000:

[coolscan] sane_open
[coolscan] init_options
[coolscan] sane_get_option_descriptor 0

... error dialog showing message about options

[coolscan] sane_close
[coolscan] do_cancel
[coolscan] do_eof
[coolscan] do_cancel: kill reader_process
[coolscan] sane_exit

-- 
Bob Hepple
mailto:bhepple@freeshell.org http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt


--Multipart=_Sun__16_Jan_2005_20_46_45_+1000_pP_pbMINUn3sAGcg
Content-Type: application/pgp-signature;
 name="00000000.mimetmp"
Content-Disposition: attachment;
 filename="00000000.mimetmp"
Content-Transfer-Encoding: base64

LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuMi42IChHTlUv
TGludXgpCgppRDhEQlFGQjZqZUFJVXFUS3lmZEs4c1JBdGoxQUo5Yk9kUTIrWmNyekxxa0E4Yllp
SHppSVEySHF3Q2dobFdKCmdwZkF3cGtnSXNPdHhVT24wZm9MdWpNPQo9TG1pTQotLS0tLUVORCBQ
R1AgU0lHTkFUVVJFLS0tLS0KCg==

--Multipart=_Sun__16_Jan_2005_20_46_45_+1000_pP_pbMINUn3sAGcg--

--Signature=_Sun__16_Jan_2005_20_46_45_+1000__hFcEKKI8DgfDx5Y
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFB6kYVIUqTKyfdK8sRAh9lAKCTb9sWLHE9DCddTvt2zI46tqSSagCffBVk
lSs5PVCgDAWO20ga6EkreU4=
=RXd8
-----END PGP SIGNATURE-----

--Signature=_Sun__16_Jan_2005_20_46_45_+1000__hFcEKKI8DgfDx5Y--