Re: kernel patch for bttv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



John K. Hohm wrote:
[root@localhost linux-2.4.18-3]# patch -p0 -E < videodev.diff


You need to say -p1 rather than -p0, to strip off the vanilla-2.4.3/ that begins the filenames in the patch. Your prompt indicates you are in a directory named linux-2.4.18-3 which is presumably the root of your Linux kernel source tree.


can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vanilla-2.4.3/drivers/media/radio/radio-aimslab.c


As you can see, the patch contains vanilla-2.4.3 as the name of the directory containing the Linux kernel.

Which also seems to show using a very old patch (2.4.3) to patch
a much later kernel.

I'd personally download a new kernel, latest patch, copy
your old kernel's .config into the new tree, type:

    make oldconfig

and decide anything new you need, then get the latest v4l2 patch
off bytesex, cd into the new kernel top directory, do:

	zcat /home/bill/v4l2-2.4.20-kraxel.gz | patch -p1

and look for errors.

(not sure what the bttv 8.14 is, unless it's an ancient
version of bttv-0.8, now at bttv-0.8.46)

Also, don't forget that when bttv-0.8 installs modules
under /lib/modules/`uname -r` you might have to remove
the ones that bttv-0.7 installed before, as well as
install the new btaudio, ....

--
Bill Eldridge
Radio Free Asia
bill@xxxxxxx






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux