[alsa-devel] Problem setting mixer switch with amixer/alsactl.
broonie at sirena.org.uk
Wed Oct 22 22:57:30 CEST 2008
On Wed, Oct 22, 2008 at 07:47:20PM +0100, Oliver Ford wrote:
> Setting it with alsamixer so it works and then using alsactl to save and
> restore the config also breaks it.
> I'm not sure how to go about debugging this one, can anyone help?
Please send an alsactl save file with the offending configuration - I'll
try to reproduce (though possibly not before Monday).
Could you please also expand on "audio stops working" - for example, do
you get any diagnostics in dmesg, do applications appear to think they
are running normally, is there any noise at all (eg, static) and do any
other audio paths work?
> Also, is there a way to (and should I) set the DAC -> SPKMIX -> INV2 ->
> OUT4 etc in my platform definition in the kernel code, rather than doing
> it with amixer?
The recommended approach is to do this from user space. Direct register
writes when probing should also do the trick if you want to do it
in-kernel but it's not so robust against future changes.
More information about the Alsa-devel