Hi All, I'm trying to set up an Epson GT-8000 on SuSE9.1 and have come across a strange behaviour... The scanner is correctly identified on /dev/sg0 by sane-find-scanner, but that's where it goes screwy. scanimage -L fails to identify any scanners. If I run scanimage again, the scanner is identified and can scan an image, but the error light comes on on the scanner. a further scanimage fails to detect, but the error light goes out. This procedure can be repeated ad nauseam. Thanks for any help Dylan output from failed scanimage -L ===================== [sanei_debug] Setting debug level of dll to 255. [dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.13 [dll] sane_init: reading dll.conf [dll] add_backend: adding backend `epson' [dll] sane_get_devices [dll] load: searching backend `epson' in `/usr/lib/sane' [dll] load: trying to load `/usr/lib/sane/libsane-epson.so.1' [dll] load: dlopen()ing `/usr/lib/sane/libsane-epson.so.1' [dll] init: initializing backend `epson' [sanei_debug] Setting debug level of epson to 255. [epson] sane_init: sane-backends 1.0.13 [epson] sane_init, ># epson.conf< [epson] sane_init, >#< [epson] sane_init, ># here are some examples for how to configure the EPSON backend< [epson] sane_init, >#< [epson] sane_init, ># SCSI scanner:< [epson] sane_init, >scsi EPSON< [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_scsi] sanei_scsi_find_devices: vendor=EPSON model=(null) type=(null) bus=0 chan=0 id=4 lun=0 num=0 [sanei_scsi] lx_chk_id: 0,0 0,0 4,4 0,0 [sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0 [epson] attach_one(/dev/sg0) [epson] SANE Epson Backend v0.2.40 - 2003-10-27 [epson] attach(/dev/sg0, 1) [epson] attach: opening /dev/sg0 [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_scsi] sanei_scsi_find_devices: vendor=(null) model=(null) type=Processor bus=0 chan=0 id=4 lun=0 num=0 [sanei_scsi] lx_chk_id: 0,0 0,0 4,4 0,0 [sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0 [sanei_scsi] get_max_buffer_size for /dev/sg0: 131072 [sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=131072 bytes [sanei_scsi] sanei_scsi_open: SG driver version: 30530 [sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer [sanei_scsi] trying to enable low level command queueing [sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1 [sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time [sanei_scsi] sanei_scsi_open: using new SG header structure [epson] attach: sending INQUIRY [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768
device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=0 blen=36 dur=2ms sgat=0 op=0x12 [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=0 blen=36 dur=2ms sgat=0 op=0x12 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [epson] >EPSON SCANNER GT-8000 1.32< [epson] reset() [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 40 @ [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=1 blen=2 dur=2ms sgat=0 op=0x0a [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=1 blen=2 dur=2ms sgat=0 op=0x0a [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=2 blen=1 dur=2ms sgat=0 op=0x08 [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=2 blen=1 dur=2ms sgat=0 op=0x08 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [epson] receive buf, expected = 1, got = 1 [epson] buf[0] 06 . [epson] get_identity_information() [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 49 I [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> act: id=3 blen=2 t_o/elap=120000/32ms sgat=0 op=0x0a [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=3 blen=2 dur=209ms sgat=0 op=0x0a [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success [sanei_scsi] sense buffer: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [sanei_scsi] target status: 00 host status: 0004 driver status: 0000 [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 49 I [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> act: id=4 blen=2 t_o/elap=120000/34ms sgat=0 op=0x0a [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=4 blen=2 dur=75ms sgat=0 op=0x0a [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success [sanei_scsi] sense buffer: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [sanei_scsi] target status: 00 host status: 0004 driver status: 0000 [epson] ident failed [epson] sane_init, >#< [epson] sane_init, ># Parallel port scanner:< [epson] sane_init, >#pio 0x278< [epson] sane_init, >#pio 0x378< [epson] sane_init, >#pio 0x3BC< [epson] sane_init, >#< [epson] sane_init, ># USB scanner - only enable this if you have an EPSON scanner. It could< [epson] sane_init, ># otherwise block your non-EPSON scanner from being< [epson] sane_init, ># recognized.< [epson] sane_init, ># Depending on your distribution, you may need either the< [epson] sane_init, ># first or the second entry.< [epson] sane_init, >usb< [epson] attach_one_usb() [epson] SANE Epson Backend v0.2.40 - 2003-10-27 [epson] attach(, 3) [epson] attach: opening [dll] init: backend `epson' is version 1.0.240 [epson] sane_get_devices() [dll] sane_get_devices: found 0 devices [dll] sane_exit: exiting [dll] sane_exit: calling backend `epson's exit function [dll] sane_exit: finished
output from successful scanimage -L ======================== [sanei_debug] Setting debug level of dll to 255. [dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.13 [dll] sane_init: reading dll.conf [dll] add_backend: adding backend `epson' [dll] sane_get_devices [dll] load: searching backend `epson' in `/usr/lib/sane' [dll] load: trying to load `/usr/lib/sane/libsane-epson.so.1' [dll] load: dlopen()ing `/usr/lib/sane/libsane-epson.so.1' [dll] init: initializing backend `epson' [sanei_debug] Setting debug level of epson to 255. [epson] sane_init: sane-backends 1.0.13 [epson] sane_init, ># epson.conf< [epson] sane_init, >#< [epson] sane_init, ># here are some examples for how to configure the EPSON backend< [epson] sane_init, >#< [epson] sane_init, ># SCSI scanner:< [epson] sane_init, >scsi EPSON< [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_scsi] sanei_scsi_find_devices: vendor=EPSON model=(null) type=(null) bus=0 chan=0 id=4 lun=0 num=0 [sanei_scsi] lx_chk_id: 0,0 0,0 4,4 0,0 [sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0 [epson] attach_one(/dev/sg0) [epson] SANE Epson Backend v0.2.40 - 2003-10-27 [epson] attach(/dev/sg0, 1) [epson] attach: opening /dev/sg0 [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_scsi] sanei_scsi_find_devices: vendor=(null) model=(null) type=Processor bus=0 chan=0 id=4 lun=0 num=0 [sanei_scsi] lx_chk_id: 0,0 0,0 4,4 0,0 [sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0 [sanei_scsi] get_max_buffer_size for /dev/sg0: 131072 [sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=131072 bytes [sanei_scsi] sanei_scsi_open: SG driver version: 30530 [sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer [sanei_scsi] trying to enable low level command queueing [sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1 [sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time [sanei_scsi] sanei_scsi_open: using new SG header structure [epson] attach: sending INQUIRY [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768
device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=0 blen=36 dur=2ms sgat=0 op=0x12 [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=0 blen=36 dur=2ms sgat=0 op=0x12 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [epson] >EPSON SCANNER GT-8000 1.32< [epson] reset() [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 40 @ [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=1 blen=2 dur=3ms sgat=0 op=0x0a [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=1 blen=2 dur=3ms sgat=0 op=0x0a [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success [sanei_scsi] sense buffer: 70 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 [sanei_scsi] target status: 02 host status: 0000 driver status: 0008 [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=2 blen=1 dur=3ms sgat=0 op=0x08 [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=2 blen=1 dur=3ms sgat=0 op=0x08 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success [sanei_scsi] sense buffer: 70 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 [sanei_scsi] target status: 02 host status: 0000 driver status: 0008 [epson] receive buf, expected = 1, got = 1 [epson] buf[0] 1b . [epson] get_identity_information() [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 49 I [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=3 blen=2 dur=2ms sgat=0 op=0x0a [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=3 blen=2 dur=2ms sgat=0 op=0x0a [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=4 blen=4 dur=2ms sgat=0 op=0x08 [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=4 blen=4 dur=2ms sgat=0 op=0x08 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [epson] receive buf, expected = 4, got = 4 [epson] buf[0] 02 . [epson] buf[1] 00 . [epson] buf[2] 4f O [epson] buf[3] 00 . [epson] code 02 [epson] status 00 [epson] count 79 [sanei_scsi] scsi_req_enter: entered 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=5 blen=79 dur=2ms sgat=0 op=0x08 [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40262008 [sanei_scsi] sanei_scsi.issue: 0x40262008 dev_max(currently)=6 max_active_device=1 (origin 1) def_reserved_size=32768 device=sg0 scsi0 chan=0 id=4 lun=0 em=0 sg_tablesize=50 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rb>> rcv: id=5 blen=79 dur=2ms sgat=0 op=0x08 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [epson] receive buf, expected = 79, got = 79 <SNIP>
-- "I see your Schwartz is as big as mine" -Dark Helmet