From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Ben Collins <bcollins@ubuntu.com>
Cc: Olaf Hering <olh@suse.de>,
alsa-devel@alsa-project.org, Ben Collins <ben.collins@ubuntu.com>,
linuxppc-dev@ozlabs.org
Subject: Re: [PPC,SOUND] Fix audio gpio state detection
Date: Thu, 02 Mar 2006 11:04:04 +1100 [thread overview]
Message-ID: <1141257844.3889.32.camel@localhost.localdomain> (raw)
In-Reply-To: <1141256965.4378.145.camel@grayson>
On Wed, 2006-03-01 at 18:49 -0500, Ben Collins wrote:
> On Thu, 2006-03-02 at 10:09 +1100, Benjamin Herrenschmidt wrote:
> > > > This (sort of) breaks PowerMac3,4 (69 (PowerMac G4 Silver)). I have to
> > > > force it on up to now, but with this patch the internal speaker will not
> > > > work with or without my patch to force it on.
> > >
> > > But the patch fixes also my PowerBook4,1, I dont have to toggle the headphone
> > > once to get the built-in speakers enabled.
> > > Looks like 2.6.16 stuff, but its been broken for so long now...
> >
> > What is the status of Ben's latest stuff ?
>
> I'm rediffing now. However, I may not include my tumbler changes
> immediately. For some reason, those are the ones causing problems. I
> need to review the diff and see if I can find the problem (which I
> cannot reproduce).
>
> The toonie stuff is great. Been working really well for all the folks
> I've heard from, and for me on my PowerBook5,9.
There is an issue with some models where asserting both mutes will reset
the codec, so you have to be careful with that. Then, there is the
old-style GPIOs where you can read the polarity from the device-tree and
the new style ones...
I _think_ apple uses the GPIO platform functions only on machines that
have "include-k2-support" property in macio too, so maybe you are trying
to use them on earlier machines and they are bogus...
Send me the complete patch and I'll see if I spot something. Olaf, can
you give me quick summary of the machines that have problems with Ben's
code ?
Ben.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Ben Collins <bcollins@ubuntu.com>
Cc: linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org,
Ben Collins <ben.collins@ubuntu.com>, Olaf Hering <olh@suse.de>
Subject: Re: [PPC,SOUND] Fix audio gpio state detection
Date: Thu, 02 Mar 2006 11:04:04 +1100 [thread overview]
Message-ID: <1141257844.3889.32.camel@localhost.localdomain> (raw)
In-Reply-To: <1141256965.4378.145.camel@grayson>
On Wed, 2006-03-01 at 18:49 -0500, Ben Collins wrote:
> On Thu, 2006-03-02 at 10:09 +1100, Benjamin Herrenschmidt wrote:
> > > > This (sort of) breaks PowerMac3,4 (69 (PowerMac G4 Silver)). I have to
> > > > force it on up to now, but with this patch the internal speaker will not
> > > > work with or without my patch to force it on.
> > >
> > > But the patch fixes also my PowerBook4,1, I dont have to toggle the headphone
> > > once to get the built-in speakers enabled.
> > > Looks like 2.6.16 stuff, but its been broken for so long now...
> >
> > What is the status of Ben's latest stuff ?
>
> I'm rediffing now. However, I may not include my tumbler changes
> immediately. For some reason, those are the ones causing problems. I
> need to review the diff and see if I can find the problem (which I
> cannot reproduce).
>
> The toonie stuff is great. Been working really well for all the folks
> I've heard from, and for me on my PowerBook5,9.
There is an issue with some models where asserting both mutes will reset
the codec, so you have to be careful with that. Then, there is the
old-style GPIOs where you can read the polarity from the device-tree and
the new style ones...
I _think_ apple uses the GPIO platform functions only on machines that
have "include-k2-support" property in macio too, so maybe you are trying
to use them on earlier machines and they are bogus...
Send me the complete patch and I'll see if I spot something. Olaf, can
you give me quick summary of the machines that have problems with Ben's
code ?
Ben.
next prev parent reply other threads:[~2006-03-02 0:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-11 16:10 [PPC,SOUND] Fix audio gpio state detection Andreas Schwab
2006-02-11 16:10 ` Andreas Schwab
2006-02-12 22:35 ` Benjamin Herrenschmidt
2006-02-12 22:35 ` Benjamin Herrenschmidt
2006-02-12 22:46 ` Ben Collins
2006-02-12 22:46 ` Ben Collins
2006-02-12 23:27 ` Benjamin Herrenschmidt
2006-02-12 23:27 ` Benjamin Herrenschmidt
2006-02-26 17:39 ` Olaf Hering
2006-02-26 17:39 ` Olaf Hering
2006-02-26 19:19 ` Lee Revell
2006-02-26 19:19 ` [Alsa-devel] " Lee Revell
2006-02-26 19:26 ` Olaf Hering
2006-02-26 19:26 ` [Alsa-devel] " Olaf Hering
2006-03-01 22:30 ` Olaf Hering
2006-03-01 22:30 ` Olaf Hering
2006-03-01 23:09 ` Benjamin Herrenschmidt
2006-03-01 23:09 ` Benjamin Herrenschmidt
2006-03-01 23:49 ` Ben Collins
2006-03-01 23:49 ` Ben Collins
2006-03-02 0:00 ` Olaf Hering
2006-03-02 0:00 ` Olaf Hering
2006-03-02 0:04 ` Benjamin Herrenschmidt
2006-03-02 0:04 ` Benjamin Herrenschmidt
2006-03-02 0:04 ` Benjamin Herrenschmidt [this message]
2006-03-02 0:04 ` Benjamin Herrenschmidt
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=1141257844.3889.32.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=alsa-devel@alsa-project.org \
--cc=bcollins@ubuntu.com \
--cc=ben.collins@ubuntu.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=olh@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.