LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Cannot save alsa configuration (https://www.linuxquestions.org/questions/slackware-14/cannot-save-alsa-configuration-158956/)

Harp00 03-17-2004 10:26 AM

Cannot save alsa configuration
 
Hi, here is my problem:

I installed alsa driver etc. and everything works fine, but every time i start a new session i have to run alsamixer or type as root alsactl restore to have sound.
Why does it not save it with alsactl store? Am i missing to edit any file?
Thank you.

bnice 03-17-2004 10:36 AM

#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
alsactl restore

Harp00 03-22-2004 02:42 PM

Thank you bnice.
I did what you post me, but the problem still exists.
Running alsamixer after startx does not restore nothing.
There exists two alsa configurations: one as user with Master muted and PCM 100%, and the root one with PCM muted and Master ok.
I don't know how to fix it.
It seems it load alsa config from.... i don't know :confused:
It discard /etc/rc.d/rc.local.

urka58 03-22-2004 04:33 PM

the simplest way should be you run as root
alsaconf
and then when you have set up the desired volume levels
alsactl store.
I don't remember if slack 9.0 automatically restore alsamixer, 9.1 does by /etc/rc.d/rc.alsa.
No ideas on Debian.
Anyway if you do not have any script automatically restoring alsamixer put
alsactl restore
in your /etc/rc.d/rc.local making sure it is executable.
Ciao

Harp00 03-25-2004 02:49 PM

I can not fix this problem!! :cry:
I followed all the suggestions you gave me, but it seems it still ignore /etc/rc.d/rc.local file.


All times are GMT -5. The time now is 03:37 PM.