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

Bernd Schroeder (Bernd.M.Schroeder@gmx.de)
Sat, 10 Jul 1999 16:20:15 +0200 (MEST)

This is a multi-part message in MIME format.

--------------A4EBD338E85B73FC40C07220
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

> 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
--------------A4EBD338E85B73FC40C07220
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

> [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 --------------A4EBD338E85B73FC40C07220--

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

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