Dok, D. van (d.vandok@ecn.nl)
Fri, 03 Sep 1999 08:51:44 +0200
On Friday, September 03, 1999 1:46 AM, Paco Rius [SMTP:paco@pancho.com]
wrote:
> Hello,
>
> I'm just trying to setup the ppscsi module for my scanner, an HP5100C.
I've
> downloaded that ppSCSI-0.91.patch to add a module for the ppSCSI.. what
> should
> I do now? I'm just clueless, I've tried adding that file to my kernel
sources
A patch is really nothing more than the output of a diff command comparing
the standard linux source tree with the enhanced sources. The diff output is
just a bunch of ex commands, telling which lines should be deleted and what
lines should be added to change one into the other.
So far the background; now to answer your question: the patch program will
apply said changes when it is fed with a patchfile. What is you do is:
- put the patchfile anywhere you like
- cd /usr/src/linux or wherever your source tree resides
- patch -p1 < [patchfile] (mind the less-than sign)
- reconfigure and build your kernel. The configuration should show
the new parport options.
The -p1 flag is the tricky part; it tells patch to ignore the first
component of the path of every file to patch, which is OK since you're in
the linux directory already.
Good luck,
Dennis
[The biggest challenge facing programmers today] is to go to sleep at
night, when there are so many urgent things needing to be done. A huge
gap exists between what we know is possible with today's machines and
what we have so far been able to finish.--Don Knuth
-- 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 2.0b3 on Fri 03 Sep 1999 - 02:57:21 EDT