Re: Microtek ScanMaker IV on Linux-2.2.10 (Redhat 6.0)

Mike Harris (mikenao@home.net)
Sun, 18 Jul 1999 20:27:36 -0700

This is a multi-part message in MIME format.
--------------16AEF152FCBDD4DB0AD9A286
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Bernd:

Sorry for the delayed reply. I was out of town for a week.

I've downloaded the backend, microtek ver. 0.8, and recompiled.

Attached are the output files, one with option dump 1 and another set to 4.

Appears to be dying now with the line:
[microtek2] check_inquiry: Model 0x81 not supported

Hopefully this information will help.

Mike

Bernd Schroeder wrote:

> > Microtek ScanMaker4
> > Model # MRS-1200TP
> > 1999
> >
> > New Scanner... Didn't see it mentioned at all on your page, so here are
> > the output files from various commands:
> >
> > The following environment variables were exported as follows:
> >
> > declare -x SANE_DEBUG_DLL="128"
> > declare -x SANE_DEBUG_MICROTEK="128"
> > declare -x SANE_DEBUG_MICROTEK2="128"
> > declare -x SANE_DEBUG_SANEI_SCSI="128"
> >
> > The following is an excerpt from dmesg:
> >
> > (scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 11/0
> > (scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
> > (scsi0) Downloading sequencer code... 413 instructions downloaded
> > scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.17/3.2.4
> > <Adaptec AHA-294X Ultra SCSI host adapter>
> > scsi : 1 host.
> > (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
> > Vendor: IBM Model: DRVS09V Rev: 00E5
> > Type: Direct-Access ANSI SCSI revision: 03
> > Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> > (scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> > Vendor: TANDEM Model: 4255-1 Rev: 5t5t
> > Type: Direct-Access ANSI SCSI revision: 02
> > Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
> > (scsi0:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> > Vendor: TANDEM Model: 4255-1 Rev: 5t5t
> > Type: Direct-Access ANSI SCSI revision: 02
> > Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0
> > (scsi0:0:3:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> > Vendor: TANDEM Model: 4255-1 Rev: 5t5t
> > Type: Direct-Access ANSI SCSI revision: 02
> > Detected scsi disk sdd at scsi0, channel 0, id 3, lun 0
> > Vendor: RICOH Model: MP6200S Rev: 2.03
> > Type: CD-ROM ANSI SCSI revision: 02
> > Vendor: Microtek Model: ScanMaker IV Rev: 1.00
> > Type: Scanner ANSI SCSI revision: 02
> > scsi : detected 4 SCSI disks total.
> >
> >
>
> --
> Sent through Global Message Exchange - http://www.gmx.net
>
> ------------------------------------------------------------------------
> > [sanei_init_debug]: Setting debug level of dll to 128.
> > [dll] adding backend net
> > [dll] adding backend abaton
> > [dll] adding backend agfafocus
> > [dll] adding backend apple
> > [dll] adding backend artec
> > [dll] adding backend canon
> > [dll] adding backend coolscan
> > [dll] adding backend dmc
> > [dll] adding backend epson
> > [dll] adding backend hp
> > [dll] adding backend microtek
> > [dll] adding backend microtek2
> > [dll] adding backend mustek
> > [dll] adding backend pint
> > [dll] adding backend qcam
> > [dll] adding backend ricoh
> > [dll] adding backend s9036
> > [dll] adding backend sharp
> > [dll] adding backend snapscan
> > [dll] adding backend tamarack
> > [dll] adding backend umax
> > [dll] loading backend microtek2
> > [dll] dlopen()ing `/usr/lib/sane/libsane-microtek2.so.1'
> > [dll] init: initializing backend `microtek2'
> > [sanei_init_debug]: Setting debug level of microtek2 to 128.
> > [microtek2] sane_init: Microtek2 (v0.6) says hello...
> > [microtek2] attach_one: name='# See sane-microtek2(5) for a description
> of the options
> > '
> > [microtek2] add_device_list: device='# See sane-microtek2(5) for a
> description of the options'
> > [microtek2] add_device_list: Comment or empty line in microtek2.conf
> > [microtek2] attach_one: returning
> > [microtek2] attach_one: name='
> > '
> > [microtek2] add_device_list: device=''
> > [microtek2] add_device_list: Comment or empty line in microtek2.conf
> > [microtek2] attach_one: returning
> > [microtek2] attach_one: name='option dump 1
> > '
> > [microtek2] add_device_list: device='option dump 1'
> > [microtek2] attach_one: returning
> > [microtek2] attach_one: name='# option lightlid-35 on
> > '
> > [microtek2] add_device_list: device='# option lightlid-35 on'
> > [microtek2] add_device_list: Comment or empty line in microtek2.conf
> > [microtek2] attach_one: returning
> > [microtek2] attach_one: name='# option no-backtrack-option on
> > '
> > [microtek2] add_device_list: device='# option no-backtrack-option on'
> > [microtek2] add_device_list: Comment or empty line in microtek2.conf
> > [microtek2] attach_one: returning
> > [microtek2] attach_one: name='/dev/sgf
> > '
> > [microtek2] add_device_list: device='/dev/sgf'
> > [microtek2] attach: device='/dev/sgf'
> > [microtek2] scsi_inquiry: mi=0x804dbcc, device='/dev/sgf'
> > [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
> > [sanei_scsi] scsi_req_enter: entered 0x804e508
> > [sanei_scsi] sanei_scsi_req_wait: waiting for 0x804e508
> > [sanei_scsi] sanei_scsi.issue: 0x804e508
> > [sanei_scsi] sanei_scsi_req_wait: read 41 bytes
> > [sanei_scsi] scsi_req_enter: entered 0x804e508
> > [sanei_scsi] sanei_scsi_req_wait: waiting for 0x804e508
> > [sanei_scsi] sanei_scsi.issue: 0x804e508
> > [sanei_scsi] sanei_scsi_req_wait: read 132 bytes
> > [microtek2] check_inquiry: mi=0x804dbcc
> > [microtek2] check_inquiry: Device is not a Microtek, but 'Microtek'
>
> Considering the inquiry information the microtek2 backend should
> handle this model. However, the backend has the same problem that was
> recently mentioned for the microtek backend, that the
> check for the vendor string in the inquiry information is case
> sensitive, and recognizes a model only when written completely in
> upper case.
>
> Until now all models that are supported by the microtek2 backend
> use a vendor string that consists of eight spaces.
>
> I have uploaded a version of the backend to
>
> ftp://ftp.muc.de/people/bernds/mtek2/microtek2-pre0.8.100799.tar.gz
>
> that takes the case into account.
>
> If you have any success (or not) with this model, please let me
> know. Also it would be interesting to have a look at the scanner
> attributes that are printed to stderr if ´option dump 1´ is
> enabled in the microtek2.conf file (default).
>
> Bernd

--------------16AEF152FCBDD4DB0AD9A286
Content-Type: text/plain; charset=us-ascii;
name="scan-dump-1.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="scan-dump-1.out"

[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend net
[dll] adding backend abaton
[dll] adding backend agfafocus
[dll] adding backend apple
[dll] adding backend artec
[dll] adding backend canon
[dll] adding backend coolscan
[dll] adding backend dmc
[dll] adding backend epson
[dll] adding backend hp
[dll] adding backend microtek
[dll] adding backend microtek2
[dll] adding backend mustek
[dll] adding backend pint
[dll] adding backend qcam
[dll] adding backend ricoh
[dll] adding backend s9036
[dll] adding backend sharp
[dll] adding backend snapscan
[dll] adding backend tamarack
[dll] adding backend umax
[dll] loading backend microtek2
[dll] dlopen()ing `/usr//lib/sane/libsane-microtek2.so.1'
[dll] init: initializing backend `microtek2'
[sanei_init_debug]: Setting debug level of microtek2 to 128.
[microtek2] sane_init: Microtek2 (v0.8) says hello...
[microtek2] parse_config_file: fp=0x804dc70
[microtek2] attach_one: name='option dump 1
'
[microtek2] add_device_list: device='option dump 1'
[microtek2] attach: device='option dump 1'
[microtek2] scsi_inquiry: mi=0x804dd6c, device='option dump 1'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: open of `option dump 1' failed: No such file or directory
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
[microtek2] attach_one: returning
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] searched device is /dev/sgf
[microtek2] attach_one: name='/dev/sgf'
[microtek2] add_device_list: device='/dev/sgf'
[microtek2] attach: device='/dev/sgf'
[microtek2] scsi_inquiry: mi=0x804e624, device='/dev/sgf'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] scsi_req_enter: entered 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804efa0
[sanei_scsi] sanei_scsi.issue: 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: read 41 bytes
[sanei_scsi] scsi_req_enter: entered 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804efa0
[sanei_scsi] sanei_scsi.issue: 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes
[microtek2] check_inquiry: mi=0x804e624
[microtek2] check_inquiry: Model 0x81 not supported
[microtek2] attach_one: returning
[sanei_scsi] searched device is /dev/sgf
[microtek2] attach_one: name='/dev/sgf'
[microtek2] add_device_list: device='/dev/sgf'
[microtek2] add_device_list: device '/dev/sgf' already in list
[microtek2] attach_one: returning
[microtek2] sane_open: device=''
[microtek2] add_device_list: device=''
[microtek2] attach: device=''
[microtek2] scsi_inquiry: mi=0x8056fec, device=''
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: open of `' failed: No such file or directory
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
scanimage: open of device microtek2 failed: Invalid argument
[dll] exiting
[dll] calling backend `microtek2's exit function
[microtek2] sane_exit:
[microtek2] sane_get_devices: local_only=0
[microtek2] sane_get_devices: sd_list_freed
[microtek2] sane_exit: MICROTEK2 says goodbye.

--------------16AEF152FCBDD4DB0AD9A286
Content-Type: text/plain; charset=us-ascii;
name="scan-dump-4.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="scan-dump-4.out"

[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend net
[dll] adding backend abaton
[dll] adding backend agfafocus
[dll] adding backend apple
[dll] adding backend artec
[dll] adding backend canon
[dll] adding backend coolscan
[dll] adding backend dmc
[dll] adding backend epson
[dll] adding backend hp
[dll] adding backend microtek
[dll] adding backend microtek2
[dll] adding backend mustek
[dll] adding backend pint
[dll] adding backend qcam
[dll] adding backend ricoh
[dll] adding backend s9036
[dll] adding backend sharp
[dll] adding backend snapscan
[dll] adding backend tamarack
[dll] adding backend umax
[dll] loading backend microtek2
[dll] dlopen()ing `/usr//lib/sane/libsane-microtek2.so.1'
[dll] init: initializing backend `microtek2'
[sanei_init_debug]: Setting debug level of microtek2 to 128.
[microtek2] sane_init: Microtek2 (v0.8) says hello...
[microtek2] parse_config_file: fp=0x804dc70
[microtek2] attach_one: name='option dump 4
'
[microtek2] add_device_list: device='option dump 4'
[microtek2] attach: device='option dump 4'
[microtek2] scsi_inquiry: mi=0x804dd6c, device='option dump 4'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: open of `option dump 4' failed: No such file or directory
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
[microtek2] attach_one: returning
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] searched device is /dev/sgf
[microtek2] attach_one: name='/dev/sgf'
[microtek2] add_device_list: device='/dev/sgf'
[microtek2] attach: device='/dev/sgf'
[microtek2] scsi_inquiry: mi=0x804e624, device='/dev/sgf'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] scsi_req_enter: entered 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804efa0
[sanei_scsi] sanei_scsi.issue: 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: read 41 bytes
[inquiry]
120000006000
[sanei_scsi] scsi_req_enter: entered 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804efa0
[sanei_scsi] sanei_scsi.issue: 0x804efa0
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes
[inquiryresult]
060002025b0000004d6963726f74656b5363616e4d616b657220495620202020312e3030810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[microtek2] dump_area: inquiryresult
0: 060002025b000000 4d6963726f74656b ....[... Microtek
16: 5363616e4d616b65 7220495620202020 ScanMake r IV
32: 312e303081000000 0000000000000000 1.00.... ........
48: 0000000000000000 0000000000000000 ........ ........
64: 0000000000000000 0000000000000000 ........ ........
80: 0000000000000000 0000000000000000 ........ ........
[microtek2] check_inquiry: mi=0x804e624
[microtek2] check_inquiry: Model 0x81 not supported
[microtek2] attach_one: returning
[sanei_scsi] searched device is /dev/sgf
[microtek2] attach_one: name='/dev/sgf'
[microtek2] add_device_list: device='/dev/sgf'
[microtek2] add_device_list: device '/dev/sgf' already in list
[microtek2] attach_one: returning
[microtek2] sane_open: device=''
[microtek2] add_device_list: device=''
[microtek2] attach: device=''
[microtek2] scsi_inquiry: mi=0x8056fec, device=''
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: open of `' failed: No such file or directory
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
scanimage: open of device microtek2 failed: Invalid argument
[dll] exiting
[dll] calling backend `microtek2's exit function
[microtek2] sane_exit:
[microtek2] sane_get_devices: local_only=0
[microtek2] sane_get_devices: sd_list_freed
[microtek2] sane_exit: MICROTEK2 says goodbye.

--------------16AEF152FCBDD4DB0AD9A286--

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com