Re: Microtek scanner not working anymore

From: Marcel Pol (mpol@gmx.net)
Date: Tue May 29 2001 - 07:51:50 PDT

  • Next message: Henning Meier-Geinitz: "Re: Microtek, Net, NetBSD"

    Hello,

    It's been some time ago since this thread was alive.
    Today my microtek2 scanner is working again.
    According to the manpage sane-scsi i had set "Negotiation" to "Async"
    in the BusLogic scsi card bios.
    Also i set "Disconnect" to "off".
    For me it seemed that setting the "Disconnect" to "on" was the right
    way.

    It scans fine now.
    Still i do get problems.
    Sometimes after 3 scans, or some random number (the last session was
    about 20 scans) it just hangs where it did hang before.
    After that, i can't get it working again, and i need a reboot. This
    same thing happened under windows, so it might be hardware related (?)
    The light of the scanner flashes then, and if i wait for a timeout my
    kernel (linux 2.4.4) just crashes after 1 or 2 minutes (didn't count).
    If I (before that crash) turn off/on the scanner, it doesn't help.
    (tried 3 times)
    Also, rmmodding the BusLogic module seems ok, but insmodding it again
    crashes my kernel instantly.

    So I'm wondering if there is any way to really reset a scanner, just
    like a reboot does.
    I'm at a loss with this problem. If anyone has some ideas, i would
    like it.

    Greetings,
    Marcel Pol
    mpol@gmx.net

    > Marcel Pol wrote:
    > > I'm using a Microtek scanner with Sane, but for some time now it's
    not
    > > working.
    > > The change happened when I attached the (working) scanner to
    another
    > > computer. There it didn't work, and when I put it back it still
    doesn't
    > > work.
    > > The kernel recognizes it (cdrecord -scanbus).
    > > 1,6,0 106) ' ' 'Scanner 600A4 ' '2.21' Scanner
    > >
    > > When I turn on debugging for the Microtek2 backend it spits out
    the right
    > > messages.
    > > After that, the scanner just hangs.
    > > Well, it sounds like it tries to scan, while it seems in desperate
    need
    > > of a few drops of oil.
    > > When I Ctrl-C sane, and check the scanner with cdrecord -scanbus,
    I get
    > > this back:
    > > 1,6,0 106) '' '' '' NON CCS Disk
    > > When I turn it off and on, I get the original kernel message, but
    further
    > > there's no change.
    > >
    > > Some time ago, with maybe a 2.4.0 linux kernel (now 2.4.3) it quit
    after
    > > some time, while saying "device busy".
    > > If I turned of the scanner while it was hanging I did get the same
    error.
    > >
    > > I'm using a Microtek2 scanner with a BusLogic BT930 scsi card.
    > > I'm using Sane 1.0.4 with linux 2.4.3
    > > I installed Windows, and it functions there without a problem.
    > >
    > > I suspect the backend of Sane, or the BusLogic driver.
    > > I heard some people about data corruption on a BusLogic scsi card,
    but I
    > > wouldn't know if that relates to my problem.
    > >
    > > Debug Messages:
    > > export SANE_DEBUG_MICROTEK2=128
    > > xsane
    > .....
    > > [microtek2] scsi_wait_for_image: ms=0x81283c0
    > > [microtek2] scsi_read_image_status: ms=0x81283c0
    > >
    > > And here it hangs.
    >

    --
    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 : Tue May 29 2001 - 07:41:49 PDT