Re: [PARPORT] ppSCSI-modules and the Sane-faq

From: jakemsr (
Date: Tue Nov 28 2000 - 11:49:25 EST

  • Next message: LANNING CRAIG JOSEPH: "[PARPORT] [parport] Stepper Motor Control"
  • Next message: Tim Waugh: "Re: [PARPORT] ppSCSI-modules and the Sane-faq"

    On Tue, Nov 28, 2000 at 12:10:38AM +0100, Marcel Pol wrote:
    > Hello,
    > At there is a faq about Sane,
    > the scanner software. I've just written a part for it, which handles
    > the ppSCSI-modules, and how to set them up.
    > I'd like to post it to this mailinglist, before letting it be added
    > to the faq.
    > There are a few questions i have though.
    > There are two 2.2.15-pre patches. Are they meant for kernels 2.2.15
    > and up?

    I have had luck "converting" the patch-2.2.15pre14-ppscsi1 to work on other kernels. You can do something like sed s/2.2.15pre14/2.2.17/ patch-2.2.15pre14-ppscsi1.

    To make it a little easier I wrote a perl script to convert the patch, which I included as an attachment. The script finds directories in /usr/src with "linux" in the name, asks you to choose one, converts the patch and then patches your tree.

    The script also makes a symlink called linux to point at your tree (if one doesn't exist) and warns about having your tree in "linux". (If I don't do this, patch seems to get confused, and starts asking questions.)

    I developed the script with perl5.6.0, but I think any perl5 should work.

    I have used the script without problem on 2.2.15 and 2.2.17.

    Let me know how it works for you.


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Tue Nov 28 2000 - 11:48:24 EST