I'm trying to patch this diff file listed here by Alan cox:
deja post
I modified the 2nd line to point to where my source is.
I tried patch </path/i810_audio.c while in the dir of my source.
But I get 1 out of 48 hunk errors:
Hunk #27 FAILED at 2689
patch unexpectedly ends in middle of line
I thought it might be formatting issue so i tried patch with the -l switch but didn't help.
Here is the section 2689 from the diff file:
@@ -2689,7 +2899,7 @@
/* Don't attempt to get eid until powerup is complete */
eid = i810_ac97_get(codec, AC97_EXTENDED_ID);
-
+
if(eid==0xFFFFFF)
{
printk(KERN_WARNING "i810_audio: no codec attached ?\n");
I've just installed mdk 9 a week ago and this is probably more advanced stuff that I shouldn't be mucking with yet, but from reading other people's posts, I'm pretty sure this will solve my sound problems.
I didn't like getting this diff file from a newsgroup post, but couldn't find it anywhere else. Does Alan Cox post diff files anywhere else? I couldn't find it at
www.kernel.org.
I just want to get sound working so if someone could help me fix this file it would be great. Or would there be a way to dump the mandrake kernel in favour of the alan cox kernel? As this patch has been part of the AC kernel for some time. If I could do this would alot of Mdk stuff break?
Also once I patch this file I"m not sure if I have all the steps after that in order, So if anyone can help there as well it would be great.