At Thu, 25 Jun 2009 08:35:08 +0200, Martin Egge wrote:
Hi Takashi,
Am Mittwoch 24 Juni 2009 schrieb Takashi Iwai:
At Wed, 24 Jun 2009 17:14:38 +0200, Martin Egge wrote:
Am Mittwoch 24 Juni 2009 schrieb Takashi Iwai:
Does the patch below work? It's against the latest alsa-driver, not 1.0.20 nor 2.6.30.
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver -sna pshot.tar.gz
The patch could not be applied.
It's a patch to the kernel tree. Apply it on alsa-kernel directory with -p2.
That's what I did some minutes ago:
$> wget --no-cache -nd ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver- snapshot.tar.gz $> tar xzf alsa-driver-snapshot.tar.gz $> cd alsa-driver/alsa-kernel/ $> patch -p2 < ../../patch.txt
That's what I get:
patching file pci/hda/patch_analog.c Hunk #1 FAILED at 72. Hunk #2 FAILED at 670. Hunk #3 succeeded at 702 with fuzz 1. Hunk #4 FAILED at 757. Hunk #5 FAILED at 798. Hunk #6 FAILED at 808. Hunk #7 succeeded at 940 with fuzz 1. Hunk #8 FAILED at 971. Hunk #9 FAILED at 983. Hunk #10 FAILED at 1006. Hunk #11 FAILED at 1094. Hunk #12 FAILED at 1108. Hunk #13 FAILED at 1123. Hunk #14 FAILED at 1156. 12 out of 14 hunks FAILED -- saving rejects to file pci/hda/patch_analog.c.rej
So, what went wrong?
You must have saved the patch file wrongly. Maybe your MUA broke text lines badly.
I checked your procedure above and it works for me well. (patch gives an error regarding sound/alsa/HD-Audio-Model.txt, but it doesn't matter.)
Below is an attachment of the same patch. Try this again.
Takashi