i´m try to use the Mustek scanner 1200SP (ScanExpress) but scanimage
always exits with:
"scanimage: open of device mustek:/dev/scanner failed: Invalid
argument"
Hope you find some usefull information in the log prints below:
-----------------------------------------------------------
find-scanner generates this output:
find-scanner: found scanner "SCANNER 1.03" at device /dev/scanner
find-scanner: found scanner "SCANNER 1.03" at device /dev/sg2
------------------------------------------------------------
I´m using Linux 2.0.30, with Intel166MMX, 64MB, Adaptec AHA2940 on
board.
A part of the bootup message:
......
<4>scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI)
4.0/3.2/4.0
<4>scsi : 1 host.
<6>scsi0: Scanning channel A for devices.
<4>scsi0: Target 0, channel A, now synchronous at 10.0MHz, offset 15.
<4> Vendor: IBM Model: DPES-31080 Rev: S31Q
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
<4>scsi0: Target 1, channel A, now synchronous at 10.0MHz, offset 15.
<4> Vendor: QUANTUM Model: FIREBALL_TM2110S Rev: 300X
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
<4> Vendor: SCANNER Model: Rev: 1.03
<4> Type: Scanner ANSI SCSI revision: 01
CCS
<4>scsi0: Target 6, channel A, now synchronous at 4.0MHz, offset 15.
<4> Vendor: SONY Model: CD-ROM CDU-55S Rev: 1.0t
<4> Type: CD-ROM ANSI SCSI revision: 02
<4>scsi : detected 2 SCSI disks total.
.......
------------------------------------------------------------------
A try with scanimage and all debug levels set to 128:
[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend mustek
[dll] loading backend mustek
[dll] load: found `/usr/local/lib/libsane-mustek.la'
[dll] dlopen()ing `/usr/local/lib/libsane-mustek.so.0'
[dll] init: initializing backend `mustek'
[sanei_init_debug]: Setting debug level of mustek to 128.
[mustek] attach: opening as scsi device
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: open() failed: No such file or directory
[mustek] dev_open: Invalid argument: can't open as a SCSI device
[mustek] dev_open: Invalid argument: can't open as a parallel-port
device
[mustek] sane_init: strip-height set to 1 inches
[mustek] attach: opening as scsi device
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: open() failed: No such file or directory
[mustek] dev_open: Invalid argument: can't open as a SCSI device
[mustek] dev_open: Invalid argument: can't open as a parallel-port
device
[mustek] attach: opening /dev/scanner as scsi device
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[mustek] attach: sending INQUIRY
[sanei_scsi] scsi_req_enter: entered 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804cdd8
[sanei_scsi] sanei_scsi.issue: 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes
[mustek] scsi_wait_ready: sending TEST_UNIT_READY
[sanei_scsi] scsi_req_enter: entered 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804cdd8
[sanei_scsi] sanei_scsi.issue: 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[mustek] attach: firmware revision 1.03
[mustek] attach: opening /dev/scanner as scsi device
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[mustek] scsi_wait_ready: sending TEST_UNIT_READY
[sanei_scsi] scsi_req_enter: entered 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804cdd8
[sanei_scsi] sanei_scsi.issue: 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[mustek] attach: sending INQUIRY
[sanei_scsi] scsi_req_enter: entered 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804cdd8
[sanei_scsi] sanei_scsi.issue: 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes
[mustek] scsi_wait_ready: sending TEST_UNIT_READY
[sanei_scsi] scsi_req_enter: entered 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804cdd8
[sanei_scsi] sanei_scsi.issue: 0x804cdd8
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[mustek] attach: firmware revision 1.03
scanimage: open of device mustek:/dev/scanner failed: Invalid argument
[dll] exiting
[dll] calling backend `mustek's exit function
Usage: scanimage [OPTION]...
Start image acquisition on a scanner device and write PNM image data to
standard output.
-d, --device-name=DEVICE use a given scanner device
-h, --help display this help message and exit
-L, --list-devices show available scanner devices
-v, --verbose give even more status messages
-V, --version print version information
Type ``scanimage --help -d DEVICE'' to get list of all options for
DEVICE.
List of available devices:
-----------------------------------------------------------------------------
E. Bloch ebloch@t-online.de
D - 44801 Bochum Tel: 0234-9789057
-----------------------------------------------------------------------------
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com