News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Permanent settings for alsamixer -alsactl store is not enough ?

Started by bulek, October 07, 2008, 02:02:00 PM

Previous topic - Next topic

bulek

Hi,

I'd like to do settings in alsamixer that will be permanent. I try to set them up with alsamixer and then do alsactl store, but this obviously isn't enough,

cause volume of other channels are muted on every reboot... (I'd love to get same sound on other outputs too - to send it to touchscreen internal speakers beside sending output to amplifier)...

Is anything else needed to be done to make volume on certain channels permanent ?

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.

colinjones

Bulek - I have no idea what I'm talking about here, but I just read the alsactl man page entry. It occurs to me that the store command writes out the config to a file. But nothing in the man page implies that this config is then picked up each time on reboot automatically....

It maybe inconvenient, but perhaps the point is that you need to create a script to run on reboot that uses the alsactl restore command to load that file back in?

chrisbirkinshaw

Normally the alsa init script should do this. Maybe it's been changed for linuxmce.

What I see is that certain settings are reloaded and some are not. For example I set my PCM to 93% and digital output to ADAT. When I reboot the output mode is ADAT but the PCM is 80%. Perhaps after alsactl restore is run amixer is called to set the PCM to a default value.

OT: Volume control doesn't work with my card from the LMCE GUI. Maybe it is looking for a control called Master? Can you tell me what yours is called?

colinjones

Chris - if you are using PCM, presumably an SPDIF connector then that is correct, there is no volume control over that transport you have to control volume through your amp.

chrisbirkinshaw

Actually, on my soundcard all outputs are controlled by one control - PCM. (Echo Audio Gina 3G)

And in my kitchen I use the speaker built into my MD, for which the control is called "Master Mono"...