- 论坛徽章:
- 0
|
怎么装声卡??在线等~~!!!
有个相同的问题在这里,
http://www.linuxquestions.org/questions/history/134543
我刚在我的IBM A31上装好声卡. 用的是gentoo, 内河是2.6.4.
大概过程如下:
1) 编译内核时,选上ALSA 支持
2)创建 编辑/etc/modules.d/alsa, 加上:
alias snd-card-1 snd-intel8x0
alias sound-slot-0 snd-card-0
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
3)运行
modules-update
在gentoo 里, 这个命令根据/etc/modules.d/目录下的东西更新 /etc/modprobe.conf (2.6.x kernel) or /etc/modules.conf. REDHAT 里应该有相似的工具, 因为每次启动时, 系统都会运行这个命令, 所以手动修改两个conf会被覆盖.
4)运行
rc-update add alsasound boot
在gentoo 里, 这个命令把启动alsa的指令加到/etc/init.d/, 所以每次reboot 都会启动alsa.
5)安装alsa-utils. 打开声音.
手动启动alsa
#/etc/init.d/alsasound start
# amixer
# amixer set Master 100 unmute (主音箱?)
# amixer set PCM 100 unmute (Pulse-Code Modulation ??)
Only if the above doesn't succeed on its own:
# amixer set Center 100 unmute
# amixer set Surround 100 unmute
Test the sound:
# aplay $KDEDIR/share/sounds/pop.wav // (pop.wav is part of KDE)
看看这个,或许有帮助. 安装的过程可能不同, 但道理是一样的.
http://www.gentoo.org/doc/en/alsa-guide.xml
http://foolish.digitalinc.info/docs/alsa/ |
|