Re: [PARPORT] Success! Scanport 300SQ (330 CS v. 1.34),OnSpec90c26 driver

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Jan 19 2001 - 14:18:28 EST

  • Next message: Adam J. Richter: "[PARPORT] PATCH: parport_device_id support + bloat, "version 2.2""

    On Fri, Jan 19, 2001 at 06:03:48AM -0600, Manuel Molano wrote:

    > It is important to note that after patching, parport_pc.c would stop
    > the compilation of bzImage. There is a missing comma (,) in line
    > 3074 of parport_pc.c. Adding the comma solves the problem.

    Yes. I haven't been updating that as often as I should. Take a look
    at the 'linux24' subdirectory: the ppscsi patch is a separate patch
    there, and should work fine (at least syntactically!).

    > These are the good news. The bad news is that sane does not seem to
    > want to play with the newly found scanner, even though find-scanner
    > works ok. But that's another issue that I might take to the
    > appropriate forum. According to the scanner documentation, this
    > scanner should behave exactly like a ScanMaker II.

    You might (or might not) find that this patch helps:

    --- sane-1.0.3/sanei/sanei_scsi.c.sg3timeout Wed Jan 10 10:49:24 2001
    +++ sane-1.0.3/sanei/sanei_scsi.c Wed Jan 10 10:49:37 2001
    @@ -1889,7 +1889,7 @@
           (const void*) req->sgdata.sg3.hdr.cmdp = cmd;
           req->sgdata.sg3.hdr.sbp = &(req->sgdata.sg3.sense_buffer[0]);
           /* 10 seconds should be ok even for slow scanners */
    - req->sgdata.sg3.hdr.timeout = 10000;
    + req->sgdata.sg3.hdr.timeout = 10000 * 600;
           req->sgdata.sg3.hdr.flags = SG_FLAG_DIRECT_IO;
           req->sgdata.sg3.hdr.pack_id = pack_id++;
           req->sgdata.sg3.hdr.usr_ptr = 0;

    Tim.
    */



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Fri Jan 19 2001 - 14:19:33 EST