> From: Jacob Meuser <jake...@sdf.lonestar.org> > Subject: Re: How to test if sound is working? > To: misc@openbsd.org > Date: Tuesday, November 9, 2010, 4:53 AM > On Mon, Nov 08, 2010 at 06:55:59PM > -0800, James Hozier wrote: > > > 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. > > > judging by the formatting of your emails, the patch got > mangled by > your mailer. > > inlining patches in email messages (as opposed to MIME > attachments) > is part of OpenBSD culture. > > -- > jake...@sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > >
Yea, I don't know why this formats weirdly. But in any case, I do know to at the very least to fix up the formatting in the patch file instead of just pasting the e-mail into vi. For what it's worth, here's a small screenshot of what the file looks like: http://img442.imageshack.us/img442/8076/201011090732251280x800s.png