Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: ASoC - Output widgets
@ 2008-02-26 11:07 Mark Brown
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2008-02-26 11:07 UTC (permalink / raw)
  To: Alexandre BOUIN; +Cc: alsa-devel

On Tue, Feb 26, 2008 at 10:11:42AM +0100, Alexandre BOUIN wrote:

> DAPM WM8900 snd_soc_dapm_stream_event
> FM Transmitter: On  in 2 out 1
>  in  static FMOUT_R
>  in  static FMOUT_L

> I initialize FM Transmitter like this : 
> 	snd_soc_dapm_set_endpoint(codec, "FM Transmitter", 0);
> but it still enabled. Why ?

According to the above trace your FM transmitter is still reporting as
being connected.  Have you checked to ensure that your your call to
configure the transmitter is happening after your board widgets have
been registered?

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: ASoC - Output widgets
@ 2008-02-25 13:34 Mark Brown
  2008-02-26  9:11 ` Alexandre BOUIN
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2008-02-25 13:34 UTC (permalink / raw)
  To: Alexandre BOUIN; +Cc: alsa-devel

On Mon, Feb 25, 2008 at 10:39:15AM +0100, Alexandre BOUIN wrote:

>  - 1 SND_SOC_DAPM_MIXER is connected to 2 SND_SOC_DAPM_PGA with power
> control.
>  - each PGA is connected to an SND_SOC_DAPM_OUTPUT
>  - according to tosa example : 
>     - first OUTPUT is connected to a SND_SOC_DAPM_HP defined as endpoint
>     - second OUTPUT is connected to a SND_SOC_DAPM_SPK defined as endpoint
> this SPK is set disconnected in my tosa_ac97_init -like function

Could you please post dmesg output with DAPM_DEBUG turned on which shows
this happening?

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: ASoC - Output widgets
@ 2008-02-23 15:57 Mark Brown
  2008-02-25  9:39 ` Alexandre BOUIN
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2008-02-23 15:57 UTC (permalink / raw)
  To: Alexandre BOUIN; +Cc: alsa-devel

On Fri, Feb 22, 2008 at 05:39:54PM +0100, Alexandre BOUIN wrote:

> Using ASoC layer, I'd like to perform this example behaviour with my widgets
> : 
>  - 1 output mixer MIXOUT is connected to 2 outputs OUT1 and OUT2
>  - OUT1 and OUT2 can be powered independently
> This seems easy, but atm while one is powered, the other is powered too.

I may be misunderstanding what you're doing here but I suspect that
you need to use snd_soc_dapm_set_endpoint() to mark the outputs that are
not in use as disconnected.  If you do that then then DAPM will not
power up the relevant output path.

You can do this at any point at run time - see sound/soc/pxa/tosa.c for
an example of this.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* ASoC - Output widgets
@ 2008-02-22 16:39 Alexandre BOUIN
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre BOUIN @ 2008-02-22 16:39 UTC (permalink / raw)
  To: alsa-devel

Hi list,

Using ASoC layer, I'd like to perform this example behaviour with my widgets
: 
 - 1 output mixer MIXOUT is connected to 2 outputs OUT1 and OUT2
 - OUT1 and OUT2 can be powered independently
This seems easy, but atm while one is powered, the other is powered too.

Does someone have already made this widget behavior ?

Regards,
Alex.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-26 11:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-26 11:07 ASoC - Output widgets Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2008-02-25 13:34 Mark Brown
2008-02-26  9:11 ` Alexandre BOUIN
2008-02-23 15:57 Mark Brown
2008-02-25  9:39 ` Alexandre BOUIN
2008-02-22 16:39 Alexandre BOUIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox