|
|

楼主 |
发表于 2006-11-12 20:17:21
|
显示全部楼层
Post by wcw
应该不是esd的原因吧?我就没加。
应是声卡驱动没装好吧!不确定的话装个播放器试试!以前我也有这种情况,去官方上看看gentoo linux alsa guide就可以解决。
mplayer和audacious我都装了,能正常出声音。不过,有个现象很奇怪,在每次重启开机时,屏幕上会有这样一行:
Could not detect custom ALSA settings. Loading all detected alsa drivers.
接着说载入什么PCM等等的模块。启动到gnome后,也能正常播放mp3.
我找了一下,上面出现的文字是在/etc/init.d/alsasound文件里的。看以下:
load_modules() {
# List of drivers for each card.
local DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $2}')"
# Fall back on the automated aliases if we don't have ALSA configured properly...
if [[ -z "${DRIVERS}" && ! ( -d /proc/asound && -z "$(grep ' no soundcards ' /proc/asound/cards)" ) ]] ; then
ewarn [color="Red"]"Could not detect custom ALSA settings. Loading all detected alsa drivers."
DRIVERS="$(modprobe -c | grep pci: | awk '{ print $3 }' | grep snd.* | sort | uniq)"
[[ -z "${DRIVERS}" ]] && eerror "Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?"
fi
if [[ ${ENABLE_OSS_EMUL} == "yes" ]] && modprobe -c | grep -q "snd.*oss$" ; then
# Test for use of OSS
local OSS="$(modprobe -l | grep "snd.*oss" | sed -e "s:\/.*\/::" -e "s:\..*::")"
# Add oss modules to list
local i
for i in ${OSS}
do
DRIVERS="${DRIVERS} ${i}"
done
fi
我是按照gentoo主页上安装的alsa。应该不是驱动没装好吧?:ask |
|