> From: Fred Crowson <fred.crow...@gmail.com> > Subject: Re: How to test if sound is working? > To: "James Hozier" <guitars...@yahoo.com> > Cc: misc@openbsd.org > Date: Monday, November 8, 2010, 10:55 PM > On 8 November 2010 22:04, James > Hozier <guitars...@yahoo.com> > wrote: > > > > $ 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? > > Hi James, > > For some reason patch(1) did not insert the code into > azalia_codec.c > - I would guess that the reason was that patch file had > some > formatting that patch(1) did not like. Have another go at > creating and > patching the file, or you can either manually add those 7 > new lines to > azailia_codec.c after line 77 of azaila_codec.c > > Thus when you rebuilt your kernel - it did not have this > new bit of code in. > > hth > > Fred > >
Hmm...added those lines to azalia_codec.c after line 66 (without the + signs in front of the lines), re-compiled and rebooted but still nothing. I guess it's something else, then...but I'm curious as to why the patch didn't work.