LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1420|回复: 2

没有alsaconf怎么配置声卡啊?

[复制链接]
发表于 2009-8-27 23:01:54 | 显示全部楼层 |阅读模式
今天把我的Debian重装了一下,我发现apt安装alsa-utils时,没有了alsaconf,后来在google上搜了搜,发现现在的Debian包中不带alsaconf了,按照网上的帖子做了做,可我的声卡驱动不起来。

我的机器是 thinkpad R60e,Linux配置如下:
uname -a
Linux viviya 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686 GNU/Linux

lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

lsmod | grep snd
snd_hda_intel         324248  1
snd_pcm_oss            32800  0
snd_mixer_oss          12320  1 snd_pcm_oss
snd_pcm                62596  2 snd_hda_intel,snd_pcm_oss
snd_timer              17800  1 snd_pcm
snd                    45604  7 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               6368  1 snd
snd_page_alloc          7816  2 snd_hda_intel,snd_pcm

我的机器上没有/etc/modprobe.conf和/etc/rc.conf

我修改了/etc/modprobe.d/alsa-base.conf,内容如下:
# autoloader aliases
#install sound-slot-0 /sbin/modprobe snd-card-0
#install sound-slot-1 /sbin/modprobe snd-card-1
#install sound-slot-2 /sbin/modprobe snd-card-2
#install sound-slot-3 /sbin/modprobe snd-card-3
#install sound-slot-4 /sbin/modprobe snd-card-4
#install sound-slot-5 /sbin/modprobe snd-card-5
#install sound-slot-6 /sbin/modprobe snd-card-6
#install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
#install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
#install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
#install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }

# Prevent abnormal drivers from grabbing index 0
#options bt87x index=-2
#options cx88_alsa index=-2
#options snd-atiixp-modem index=-2
#options snd-intel8x0m index=-2
#options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
#options snd-pcsp index=-2

MODULES=(cpufreq_ondemand cpufreq_powersave fuse !snd_pcsp)

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel
options snd-hda-intel model=basic


对于options snd-hda-intel model=basic,我用model=lenovo和model=AD1981都试了试,就是没有声音,请问哪位有经验的能不能给个提示?

:thank
发表于 2009-8-27 23:28:52 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-27 23:33:29 | 显示全部楼层
搞定了,我从alsa-project下了一个alsa-utils压缩包,运行里面的alsaconf就自动配置好了。真是神啊。

生成了/etc/modprobe.d/sound文件,内容:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表