Microtek ScanMaker E3 -> crashes the computer

From: Claude Lefrancois (lefranco@cae.ca)
Date: Wed May 24 2000 - 06:40:04 PDT

  • Next message: Harald Bauer: "Old handheld scanners"

    Hello,

    I am trying to bring a Microtek ScanMaker E3 to work under RedHat
    Linux 6.2 (Kernel 2.2.12-6.0.1smp). My computer is a dual capable
    Pentium Pro 200 MHz with only 1 CPU. I am using the AVA-1502 interface
    card that came with the scanner. I am using SANE 1.0.2 with the
    Microtek 0.12.0 backend. The SCSI card is configured to IO 0x140, IRQ
    10, SCSI ID 7 and SCSI reconnect disabled. Here is the driver log:

    aha152x: BIOS test: passed, detected 1 controller(s)
    aha152x0: vital data: PORTBASE=0x140, IRQ=10, SCSI ID=7, reconnect=disabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
    aha152x: trying software interrupt, ok.
    scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
    scsi : 1 host.
      Vendor: Model: Scanner Rev: 1.80
      Type: Scanner ANSI SCSI revision: 04

    The scanner is identified correctly by the SCSI driver and the SCSI
    generic driver is also working fine. Here is the driver log:

    Detected scsi generic sga at scsi0, channel 0, id 6, lun 0

    The problem occurs when I try to make the scanner works. If I run a
    scanner program (scanimage), I can ear the scanner doing some sort of
    initialisation routines and then the scanner stops forever. The
    program never returns and after some SCSI timeout the computer
    experiences a kernel crash and the whole system hangs. I enabled the
    following DEBUG environment variables and I got the following log:

    Variables:

    SANE_DEBUG_MICROTEK
    SANE_DEBUG_SANEI_SCSI
    SANE_DEBUG_DLL

    Log:

    [sanei_init_debug]: Setting debug level of dll to 128.
    [dll] adding backend net
    [dll] ...already there
    [dll] adding backend abaton
    [dll] ...already there
    [dll] adding backend agfafocus
    [dll] ...already there
    [dll] adding backend apple
    [dll] ...already there
    [dll] adding backend avision
    [dll] ...already there
    [dll] adding backend artec
    [dll] ...already there
    [dll] adding backend canon
    [dll] ...already there
    [dll] adding backend coolscan
    [dll] ...already there
    [dll] adding backend dmc
    [dll] ...already there
    [dll] adding backend epson
    [dll] ...already there
    [dll] adding backend hp
    [dll] ...already there
    [dll] adding backend m3096g
    [dll] ...already there
    [dll] adding backend microtek
    [dll] ...already there
    [dll] adding backend microtek2
    [dll] ...already there
    [dll] adding backend mustek
    [dll] ...already there
    [dll] adding backend pint
    [dll] adding backend qcam
    [dll] ...already there
    [dll] adding backend ricoh
    [dll] ...already there
    [dll] adding backend s9036
    [dll] ...already there
    [dll] adding backend sharp
    [dll] ...already there
    [dll] adding backend snapscan
    [dll] ...already there
    [dll] adding backend sp15c
    [dll] ...already there
    [dll] adding backend tamarack
    [dll] ...already there
    [dll] adding backend umax
    [dll] ...already there
    [dll] init: initializing backend `microtek'
    [sanei_init_debug]: Setting debug level of microtek to 128.
    [microtek] sane_init: MICROTEK says hello! (v0.12.0)
    [microtek] sane_init: config- #Uncomment following line to disable "clever prec
    alibration" routines...
    [microtek] sane_init: config- noprecal
    [microtek] sane_init: Clever Precalibration will be forcibly disabled...
    [microtek] sane_init: config- scsi * * Scanner
    [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
    [sanei_scsi] searched device is /dev/sga
    [microtek] attach_scanner: /dev/sga
    [microtek] attach_scanner: opening /dev/sga
    [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
    [sanei_scsi] sanei_scsi_open: SG driver version: 20136
    [sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
    [sanei_scsi] trying to enable low level command queueing
    [sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
    [sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
    [microtek] attach_scanner: sending INQUIRY
    [sanei_scsi] scsi_req_enter: entered 0x40167008
    [sanei_scsi] sanei_scsi.issue: 0x40167008
    [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
    [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40167008
    [sanei_scsi] sanei_scsi.issue: 0x40167008
    [sanei_scsi] sanei_scsi_req_wait: read 132 bytes
    [microtek] id_microtek...
    [microtek] parse_inquiry...
    [microtek] dump_inquiry...
     === SANE/Microtek backend v0.12.0 ===
    ========== Scanner Inquiry Block ========mm
    06 31 14 01 5b 00 00 00 20 20 20 20 20 20 20 20
    53 63 61 6e 6e 65 72 20 20 20 20 20 20 20 20 20
    31 2e 38 30 53 43 53 49 20 46 2f 57 56 33 2e 34
    20 43 54 4c 35 33 38 30 03 4f 8c c5 02 ee 5f 03
    01 03 01 00 00 83 00 01 0e 0e 01 05 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: 0x5f
    Vendor Name: ' ' Model Name: 'Scanner '
    Vendor Specific String: 'SCSI F/WV3.4 CTL5380'
    Firmware Rev: '1.80'
    SCSI F/W version: 3.1 Scanner F/W version: 1.4
    Response data format: 0x01
    ===== Imaging Capabilities...
    Modes: Lineart Halftone Gray Color (OnePass)
    Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes
    Supported Bits Per Sample: 4 8
    Max. document size code: 0x02
    Max. document size: 2549 x 3505 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? yes
    Digital brightness/offset? yes
    Gamma Table Size: 256 entries of 1 bytes (max. depth: 8)
    ===== Source Options...
    Feed type: flatbed ADF support? yes
    Document Feeder Support? yes Feeder Backtracking? yes
    Feeder Installed? no Feeder Ready? no
    Transparency Adapter Installed? no
    Fast Color Prescan? no
    Selectable Transfer Format? no
    Color Transfer Sequence: line-by-line, non-sequential with headers
    Three pass scan support? no
    ModeSelect-1 and ModeSense-1 Support? yes
    Can Disable Linearization Table? no
    Can Disable Start-of-Scan Recalibration? yes
    Internal expanded expansion? no

    [microtek] attach_scanner: happy.
    [sanei_scsi] searched device is /dev/sga
    [microtek] attach_scanner: /dev/sga
    [microtek] sane_init: config- /dev/scanner
    [microtek] attach_scanner: /dev/scanner
    [microtek] attach_scanner: opening /dev/scanner
    [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
    [sanei_scsi] sanei_scsi_open: SG driver version: 20136
    [sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
    [sanei_scsi] trying to enable low level command queueing
    [sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
    [sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
    [microtek] attach_scanner: sending INQUIRY
    [sanei_scsi] scsi_req_enter: entered 0x40167008
    [sanei_scsi] sanei_scsi.issue: 0x40167008
    [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
    [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40167008
    [sanei_scsi] sanei_scsi.issue: 0x40167008

    I have tried different SCSI card setup (IO, IRQ, etc.) with the same
    results. I have tried to disable all other backends (dll.conf) and to
    remove the "real calibration" routines and the "clever calibration"
    routine with the same results again. Any help, suggestions or comments
    will be really appreciated.

    Thanks,

    Claude Lefrancois

    -- 
    

    Claude Lefrancois System Administrator & Software Engineer CAE Electronics Ltd, Department 28, Sensor Systems 8585 Cote-de-Liesse, Saint-Laurent, Quebec, Canada, H4T 1G6 Tel: (514) 341-2000 x3194, Fax: (514) 734-5612 Email: lefranco@cae.ca <mailto:lefranco@cae.ca>

    -- 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 : Wed May 24 2000 - 06:41:29 PDT