Forwarded to the list as requested by Andreas Mohr
<[EMAIL PROTECTED]>

-- 
Daniel Ribeiro

Hi all,

I found the following in logs on OpenMoko image:

Feb  5 21:43:40 e680 user.warn pulseaudio[1190]: alsa-util.c: Cannot find
mixer control "PCM".
Feb  5 21:43:40 e680 user.warn pulseaudio[1190]: alsa-util.c: Cannot find
fallback mixer control "Master".

Thus at least rename the "Output gain" control to "Master Playback Volume"
to comply with standard naming. Or is the "Output gain" not the master
output control? That might be the case...

Andreas Mohr

Hi all,

I found the following in logs on OpenMoko image:

Feb  5 21:43:40 e680 user.warn pulseaudio[1190]: alsa-util.c: Cannot find
mixer control "PCM".
Feb  5 21:43:40 e680 user.warn pulseaudio[1190]: alsa-util.c: Cannot find
fallback mixer control "Master".

Thus at least rename the "Output gain" control to "Master Playback Volume"
to comply with standard naming. Or is the "Output gain" not the master
output control? That might be the case...

Andreas Mohr

Signed-off-by: Andreas Mohr <[EMAIL PROTECTED]>

diff -urN linux-2.6.24.patched_clean/sound/soc/codecs/pcap2.c linux-2.6.24.patched_lm4857/sound/soc/codecs/pcap2.c
--- linux-2.6.24.patched_clean/sound/soc/codecs/pcap2.c	2008-02-15 23:59:19.000000000 +0100
+++ linux-2.6.24.patched_lm4857/sound/soc/codecs/pcap2.c	2008-02-07 20:12:32.000000000 +0100
@@ -136,8 +136,8 @@
 
 /* pcap2 codec non DAPM controls */
 static const struct snd_kcontrol_new pcap2_codec_snd_controls[] = {
-SOC_SINGLE("Output gain", (PCAP2_OUTPUT_AMP|SM),  5, 15, 0),
-SOC_SINGLE("Input gain", (PCAP2_INPUT_AMP|SL),   0, 31, 0),
+SOC_SINGLE("Master Playback Volume", (PCAP2_OUTPUT_AMP|SM),  5, 15, 0),
+SOC_SINGLE("Capture Volume", (PCAP2_INPUT_AMP|SL),   0, 31, 0),
 };
 
 static const struct snd_kcontrol_new pcap2_codec_dm_mux_control[] = {


Reply via email to