From: Johannes Berg <johannes@sipsolutions.net>
To: Risto Suominen <risto.suominen@gmail.com>
Cc: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: PowerMac G4 (Digital Audio)
Date: Sun, 05 Dec 2010 16:16:18 +0100 [thread overview]
Message-ID: <1291562178.3495.6.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <AANLkTinaCDvnOCy1e1Ca92hZO5UuB-9HKe4rvLg7TUEx@mail.gmail.com>
> Your snd-aoa seems to support PowerMac3,4. Is it really tested?
I used to add only IDs that some people tested, until most things worked
and I wholesale added all of the ones found in Darwin.
> The reason I'm asking: people are having problems with sound on that
> machine. Even snd-powermac didn't function, but I believe these
> patches have helped:
>
> http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p15.diff
> http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16.diff
These patches are odd -- the first one adds something the second
removes? Am I supposed to look at the combination?
> The problem is that active state is inverted (i.e. 1) compared to
> other machines on inputs that detect a plug (and there is no
> audio-gpio-active-state in the device tree in gpio 15 and gpio16).
> Snd-powermac guessed wrong.
>
> How do you handle these in your code?
Well, there is gpio-feature and gpio-pmf right now. I suspect you can
get things working by adding some overrides to ftr_gpio_init(). I guess
you want something like
get_gpio("keywest-gpio1", NULL,
&lineout_mute_gpio,
&lineout_mute_gpio_activestate);
on the PowerMac4,3, and something else for the headphone ...
But frankly, it's been so long that it's not all making perfect sense to
me right now. If you send me a tarball of /proc/device-tree/ maybe I can
take a look -- just looked at my collection and I don't have that one.
johannes
next parent reply other threads:[~2010-12-05 15:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTinaCDvnOCy1e1Ca92hZO5UuB-9HKe4rvLg7TUEx@mail.gmail.com>
2010-12-05 15:16 ` Johannes Berg [this message]
2010-12-07 8:51 ` PowerMac G4 (Digital Audio) Risto Suominen
2010-12-07 10:18 ` Johannes Berg
2010-12-07 11:27 ` Risto Suominen
2010-12-07 11:30 ` Johannes Berg
2010-12-07 11:41 ` Risto Suominen
2010-12-07 12:09 ` Johannes Berg
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=1291562178.3495.6.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linuxppc-dev@ozlabs.org \
--cc=risto.suominen@gmail.com \
/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