I get the exact same error.  If you find out anything, please let me know.
I used the scanner under sane some 5 years ago or so and the
author/maintainer of the microtek backend was very helpful in solving the
issues I had with it.  I have not been able to get in contact with him
lately (its been several months since trying due to travel).

Matt Henley
[email protected]


On 6/4/06, James Tuttle <[email protected]> wrote:
>
> Hi, everyone.
>
> I am trying to get my Microtek Scanmaker 35t+ SCSI slide scanner
> working on my Ubuntu box, and I'm not having any luck. In particular,
> everything seems to be working right, but when I try to scan, I get a
> "Error during device I/O" error and then everything just stops. I'm
> hoping somebody out there can help me.
>
> I don't know what information to provide so I'll start with the
> basics: machine is a P4 running Kubuntu (Ubunutu+KDE) Breezy, with an
> OrangeMicro Grappler 906F SCSI card. The card works fine for other
> applications; I have a tape changer/drive connected through it which
> is great.
>
> Running a cat /proc/scsi/scsi on the system shows this about the
> scanner:
>
> Host: scsi0 Channel: 00 Id: 05 Lun: 00
>    Vendor: MICROTEK Model: ScanMaker 35t+   Rev: 1.40
>    Type:   Scanner                          ANSI SCSI revision: 01 CCS
>
> I have modprobe sg being run as part of my bootmisc script, and the
> scanner is /dev/sg2 (sg0 and sg1 belong to the tape drive).
>
> scanimage -L doesn't produce any errors. I will append its output to
> the bottom of the message, but at least to my untrained eye there
> didn't seem to be anything amiss.
>
> The problem is when I try to actually use the scanner via scanimage
> or xsane. The output it gives me is basically the same stuff as
> scanimage -L, but then followed by its actual attempts to scan, which
> fail:
>
> [microtek] sane_start...
> [microtek] sane_get_parameters...
> [microtek] sane_get_parameters:  regular 1-pass color
> [microtek] sane_get_parameters:  res_code = 5 ( 5)
> [microtek] bright_r of 0 set to 0x0
> [microtek] sane_get_parameters:  dots_per_mm:  3.937008
> [microtek] sane_get_parameters:  units_per_mm:  76.771654
> [microtek] WIDTHPIX:  before exp: 136
> [microtek] sane_get_parameters:  lines: 137  ppl: 136  bpl: 408
> [microtek] .wait_ready 5...
> [microtek] finagle_precal...
> [microtek] .scanning_frame...
> [microtek] .scanning_frame:  in- 0,0  2686,2686
> [microtek] .scanning_frame: out- 0,0  2686,2686
> [microtek] .accessory...
> [microtek] .download_gamma...
> [microtek] .download_gamma:  1024 entries of 2 bytes, max 255
> [microtek] .download_gamma: by default
> [microtek] end_scan...
> scanimage: sane_start: Error during device I/O
> [microtek] sane_cancel...
> [microtek] end_scan...
> [microtek] sane_close...
> [microtek] sane_exit...
> [microtek] sane_exit:  MICROTEK says goodbye.
>
> That's the most I can get it to do. Running xsane does the same thing
> but gives me the error in a dialog instead of on the console. I've
> tried playing around with the file permissions on /dev/sg2 and /dev/
> scanner, checking the config files, running it as root ... I can't
> get it to do anything more. Since this scanner allegedly works with
> Sane, I'm hoping maybe someone can shed some light on the problem?
>
> Thanks very much in advance!
>
> -James Tuttle
> [email protected]
>
>
> Following is the complete output of scanimage -T, with maximum
> debugging verbosity:
> [sanei_debug] Setting debug level of microtek to 128.
> [microtek] sane_init:  MICROTEK says hello! (v0.13.1)
> [microtek] sane_init:  config-> # Uncomment following line to disable
> "real calibration" routines...
> [microtek] sane_init:  config-> #norealcal
> [microtek] sane_init:  config-> # Uncomment following line to disable
> "clever precalibration" routines...
> [microtek] sane_init:  config-> #noprecal
> [microtek] sane_init:  config-> #   Using "norealcal" will revert
> backend to pre-0.11.0 calibration code.
> [microtek] sane_init:  config-> scsi * * Scanner
> [microtek] attach_scanner:  /dev/sg2
> [microtek] attach_scanner:  opening /dev/sg2
> [microtek] attach_scanner:  sending INQUIRY
> [microtek] id_microtek...
> [microtek] parse_inquiry...
> [microtek] parse_inquiry:  Not an E6 -- pretend recal cannot be
> disabled.
> [microtek] dump_inquiry...
> [microtek]  === SANE/Microtek backend v0.13.1 ===
> [microtek] ========== Scanner Inquiry Block ========mm
> [microtek] 06 31 19 01 5b 00 00 00 4d 49 43 52 4f 54 45 4b
> [microtek] 53 63 61 6e 4d 61 6b 65 72 20 33 35 74 2b 20 20
> [microtek] 31 2e 34 30 53 43 53 49 20 46 2f 57 56 33 2e 34
> [microtek] 20 43 54 4c 35 33 38 30 03 ef 8c c2 80 ec 62 23
> [microtek] 01 03 23 01 00 83 00 01 0e 0e 01 05 00 00 00 00
> [microtek] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
> [microtek] ========== Scanner Inquiry Report ==========
> [microtek] ===== Scanner ID...
> [microtek] Device Type Code: 0x06
> [microtek] Model Code: 0x62
> [microtek] Vendor Name: 'MICROTEK'   Model Name: 'ScanMaker 35t+  '
> [microtek] Vendor Specific String: 'SCSI F/WV3.4 CTL5380'
> [microtek] Firmware Rev: '1.40'
> [microtek] SCSI F/W version: 3.1     Scanner F/W version: 1.9
> [microtek] Response data format: 0x01
> [microtek] ===== Imaging Capabilities...
> [microtek] Modes:  Lineart Halftone Gray Color (X-msv) (OnePass)
> (Negative)
> [microtek] Resolution Step Sizes: 1% 5%    Expanded Resolution
> Support? yes
> [microtek] Supported Bits Per Sample: 4 8
> [microtek] Max. document size code: 0x80
> [microtek] Max. document size:  2686 x 2686 pixels
> [microtek] Frame units:  pixels  1/8"'s
> [microtek] # of built-in halftones: 12   Downloadable patterns? Yes
> [microtek] Data Compression:
> [microtek] Contrast Settings: 14   Exposure Settings: 14
> [microtek] Adjustable Shadow/Highlight? yes   Adjustable Midtone? yes
> [microtek] Digital brightness/offset? yes
> [microtek] Gamma Table Size: 1024 entries of 2 bytes (max. depth: 10)
> [microtek] ===== Source Options...
> [microtek] Feed type:  edge-feed    ADF support? no
> [microtek] Document Feeder Support? yes   Feeder Backtracking? yes
> [microtek] Feeder Installed? no           Feeder Ready? no
> [microtek] Transparency Adapter Installed? no
> [microtek] Fast Color Prescan? yes
> [microtek] Selectable Transfer Format? no
> [microtek] Color Transfer Sequence: line-by-line, non-sequential with
> headers
> [microtek] Three pass scan support? no
> [microtek] ModeSelect-1 and ModeSense-1 Support? yes
> [microtek] Can Disable Linearization Table? no
> [microtek] Can Disable Start-of-Scan Recalibration? no
> [microtek] Internal expanded expansion? no
> [microtek] ====== End of Scanner Inquiry Report =======
> [microtek] attach_scanner:  happy.
> [microtek] sane_init:  config-> /dev/scanner
> [microtek] attach_scanner:  /dev/scanner
> [microtek] attach_scanner:  opening /dev/scanner
> [microtek] attach_scanner:  sending INQUIRY
> [microtek] id_microtek...
> [microtek] parse_inquiry...
> [microtek] parse_inquiry:  Not an E6 -- pretend recal cannot be
> disabled.
> [microtek] dump_inquiry...
> [microtek]  === SANE/Microtek backend v0.13.1 ===
> [microtek] ========== Scanner Inquiry Block ========mm
> [microtek] 06 31 19 01 5b 00 00 00 4d 49 43 52 4f 54 45 4b
> [microtek] 53 63 61 6e 4d 61 6b 65 72 20 33 35 74 2b 20 20
> [microtek] 31 2e 34 30 53 43 53 49 20 46 2f 57 56 33 2e 34
> [microtek] 20 43 54 4c 35 33 38 30 03 ef 8c c2 80 ec 62 23
> [microtek] 01 03 23 01 00 83 00 01 0e 0e 01 05 00 00 00 00
> [microtek] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
> [microtek] ========== Scanner Inquiry Report ==========
> [microtek] ===== Scanner ID...
> [microtek] Device Type Code: 0x06
> [microtek] Model Code: 0x62
> [microtek] Vendor Name: 'MICROTEK'   Model Name: 'ScanMaker 35t+  '
> [microtek] Vendor Specific String: 'SCSI F/WV3.4 CTL5380'
> [microtek] Firmware Rev: '1.40'
> [microtek] SCSI F/W version: 3.1     Scanner F/W version: 1.9
> [microtek] Response data format: 0x01
> [microtek] ===== Imaging Capabilities...
> [microtek] Modes:  Lineart Halftone Gray Color (X-msv) (OnePass)
> (Negative)
> [microtek] Resolution Step Sizes: 1% 5%    Expanded Resolution
> Support? yes
> [microtek] Supported Bits Per Sample: 4 8
> [microtek] Max. document size code: 0x80
> [microtek] Max. document size:  2686 x 2686 pixels
> [microtek] Frame units:  pixels  1/8"'s
> [microtek] # of built-in halftones: 12   Downloadable patterns? Yes
> [microtek] Data Compression:
> [microtek] Contrast Settings: 14   Exposure Settings: 14
> [microtek] Adjustable Shadow/Highlight? yes   Adjustable Midtone? yes
> [microtek] Digital brightness/offset? yes
> [microtek] Gamma Table Size: 1024 entries of 2 bytes (max. depth: 10)
> [microtek] ===== Source Options...
> [microtek] Feed type:  edge-feed    ADF support? no
> [microtek] Document Feeder Support? yes   Feeder Backtracking? yes
> [microtek] Feeder Installed? no           Feeder Ready? no
> [microtek] Transparency Adapter Installed? no
> [microtek] Fast Color Prescan? yes
> [microtek] Selectable Transfer Format? no
> [microtek] Color Transfer Sequence: line-by-line, non-sequential with
> headers
> [microtek] Three pass scan support? no
> [microtek] ModeSelect-1 and ModeSense-1 Support? yes
> [microtek] Can Disable Linearization Table? no
> [microtek] Can Disable Start-of-Scan Recalibration? no
> [microtek] Internal expanded expansion? no
> [microtek] ====== End of Scanner Inquiry Report =======
> [microtek] attach_scanner:  happy.
> [microtek] sane_init:  config-> /dev/sg2
> [microtek] attach_scanner:  /dev/sg2
> [microtek] sane_get_devices
> [microtek] sane_open
> [microtek] sane_open:  find device...
> [microtek] sane_open:  create scanner...
> [microtek] sane_open:  initialize scanner dependent stuff...
> [microtek] sane_open:  All calibration routines disabled.
> [microtek] sane_open:  init gamma tables...
> [microtek] sane_open:  init pass-time variables...
> [microtek] sane_open:  init clever cache...
> [microtek] sane_open:  initialize options:
> [microtek] init_options...
> [microtek] init_options:  quant yes
> [microtek] init_options:  done.
> [microtek] sane_control_option (opt=0,act=0,val=0xbfd3078c,info=(nil))
> [microtek] sane_control_option (opt=0,act=0,val=0xbfd27668,info=(nil))
> [microtek] sane_get_option_descriptor (0)...
> [microtek] sane_get_option_descriptor (1)...
> [microtek] sane_get_option_descriptor (2)...
> [microtek] sane_get_option_descriptor (3)...
> [microtek] sane_get_option_descriptor (4)...
> [microtek] sane_get_option_descriptor (5)...
> [microtek] sane_get_option_descriptor (6)...
> [microtek] sane_get_option_descriptor (7)...
> [microtek] sane_get_option_descriptor (8)...
> [microtek] sane_get_option_descriptor (9)...
> [microtek] sane_get_option_descriptor (10)...
> [microtek] sane_get_option_descriptor (11)...
> [microtek] sane_get_option_descriptor (12)...
> [microtek] sane_get_option_descriptor (13)...
> [microtek] sane_get_option_descriptor (14)...
> [microtek] sane_control_option (opt=14,act=0,val=0x8051684,info=(nil))
> [microtek] sane_get_option_descriptor (15)...
> [microtek] sane_control_option (opt=15,act=0,val=0x8051688,info=(nil))
> [microtek] sane_get_option_descriptor (16)...
> [microtek] sane_get_option_descriptor (17)...
> [microtek] sane_get_option_descriptor (18)...
> [microtek] sane_get_option_descriptor (19)...
> [microtek] sane_get_option_descriptor (20)...
> [microtek] sane_get_option_descriptor (21)...
> [microtek] sane_get_option_descriptor (22)...
> [microtek] sane_get_option_descriptor (23)...
> [microtek] sane_get_option_descriptor (24)...
> [microtek] sane_get_option_descriptor (25)...
> [microtek] sane_get_option_descriptor (26)...
> [microtek] sane_get_option_descriptor (27)...
> [microtek] sane_get_option_descriptor (28)...
> [microtek] sane_get_option_descriptor (29)...
> [microtek] sane_get_option_descriptor (30)...
> [microtek] sane_get_option_descriptor (31)...
> [microtek] sane_get_option_descriptor (32)...
> [microtek] sane_get_option_descriptor (33)...
> [microtek] sane_control_option (opt=12,act=0,val=0xbfd27664,info=(nil))
> [microtek] sane_control_option (opt=13,act=0,val=0xbfd27664,info=(nil))
> [microtek] sane_control_option (opt=12,act=0,val=0xbfd30780,info=(nil))
> [microtek] sane_get_option_descriptor (14)...
> [microtek] sane_control_option
> (opt=14,act=1,val=0xbfd30784,info=0xbfd27668)
> [microtek] sane_control_option (opt=13,act=0,val=0xbfd30780,info=(nil))
> [microtek] sane_get_option_descriptor (15)...
> [microtek] sane_control_option
> (opt=15,act=1,val=0xbfd30784,info=0xbfd27668)
> [microtek] sane_start...
> [microtek] sane_get_parameters...
> [microtek] sane_get_parameters:  regular 1-pass color
> [microtek] sane_get_parameters:  res_code = 5 ( 5)
> [microtek] bright_r of 0 set to 0x0
> [microtek] sane_get_parameters:  dots_per_mm:  3.937008
> [microtek] sane_get_parameters:  units_per_mm:  76.771654
> [microtek] WIDTHPIX:  before exp: 136
> [microtek] sane_get_parameters:  lines: 137  ppl: 136  bpl: 408
> [microtek] .wait_ready 5...
> [microtek] finagle_precal...
> [microtek] .scanning_frame...
> [microtek] .scanning_frame:  in- 0,0  2686,2686
> [microtek] .scanning_frame: out- 0,0  2686,2686
> [microtek] .accessory...
> [microtek] .download_gamma...
> [microtek] .download_gamma:  1024 entries of 2 bytes, max 255
> [microtek] .download_gamma: by default
> [microtek] end_scan...
> scanimage: sane_start: Error during device I/O
> [microtek] sane_cancel...
> [microtek] end_scan...
> [microtek] sane_close...
> [microtek] sane_exit...
> [microtek] sane_exit:  MICROTEK says goodbye.
>
>
>
> --
> sane-devel mailing list: [email protected]
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to [email protected]
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060613/a76974e5/attachment-0001.html
From [email protected]  Tue Jun 13 21:33:12 2006
From: [email protected] (Jon Chambers)
Date: Tue Jun 13 21:33:31 2006
Subject: [sane-devel] Scanjet 3400C and cygwin
In-Reply-To: <[email protected]>
References: <[email protected]>
        <[email protected]>
        <[email protected]>
Message-ID: <[email protected]>


Hi,

On Tue, 13 Jun 2006, Matthias Appel wrote:
> I just did that and i got the following error:
> [dll] load: searching backend `nec' in `/usr/local/lib/sane'
> [dll] load: trying to load `/usr/local/lib/sane/cygsane-niash-1.dll'

In the spirit of adventure you may care to try the following:

1. Unpack the tarball and configure for the bare minumum of backends, eg:

BACKENDS="niash dll" ./configure

2. Edit the backends Makefile (eg: sane-backends/backend/Makefile) and
remove -lpthreads from the BACKENDLIBS line

3. make, install and see if it works

So long as your backend does not actually use the pthreads library then 
you might find this suffices.

If so please report back as the final code freeze for the next release is 
due this weekend.

cheers,
Jon

====================== Jon Chambers =====================
  http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669
=========================================================

Reply via email to