Re: highscreen highscan

From: karsten.festag@t-online.de
Date: Thu Jul 05 2001 - 12:19:39 PDT

  • Next message: Ravi Terala: "Drivers for Artec AM12U Plus"

    Hi Sönke,
    two Ideas:

    1) There was a timeout problem in the SCSI-routines of SANE-1.0.4. See
    the following:

    | This is part of an article from Abel Deuring from this list:
    |
    | The SG driver changed. But the guilty one is me; I used a too short
    | timeout value for the new SG driver. In sanei/sanei_scsi.c, look for a
    | line like
    |
    | req->sgdata.sg3.hdr.timeout = 10000;
    |
    | (line 1892 for Sane 1.0.4), and change it to
    |
    | req->sgdata.sg3.hdr.timeout = 1000 * 10 * 60;

    or upgrade to SANE-1.0.5.

    2) Try the microtek2 backend in case your scanner uses the SCSI-2
    command set.

    If this doesn't help you should create a logfile so that one can see on
    which SCSI-command the error occurs. (At least in the new
    microtek2-manpage is a description how to do that).

    Greetings

    Karsten

    Sönke Ruempler wrote:
    >
    > Hi,
    >
    > I have a scanner called Highscan MRS-600E3. its attached to a adaptec
    > ava1502 scsi controller.
    >
    > the controller works fine with the aha152x module and the scanner is
    > recognized as sg0.
    >
    > here is a scanimage -L:
    > device `microtek:/dev/scanner' is a Microtek ScanMaker E3 flatbed
    > scanner
    >
    > but if i do a scanimage -T, the folloing appears:
    > scanimage: sane_start: Device busy
    >
    > /var/log/messages says:
    > Jul 3 18:27:02 blah kernel: (scsi0:6:0) cannot abort running or
    > disconnected co
    > mmand
    > Jul 3 18:27:02 blah kernel: (scsi0:6:0) cannot reset current device
    > Jul 3 18:27:02 blah kernel: aha152x0: scsi reset in
    > Jul 3 18:27:08 blah kernel: scsi: device set offline - not ready or
    > command ret
    > ry failed after bus reset: host 0 channel 0 id 6 lun 0
    >
    > The ready lamp at the scanner is off.
    >
    > I hope someone can help me :|
    > --
    >
    > Mit freundlichem Gruß
    > Sönke Ruempler
    >
    > top concepts Internetmarketing GmbH
    > ------------------------------------------------------
    > http://www.topconcepts.com Tel. +49 4141 9912 30
    > mail: ruempler@topconcepts.com Fax. +49 4141 9912 33
    > ------------------------------------------------------
    > 24h-Support Hotline: +49 1908 34697 (? 1.86/Min,CNS24)
    > ------------------------------------------------------
    >
    > --
    > 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
    



    This archive was generated by hypermail 2b29 : Thu Jul 05 2001 - 12:09:29 PDT