|
发表于 2004-9-4 13:59:18
|
显示全部楼层
http://alsa.opensrc.org/index.php?page=FAQ021
There's several ways to fix this.
The easiest is to write a script with one line:
alsactl restore
and to save it as 'alsasoundrestoremixer' in /etc/init.d/. Create a symlink to run this straight after alsasound:
% ln -s /etc/init.d/alsasoundrestoremixer /etc/rcS.d/S59alsasoundrestoremixer
This forces the loading of the mixer settings every time the system is booted.
注意,里面提到的方法适用于System V 方式的启动脚本。 在slackware中,你只需要用alsamixer设置音量并保存设置,然后添加
/usr/bin/alsactl restore
到 /etc/rc.d/rc.local 即可。 |
|