microtek 35t+ doesn't work

From: Jean-Pierre Sutto (jpsliste@free.fr)
Date: Wed Jan 24 2001 - 05:07:33 PST

  • Next message: Shea Martin: "error during device I/O using snapscan backed."

    Hello,

    I cannot use my Microtek ScanMaker 35t+ with Sane on my linux box. When I
    try to scan a image, I have the following error message:

    sane_start: Error during device I/O

    The scsi card is a Tekram DC 390, and:

    [jp@star jp]$ cat /proc/scsi/scsi
    Attached devices:
    Host: scsi0 Channel: 00 Id: 03 Lun: 00
      Vendor: YAMAHA Model: CRW4416S Rev: 1.0g
      Type: CD-ROM ANSI SCSI revision: 02
    Host: scsi0 Channel: 00 Id: 05 Lun: 00
      Vendor: MICROTEK Model: ScanMaker 35t+ Rev: 1.60
      Type: Scanner ANSI SCSI revision: 01 CCS

    As far as I know, Sane recognizes the scanner:

    [jp@star jp]$ scanimage -L
    device `microtek:/dev/scanner' is a Microtek ScanMaker 35t+ flatbed
    scanner
    device `microtek:/dev/sgb' is a Microtek ScanMaker 35t+ flatbed scanner

    But when I scan:

    [jp@star jp]$ scanimage -d microtek:/dev/scanner > scan.pnm
    sane_start: Error during device I/O

    Turning on debugging mode, the last lines give:

    [sanei_scsi] scsi_req_enter: entered 0x40152008
    [sanei_scsi] sanei_scsi.issue: 0x40152008
    [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
    [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40152008
    [sanei_scsi] sanei_scsi.issue: 0x40152008
    [sanei_scsi] sanei_scsi_req_wait: read 36 bytes
    [microtek] .download_gamma...
    [microtek] .download_gamma: 1024 entries of 2 bytes, max 255
    [microtek] .download_gamma: by default
    [sanei_scsi] scsi_req_enter: entered 0x40152008
    [sanei_scsi] sanei_scsi.issue: 0x40152008
    [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
    [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40152008
    [sanei_scsi] sanei_scsi.issue: 0x40152008
    [sanei_scsi] sanei_scsi_req_wait: read 36 bytes
    [sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Succès
    [microtek] SENSE! fd = 4
    [microtek] sense = 83 00 04 00.
    [microtek] sense: ERR_ILLTABLE
    [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.

    Note the 'SCSI command complained: Success' (I translate).

    When I run in debugging mode, scanimage -h, it ends with:

    [sanei_debug] Setting debug level of sanei_scsi to 128.
    [sanei_scsi] sanei_scsi_open: SG driver version: 20139
    [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
    [sanei_scsi] scsi_req_enter: entered 0x40305008
    [sanei_scsi] sanei_scsi.issue: 0x40305008
    [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
    [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40305008
    [sanei_scsi] sanei_scsi.issue: 0x40305008
    [sanei_scsi] sanei_scsi_req_wait: read 41 bytes
    [sanei_scsi] scsi_req_enter: entered 0x40305008
    [sanei_scsi] sanei_scsi.issue: 0x40305008
    [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
    [sanei_scsi] sanei_scsi_req_wait: waiting for 0x40305008
    [sanei_scsi] sanei_scsi.issue: 0x40305008
    [sanei_scsi] sanei_scsi_req_wait: read 132 bytes
    [sanei_scsi] sanei_scsi_open: open of `option dump 1' failed: Aucun
    fichier ou répertoire de ce type[microtek] sane_get_devices
    List of available devices:
        microtek:/dev/scanner microtek:/dev/sgb
    [microtek] sane_exit...
    [microtek] sane_close...
    [microtek] sane_exit: MICROTEK says goodbye.

    Note the `option dump 1` failed: No such file or directory (I translate).
    I don't know what all of this signifie.

    Feel free to ask me more informations (the complete debug files, for
    example). I run Linux Mandrake 7.2 with kernel 2.2.17 and last sane 1.0.4
    home compiled, and wait for your suggestions and help.

    -- 
    Jean-Pierre Sutto
    

    -- 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 Jan 24 2001 - 05:08:05 PST