From: john stultz <johnstul@us.ibm.com>
To: linuxppc-dev@ozlabs.org
Subject: mac mini alsa hack
Date: Fri, 04 Feb 2005 11:59:58 -0800 [thread overview]
Message-ID: <1107547198.2040.264.camel@cog.beaverton.ibm.com> (raw)
Hey all,
This clearly isn't the right fix, but it allows my mac mini to play
audio. It works, but is still somewhat broken, as any time I start
playing audio X hangs for a second or so. Also using alsamixer is very
slow.
Its likely this patch also breaks whatever else uses "AOAKeylargo".
Anyway, just wanted to start the discussion on what the proper fix would
be.
thanks
-john
===== sound/ppc/pmac.c 1.36 vs edited =====
--- 1.36/sound/ppc/pmac.c 2004-12-20 18:52:47 -08:00
+++ edited/sound/ppc/pmac.c 2005-02-04 01:44:05 -08:00
@@ -964,7 +964,7 @@
if (device_is_compatible(sound, "AOAKeylargo")) {
/* Seems to support the stock AWACS frequencies, but has
a snapper mixer */
- chip->model = PMAC_SNAPPER;
+ chip->model = PMAC_SCREAMER;
// chip->can_byte_swap = 0; /* FIXME: check this */
chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
}
reply other threads:[~2005-02-04 20:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1107547198.2040.264.camel@cog.beaverton.ibm.com \
--to=johnstul@us.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox