Hi Henning,
> Could you send the output of: > SANE_DEBUG_COOLSCAN=255 xsane > sure. here you go. > As a workaround, you could diable (comment out) "coolscan" in > /etc/sane.d/dll.conf. That did it. Now xsane works like a charm. Thanks! Carlos
[sanei_debug] Setting debug level of coolscan to 255. [coolscan] sane_init [coolscan] attach_scanner: /dev/sg0 [coolscan] attach_scanner: opening /dev/sg0 [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 80 02 02 1f 00 00 00 4e 69 6b 6f 6e 20 20 20 [coolscan] 016: 4c 53 2d 34 30 30 30 20 45 44 20 20 20 20 20 20 [coolscan] 032: 31 2e 30 35 [coolscan] get_inquiry_values [coolscan] Found Nikon scanner LS-4000 ED version 1.05 on device /dev/sg0 [coolscan] initialize_values [coolscan] [coolscan] 000: 12 01 00 00 04 00 [coolscan] sanei_scsi_cmd: returning 4 bytes: [coolscan] [coolscan] 000: 06 00 02 02 [coolscan] [coolscan] 000: 12 01 00 00 06 00 [coolscan] sanei_scsi_cmd: returning 6 bytes: [coolscan] [coolscan] 000: 06 00 02 02 1f 01 [coolscan] [coolscan] 000: 12 01 20 00 04 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 4 bytes: [coolscan] [coolscan] 000: 06 00 02 02 [coolscan] [coolscan] 000: 12 01 20 00 06 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 6 bytes: [coolscan] [coolscan] 000: 06 00 02 02 1f 01 [coolscan] [coolscan] 000: 12 01 4c 00 04 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 4 bytes: [coolscan] [coolscan] 000: 06 00 02 02 [coolscan] [coolscan] 000: 12 01 4c 00 06 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 6 bytes: [coolscan] [coolscan] 000: 06 00 02 02 1f 01 [coolscan] [coolscan] 000: 12 01 53 00 04 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 4 bytes: [coolscan] [coolscan] 000: 06 00 02 02 [coolscan] [coolscan] 000: 12 01 53 00 06 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 6 bytes: [coolscan] [coolscan] 000: 06 00 02 02 1f 01 [coolscan] [coolscan] 000: 12 01 2d 00 04 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 4 bytes: [coolscan] [coolscan] 000: 06 00 02 02 [coolscan] [coolscan] 000: 12 01 2d 00 06 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 6 bytes: [coolscan] [coolscan] 000: 06 00 02 02 1f 01 [coolscan] [coolscan] 000: 12 01 34 00 04 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 4 bytes: [coolscan] [coolscan] 000: 06 00 02 02 [coolscan] [coolscan] 000: 12 01 34 00 06 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 6 bytes: [coolscan] [coolscan] 000: 06 00 02 02 1f 01 [coolscan] GET_WINDOW_PARAM [coolscan] Get window cmd [coolscan] 000: 25 01 00 00 00 00 00 00 3a 00 [coolscan] [coolscan] 000: 25 01 00 00 00 00 00 00 3a 00 [coolscan] sanei_scsi_cmd: returning 58 bytes: [coolscan] [coolscan] 000: 00 38 00 00 00 00 00 32 00 00 0f a0 0f a0 00 00 [coolscan] 016: 00 00 00 00 00 00 00 00 04 80 00 00 06 c2 00 00 [coolscan] 032: 00 02 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 [coolscan] 048: 00 01 01 02 02 ff 00 00 b3 1f [coolscan] Window get [coolscan] 000: 00 00 0f a0 0f a0 00 00 00 00 00 00 00 00 00 00 [coolscan] 016: 04 80 00 00 06 c2 00 00 00 02 0e 00 00 00 00 00 [coolscan] 032: 00 00 00 00 00 00 00 00 00 01 01 02 02 ff 00 00 [coolscan] 048: b3 1f 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] 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] brightness=0, contrast=0 [coolscan] colormode=1886352469, bits per pixel=14 [coolscan] pre_r=1701734764, pre_g=1818314301, preb=1933206899 [coolscan] negative=1852794426, dropoutcolor=1919252084, preview=1717792814, transfermode=0, gammasel=0 [coolscan] get_window_param - return [coolscan] GET_WINDOW_PARAM [coolscan] Get window cmd [coolscan] 000: 25 01 00 00 00 01 00 00 3a 00 [coolscan] [coolscan] 000: 25 01 00 00 00 01 00 00 3a 00 [coolscan] sanei_scsi_cmd: returning 58 bytes: [coolscan] [coolscan] 000: 00 38 00 00 00 00 00 32 01 00 0f a0 0f a0 00 00 [coolscan] 016: 00 00 00 00 00 00 00 00 04 80 00 00 06 c2 00 00 [coolscan] 032: 00 02 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 [coolscan] 048: 00 01 01 02 02 ff 00 00 eb 84 [coolscan] Window get [coolscan] 000: 01 00 0f a0 0f a0 00 00 00 00 00 00 00 00 00 00 [coolscan] 016: 04 80 00 00 06 c2 00 00 00 02 0e 00 00 00 00 00 [coolscan] 032: 00 00 00 00 00 00 00 00 00 01 01 02 02 ff 00 00 [coolscan] 048: eb 84 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] 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] brightness=0, contrast=0 [coolscan] colormode=1886352469, bits per pixel=14 [coolscan] pre_r=1701734764, pre_g=1818314301, preb=1933206899 [coolscan] negative=1852794426, dropoutcolor=1919252084, preview=1717792814, transfermode=0, gammasel=0 [coolscan] get_window_param - return [coolscan] GET_WINDOW_PARAM [coolscan] Get window cmd [coolscan] 000: 25 01 00 00 00 02 00 00 3a 00 [coolscan] [coolscan] 000: 25 01 00 00 00 02 00 00 3a 00 [coolscan] sanei_scsi_cmd: returning 58 bytes: [coolscan] [coolscan] 000: 00 38 00 00 00 00 00 32 02 00 0f a0 0f a0 00 00 [coolscan] 016: 00 00 00 00 00 00 00 00 04 80 00 00 06 c2 00 00 [coolscan] 032: 00 02 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 [coolscan] 048: 00 01 01 02 02 ff 00 00 b3 1f [coolscan] Window get [coolscan] 000: 02 00 0f a0 0f a0 00 00 00 00 00 00 00 00 00 00 [coolscan] 016: 04 80 00 00 06 c2 00 00 00 02 0e 00 00 00 00 00 [coolscan] 032: 00 00 00 00 00 00 00 00 00 01 01 02 02 ff 00 00 [coolscan] 048: b3 1f 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] 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] brightness=0, contrast=0 [coolscan] colormode=1886352469, bits per pixel=14 [coolscan] pre_r=1701734764, pre_g=1818314301, preb=1933206899 [coolscan] negative=1852794426, dropoutcolor=1919252084, preview=1717792814, transfermode=0, gammasel=0 [coolscan] get_window_param - return [coolscan] GET_WINDOW_PARAM [coolscan] Get window cmd [coolscan] 000: 25 01 00 00 00 03 00 00 3a 00 [coolscan] [coolscan] 000: 25 01 00 00 00 03 00 00 3a 00 [coolscan] sanei_scsi_cmd: returning 58 bytes: [coolscan] [coolscan] 000: 00 38 00 00 00 00 00 32 03 00 0f a0 0f a0 00 00 [coolscan] 016: 00 00 00 00 00 00 00 00 04 80 00 00 06 c2 00 00 [coolscan] 032: 00 02 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 [coolscan] 048: 00 01 01 02 02 ff 00 00 7f 02 [coolscan] Window get [coolscan] 000: 03 00 0f a0 0f a0 00 00 00 00 00 00 00 00 00 00 [coolscan] 016: 04 80 00 00 06 c2 00 00 00 02 0e 00 00 00 00 00 [coolscan] 032: 00 00 00 00 00 00 00 00 00 01 01 02 02 ff 00 00 [coolscan] 048: 7f 02 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] 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] brightness=0, contrast=0 [coolscan] colormode=1886352469, bits per pixel=14 [coolscan] pre_r=1701734764, pre_g=1818314301, preb=1933206899 [coolscan] negative=1852794426, dropoutcolor=1919252084, preview=1717792814, transfermode=0, gammasel=0 [coolscan] get_window_param - return [coolscan] GET_WINDOW_PARAM [coolscan] Get window cmd [coolscan] 000: 25 01 00 00 00 04 00 00 3a 00 [coolscan] [coolscan] 000: 25 01 00 00 00 04 00 00 3a 00 [coolscan] sanei_scsi_cmd: returning 58 bytes: [coolscan] [coolscan] 000: 00 38 00 00 00 00 00 32 04 00 0f a0 0f a0 00 00 [coolscan] 016: 00 00 00 00 00 00 00 00 04 80 00 00 06 c2 00 00 [coolscan] 032: 00 02 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 [coolscan] 048: 00 01 01 02 02 ff 00 00 eb 84 [coolscan] Window get [coolscan] 000: 04 00 0f a0 0f a0 00 00 00 00 00 00 00 00 00 00 [coolscan] 016: 04 80 00 00 06 c2 00 00 00 02 0e 00 00 00 00 00 [coolscan] 032: 00 00 00 00 00 00 00 00 00 01 01 02 02 ff 00 00 [coolscan] 048: eb 84 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] 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] brightness=0, contrast=0 [coolscan] colormode=1886352469, bits per pixel=14 [coolscan] pre_r=1701734764, pre_g=1818314301, preb=1933206899 [coolscan] negative=1852794426, dropoutcolor=1919252084, preview=1717792814, transfermode=0, gammasel=0 [coolscan] get_window_param - return [coolscan] GET_WINDOW_PARAM [coolscan] Get window cmd [coolscan] 000: 25 01 00 00 00 09 00 00 3a 00 [coolscan] [coolscan] 000: 25 01 00 00 00 09 00 00 3a 00 [coolscan] 5/36/0: Invalid Field In CDB [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 58 bytes: [coolscan] [coolscan] 000: 00 38 00 00 00 00 00 32 09 00 0f a0 0f a0 00 00 [coolscan] 016: 00 00 00 00 00 00 00 00 04 80 00 00 06 c2 00 00 [coolscan] 032: 00 02 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 [coolscan] 048: 00 01 01 02 02 ff 00 03 54 08 [coolscan] Window get [coolscan] 000: 09 00 0f a0 0f a0 00 00 00 00 00 00 00 00 00 00 [coolscan] 016: 04 80 00 00 06 c2 00 00 00 02 0e 00 00 00 00 00 [coolscan] 032: 00 00 00 00 00 00 00 00 00 01 01 02 02 ff 00 03 [coolscan] 048: 54 08 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] 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] brightness=0, contrast=0 [coolscan] colormode=1886352469, bits per pixel=14 [coolscan] pre_r=1701734764, pre_g=1818314301, preb=1933206899 [coolscan] negative=1852794426, dropoutcolor=1919252084, preview=1717792814, transfermode=0, gammasel=0 [coolscan] get_window_param - return [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] 5/38/0: Invalid Field in Parameter List [coolscan] sanei_scsi_cmd: returning 0x00000009 [coolscan] sanei_scsi_cmd: returning 0 bytes: [coolscan] [coolscan] 000: 12 01 01 00 04 00 [coolscan] sanei_scsi_cmd: returning 4 bytes: [coolscan] [coolscan] 000: 06 01 02 02 [coolscan] [coolscan] 000: 12 01 01 00 06 00 [coolscan] sanei_scsi_cmd: returning 6 bytes: [coolscan] [coolscan] 000: 06 01 02 02 06 4d