> From: Fred Crowson <[email protected]>
> Subject: Re: How to test if
sound is working?
> To: "James Hozier" <[email protected]>
> Cc:
[email protected]
> Date: Monday, November 8, 2010, 9:26 PM
> On 8 November
2010 17:10, James
> Hozier <[email protected]>
> wrote:
> </snipped>
> 
> >
Patching file azalia_codec.c using Plan A...
> > Hunk
> > #1 failed at 64.
> >
1 out of 1 hunks failed--saving rejects to
> azalia_codec.c.rej
> > done
> >
>
> Dunno if that means anything.
> >
> 
> The patching of the azailia_codec.c
file failed, the code
> that could
> not be patched was saved as a hunk to a
file called
> azailia_codec.c.rej <- this file will tell what
> failed...
> 
>
If it had worked it would have given you a message like:
> 
> Patching file
azalia_codec.c using Plan A...
> Hunk #1 succeeded at 64.
> Hmm...  Ignoring
the trailing garbage.
> done
> 
> hth
> 
> Fred
> 

$ cat azalia_codec.c.rej
@@ -64,6 +64,13 @@
    this->name = NULL;
    this->qrks = AZ_QRK_NONE;
switch (this->vid) {
+    case 0x10134206:
+        this->name = "Cirrus Logic
CS4206";
+        if (this->subid == 0x106b4d00) {    /* APPLE_MBP55 */
+
this->qrks |= AZ_QRK_GPIO_UNMUTE_1 |
+                AZ_QRK_GPIO_UNMUTE_3;
+
}
+        break;
    case 0x10ec0260:
        this->name = "Realtek ALC260";
break;

What does this mean? It looks like a snippet of code from the original
patch file?

Reply via email to