No, I didn't edit /etc/rc.d/rc.M.
I'll try to describe something more about my problem. All started when I noticed that, microphone in skype doesn't work. Then I've understood that microphone doesn't work in whole system(I can't record my voice). In alsamixer I saw that "digital" and "capture" channels were on zero level. I have increased the levels, exit from alsamixer and made "alsactl store". But when I restart X-session or reboot, "digital" and "capture" were on zero level again. If I make "alsactl restore" it applies my changes but just until the restart X-session or reboot. Then I've seen that /etc/rc.d/rc.alsa should do the "alsactl restore" by itself. I reboot the system and make "/etc/rc.d/rc.alsa restart "digital" and "capture" channels increased as I saved in alsa.
But I don't understand why it doesn't happening on startup? rc.alsa is executable and it should runs, inside:
Code:
...
# A function to load the ALSA mixer settings:
load_alsa_mixer() {
if [ -r /var/lib/alsa/asound.state ]; then
echo "Loading ALSA mixer settings: /usr/sbin/alsactl restore"
/usr/sbin/alsactl restore
else
# It's possible a user might not want to set a default sound state.
# In that case, do this: touch /var/lib/alsa/no.asound.state
if [ ! -r /var/lib/alsa/no.asound.state ]; then
echo "Setting default ALSA mixer settings."
# set default mixer volumes for ALSA
# Taken from the alsaconfig script.
amixer -s -q <<EOF
...
/var/lib/alsa/asound.state - is present and saving after "alsactl store"