Re: Kernel 2.4.X and HP Scanjet 6300C

From: Mark Parrish (mpmail@pacbell.net)
Date: Mon Jul 02 2001 - 11:14:55 PDT

  • Next message: Tim Waugh: "Re: Kernel 2.4.X and HP Scanjet 6300C"

    Doug,

    Thanks for your help! I recently (last night) compiled the latest sane 1.0.5
    which included sane-frontends-1.0.5 and sane-backends-1.0.5. I did a
    ./configure, make, and make install on both.

    In greyscale, my ScanJet 6300C scans beautifully right up to 99% of the
    document and then hangs for around 10 minutes. At that time it finishes and
    converts the data (this is a new change from sane-1.0.4). (I was very excited
    to see this! At least it works - but takes ten minutes per scan.)

    You wrote:
    Install the patch (snip)
    > /* check for errors, but let the sense_handler decide.... */
    > - if ( (req->sgdata.sg3.hdr.info && SG_INFO_CHECK != 0)
    > + if ( (req->sgdata.sg3.hdr.info & SG_INFO_CHECK != 0)
    >
    > || (req->sgdata.sg3.hdr.sb_len_wr > 0 &&
    >
    > ((req->sgdata.sg3.sense_buffer[0] & 0x7f) != 0)))

    I checked the file for the patch and it seemed to already be there.

    You wrote:
    >Also if you know how to build a linux kernel module then you could try
    > a new sg driver (version 3.1.19) found at:
    > http://www.torque.net/sg
    > and tell me if that makes any difference.

    I noticed that another person (on this mailing list) built a new kernel with
    the new sg driver which did not resolve the 10 minute timing problem.

    I have plenty of time and I am willing to rebuild the kernel or whatever.

    I really appreciate your assistance.

    Thanks Doug,

    Mark Parrish

    --
    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 : Mon Jul 02 2001 - 11:14:58 PDT