On Tue, Aug 05, 2008 at 08:06:06PM -0700, Nitin Mahajan wrote:
Here is the mixer-config file got through 'alsactl'. Could you please guide me which controls to set with what values using amixer, for playback through Headphone and Recording?
For playback try these:
control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Headphone Playback Switch' value false }
This should be enabled.
control.8 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Headphone Playback ZC Switch' value false }
It's better to enable this but not essential - it avoids audio artifacts while doing volume updates during playback.
control.64 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Right Mixer PCM Playback Switch' value false } control.65 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Left Mixer PCM Playback Switch' value false }
These should be enabled.
If this still gives you trouble then please build with DAPM_DEBUG enabled in soc-dapm.c (or #define DEBUG at very the top of the file prior to the includes if using a very current version). This will cause ASoC to produce debug output when it starts playback which should show anything that needs to be enabled but isn't.
Please also make sure that you are using a driver with the patch that Marek identified earlier in the thread.