Re: [alsa-devel] ASoC - Output widgets
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?
Could you please post dmesg output with DAPM_DEBUG turned on which shows this happening?
Here is my DAPM_DEBUG traces : Please notice that for some internal reasons, this driver is not at all the same as wolfson release ;)
DAPM WM8900 snd_soc_dapm_stream_event FM Transmitter: On in 2 out 1 in static FMOUT_R in static FMOUT_L Headphone Jack: On in 2 out 1 in static HPOUT_R in static HPOUT_L HPOUT_R: Off in 2 out 1 in static HPOUT CP out static Headphone Jack HPOUT_L: Off in 2 out 1 in static HPOUT CP out static Headphone Jack FMOUT_R: Off in 1 out 1 in static FMOUT_R PGA out static FM Transmitter FMOUT_L: Off in 1 out 1 in static FMOUT_L PGA out static FM Transmitter HPOUT CP: On in 2 out 2 in static HPOUT_R PGA in static HPOUT_L PGA out static HPOUT_R out static HPOUT_L HPOUT_R PGA: On in 1 out 2 in static MIXOUT_R out static HPOUT CP HPOUT_L PGA: On in 1 out 2 in static MIXOUT_L out static HPOUT CP FMOUT_R PGA: On in 1 out 1 in static MIXOUT_R out static FMOUT_R FMOUT_L PGA: On in 1 out 1 in static MIXOUT_L out static FMOUT_L MIXOUT_R: On in 1 out 3 in DAC_R Switch DAC_R out static HPOUT_R PGA out static FMOUT_R PGA MIXOUT_L: On in 1 out 3 in DAC_L Switch DAC_L out static HPOUT_L PGA out static FMOUT_L PGA DAC_R: On in 1 out 3 out DAC_R Switch MIXOUT_R DAC_L: On in 1 out 3 out DAC_L Switch MIXOUT_L
I initialize FM Transmitter like this : snd_soc_dapm_set_endpoint(codec, "FM Transmitter", 0); but it still enabled. Why ? Do you have any ideas on why both HP and FMOUT PGAs are powered ?
Thanks.
Regards, Alex.
participants (2)
-
Alexandre BOUIN
-
Mark Brown