Problem with Microtek 35t slide/negative scanner

From: Daniel Luechtefeld (wolucky@yahoo.com)
Date: Fri May 25 2001 - 01:26:26 PDT

  • Next message: Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem]"

    Hi,

    First off, thanks to the SANE development team for your
    contributions
    to the Linux community. I'm an amateur photographer and Unix
    sysadmin (Solaris) who'd have to give up running Linux at home were
    it not for your work on scanners.

    Now then...my Microtek 35t (PTS1800S) slide scanner doesn't work
    anymore since upgrading from a Caldera 2.2.x distro to a Mandrake
    2.4.22-mdk. The SCSI host adapter is a DPT SmartCache III using the
    EATA 2.0c driver.

    I'm running sane-backends-1.0.4 and sane-frotends-1.0.4. I've
    applied sg timeout patch to sane-backends-1.0.4 that was described
    on the list a few weeks ago:

    req->sgdata.sg3.hdr.timeout = 10000 * 10 * 60

    "xscanimage" successfully finds the scanner at /dev/scanner, which
    is linked to /dev/sga. xscanimage then initializes the scanner,
    which begins going through the approximate 30-second process of
    scanning the negative tray. However, before the scanner completes
    the scan, xscanimage issues a "Device Busy: Couldn't start scanner"
    dialog box.
    After this happens, "scanimage -L" and "find-scanner" fail to detect
    the scanner until I reboot.

    Attached to this email is a debug session. Thanks again for your
    help.

    =====
    Lowrider

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Auctions - buy the things you want at great prices
    http://auctions.yahoo.com/

    [sanei_debug] Setting debug level of microtek to 256.
    [microtek] sane_init: MICROTEK says hello! (v0.12.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/sga
    [microtek] attach_scanner: opening /dev/sga
    [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...
     === SANE/Microtek backend v0.12.1 ===
    ========== Scanner Inquiry Block ========mm
    06 31 10 01 5b 00 00 00 4d 49 43 52 4f 54 45 4b
    50 54 53 31 38 30 30 53 20 53 43 41 4e 4e 45 52
    31 2e 30 35 53 43 53 49 20 46 2f 57 56 33 2e 31
    20 43 54 4c 35 33 38 30 03 2f 8c c2 82 ee 52 00
    01 01 01 00 00 00 00 01 0e ff 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff

    ========== Scanner Inquiry Report ==========
    ===== Scanner ID...
    Device Type Code: 0x06
    Model Code: 0x52
    Vendor Name: 'MICROTEK' Model Name: 'PTS1800S SCANNER'
    Vendor Specific String: 'SCSI F/WV3.1 CTL5380'
    Firmware Rev: '1.05'
    SCSI F/W version: 3.1 Scanner F/W version: 1.0
    Response data format: 0x01
    ===== Imaging Capabilities...
    Modes: Lineart Halftone Gray Color (X-msv)
    Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes
    Supported Bits Per Sample: 8
    Max. document size code: 0x82
    Max. document size: 2589 x 2589 pixels
    Frame units: pixels 1/8"'s
    # of built-in halftones: 12 Downloadable patterns? Yes
    Data Compression:
    Contrast Settings: 14 Exposure Settings: 14
    Adjustable Shadow/Highlight? yes Adjustable Midtone? no
    Digital brightness/offset? no
    Gamma Table Size: 256 entries of 1 bytes (max. depth: 8)
    ===== Source Options...
    Feed type: edge-feed ADF support? no
    Document Feeder Support? no Feeder Backtracking? no
    Feeder Installed? no Feeder Ready? no
    Transparency Adapter Installed? no
    Fast Color Prescan? no
    Selectable Transfer Format? no
    Color Transfer Sequence: plane-by-plane (3-pass)
    Three pass scan support? yes
    ModeSelect-1 and ModeSense-1 Support? yes
    Can Disable Linearization Table? no
    Can Disable Start-of-Scan Recalibration? no
    Internal expanded expansion? no

    [microtek] attach_scanner: happy.
    [microtek] attach_scanner: /dev/sga
    [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...
     === SANE/Microtek backend v0.12.1 ===
    ========== Scanner Inquiry Block ========mm
    06 31 10 01 5b 00 00 00 4d 49 43 52 4f 54 45 4b
    50 54 53 31 38 30 30 53 20 53 43 41 4e 4e 45 52
    31 2e 30 35 53 43 53 49 20 46 2f 57 56 33 2e 31
    20 43 54 4c 35 33 38 30 03 2f 8c c2 82 ee 52 00
    01 01 01 00 00 00 00 01 0e ff 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff

    ========== Scanner Inquiry Report ==========
    ===== Scanner ID...
    Device Type Code: 0x06
    Model Code: 0x52
    Vendor Name: 'MICROTEK' Model Name: 'PTS1800S SCANNER'
    Vendor Specific String: 'SCSI F/WV3.1 CTL5380'
    Firmware Rev: '1.05'
    SCSI F/W version: 3.1 Scanner F/W version: 1.0
    Response data format: 0x01
    ===== Imaging Capabilities...
    Modes: Lineart Halftone Gray Color (X-msv)
    Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes
    Supported Bits Per Sample: 8
    Max. document size code: 0x82
    Max. document size: 2589 x 2589 pixels
    Frame units: pixels 1/8"'s
    # of built-in halftones: 12 Downloadable patterns? Yes
    Data Compression:
    Contrast Settings: 14 Exposure Settings: 14
    Adjustable Shadow/Highlight? yes Adjustable Midtone? no
    Digital brightness/offset? no
    Gamma Table Size: 256 entries of 1 bytes (max. depth: 8)
    ===== Source Options...
    Feed type: edge-feed ADF support? no
    Document Feeder Support? no Feeder Backtracking? no
    Feeder Installed? no Feeder Ready? no
    Transparency Adapter Installed? no
    Fast Color Prescan? no
    Selectable Transfer Format? no
    Color Transfer Sequence: plane-by-plane (3-pass)
    Three pass scan support? yes
    ModeSelect-1 and ModeSense-1 Support? yes
    Can Disable Linearization Table? no
    Can Disable Start-of-Scan Recalibration? no
    Internal expanded expansion? no

    [microtek] attach_scanner: happy.
    [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=0xbffff494,info=(nil))
    [microtek] sane_control_option (opt=0,act=0,val=0xbffff448,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=0x80505b8,info=(nil))
    [microtek] sane_get_option_descriptor (15)...
    [microtek] sane_control_option (opt=15,act=0,val=0x80505bc,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=0xbffff444,info=(nil))
    [microtek] sane_control_option (opt=13,act=0,val=0xbffff444,info=(nil))
    [microtek] sane_control_option (opt=12,act=0,val=0xbffff490,info=(nil))
    [microtek] sane_get_option_descriptor (14)...
    [microtek] sane_control_option (opt=14,act=1,val=0xbffff48c,info=0xbffff448)
    [microtek] sane_control_option (opt=13,act=0,val=0xbffff490,info=(nil))
    [microtek] sane_get_option_descriptor (15)...
    [microtek] sane_control_option (opt=15,act=1,val=0xbffff48c,info=0xbffff448)
    [microtek] sane_start...
    [microtek] sane_get_parameters...
    [microtek] sane_get_parameters: regular 3-pass color
    [microtek] sane_get_parameters: res_code = 5 ( 5)
    [microtek] sane_get_parameters: dots_per_mm: 3.937008
    [microtek] sane_get_parameters: units_per_mm: 71.968504
    [microtek] WIDTHPIX: before exp: 140
    [microtek] sane_get_parameters: lines: 141 ppl: 140 bpl: 140
    [microtek] set_pass_parameters: three-pass, on 1
    [microtek] .wait_ready 31...
    [microtek] finagle_precal...
    [microtek] .scanning_frame...
    [microtek] .scanning_frame: in- 0,0 2589,2589
    [microtek] .scanning_frame: out- 0,0 2589,2589
    SF: 4 0 0 0 9 0 8 0 0 0 0 1d a 1d a
    [microtek] .download_gamma...
    [microtek] .download_gamma: 256 entries of 1 bytes, max 255
    [microtek] .download_gamma: by default
    [microtek] .mode_select 31...
    [microtek] .mode_select: pap_len: 2589
    MSL: 15 0 0 0 a 0 8b 5 7 7 0 1 0 ff 1d a
    [microtek] .mode_select_1 31...
    MSL1: 16 0 0 0 a 0 0 0 0 0 0 0 0 0 0 0
    [microtek] .wait_ready 31...
    [microtek] .start_scan...
    SS: 1b 0 0 0 49 0
    [microtek] .get_scan_status 31...
    [microtek] get_scan_status(6): 0, 128, 129 -> #0
    [microtek] > 0 80 0 81 0 0
    [microtek] Scan Param:
    [microtek] pix bpl: 128 hdr bpl: 0 ppl: 128
    [microtek] undel bytes: 16512 unscan lines: 129 planes: 1
    [microtek] dest bpl: 128 dest ppl: 128 aspect: 1.000000
    [microtek] sane_get_parameters...
    [microtek] sane_read...
    [microtek] read_from_scanner...
    [microtek] .get_scan_status 31...
    [microtek] get_scan_status(6): 0, 128, 129 -> #0
    [microtek] > 0 80 0 81 0 0
    [microtek] read_from_scanner: gss busy, linewidth, remaining: 0, 128, 129
    [microtek] sane_read: max_scsi: 1024, rem: 129, nlines: 129
    [microtek] .read_scan_data...
    [microtek] sane_read: buffsize: 16512, unscanned: 0
    [microtek] pack_into_ring...
    [microtek] pack_into_dest...
    [microtek] pack_into_dest: rl: 16512 sz: 131072 hc: 0
    [microtek] sane_read...
    [microtek] end_scan...
    [microtek] .stop_scan...
    SPS:1b 0 0 0 0 0
    [microtek] SENSE! fd = 31
    [microtek] sense = 00 00 00 00.
    [microtek] sane_start...
    [microtek] sane_get_parameters...
    [microtek] sane_get_parameters: regular 3-pass color
    [microtek] sane_get_parameters: res_code = 5 ( 5)
    [microtek] sane_get_parameters: dots_per_mm: 3.937008
    [microtek] sane_get_parameters: units_per_mm: 71.968504
    [microtek] WIDTHPIX: before exp: 140
    [microtek] sane_get_parameters: lines: 141 ppl: 140 bpl: 140
    [microtek] set_pass_parameters: three-pass, on 2
    [microtek] sane_start: open of /dev/scanner failed: Invalid argument
    [microtek] end_scan...
    scanimage: sane_start: Invalid argument
    [microtek] sane_cancel...
    [microtek] end_scan...
    [microtek] sane_close...
    [microtek] sane_exit...
    [microtek] sane_exit: MICROTEK says goodbye.

    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    find-scanner tool (if appropriate). Please read the documentation which came
    with this software (README, FAQ, manpages).

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



    This archive was generated by hypermail 2b29 : Fri May 25 2001 - 01:23:53 PDT