Hi,
I'm just recently starting to use the IrDA code. I've tried several
levels of code with different levels of success. To make a 'clean'
start, I decided to download kernel 2.2.14, the latest irda-utils and de
2.2.14-irda1 kernelpatch.
Without the kernel-patch, everything compiles, and I'm able to use
infrared in a (limited) way. Then I decided to apply the 2.2.14-irda1
patch, to make sure I use the latest code. The patching process,
however, results in several errors:
the patch command I use is:
cd /usr/src/linux
patch -p 1 -l -F 3 < patch-2.2.14-irda1
which results in several hunks being rejected....
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urpN linux-2.2.14/Documentation/Configure.help
linux-2.2.14-irda-patch/Documentation/Configure.help
|--- linux-2.2.14/Documentation/Configure.help Tue Jan 4 19:12:10 2000
|+++ linux-2.2.14-irda-patch/Documentation/Configure.help Wed Jan 5
23:41:16 2000
--------------------------
Patching file `Documentation/Configure.help' using Plan A...
Hunk #1 FAILED at 11736.
Hunk #2 succeeded at 11832 with fuzz 3.
Hunk #3 succeeded at 11849 with fuzz 3.
1 out of 3 hunks FAILED -- saving rejects to
Documentation/Configure.help.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urpN linux-2.2.14/drivers/net/irda/Config.in
linux-2.2.14-irda-patch/drivers/net/irda/Config.in
|--- linux-2.2.14/drivers/net/irda/Config.in Tue Jun 8 01:19:58 1999
|+++ linux-2.2.14-irda-patch/drivers/net/irda/Config.in Wed Jan 5
23:40:09 2000
--------------------------
Patching file `drivers/net/irda/Config.in' using Plan A...
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to
drivers/net/irda/Config.in.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urpN linux-2.2.14/drivers/net/irda/Makefile
linux-2.2.14-irda-patch/drivers/net/irda/Makefile
|--- linux-2.2.14/drivers/net/irda/Makefile Wed Oct 27 02:53:40 1999
|+++ linux-2.2.14-irda-patch/drivers/net/irda/Makefile Wed Jan 5
23:40:10 2000
--------------------------
Patching file `drivers/net/irda/Makefile' using Plan A...
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 44.
Hunk #3 FAILED at 69.
Hunk #4 succeeded at 115 with fuzz 3.
3 out of 4 hunks FAILED -- saving rejects to
drivers/net/irda/Makefile.rej
I'm rather new to using the 'patch' mechanism. Anybody any clues to what
I'm doing wrong?
Thanks in advance,
Ard van der Leeuw
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda