[alsa-devel] ASoC - Output widgets

Alexandre BOUIN a.bouin at kerlink.fr
Tue Feb 26 10:11:42 CET 2008


> 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.



More information about the Alsa-devel mailing list