LinuxSir.cn,穿越时空的Linuxsir!

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

谁能手把手教我如何驱动声卡845G集成AC97声卡?

[复制链接]
发表于 2003-4-19 22:16:39 | 显示全部楼层 |阅读模式
为了驱动我的声卡,我在“驱动之家”下了alsa-driver-0.9.0rc5,不知是否是否匹配?

它的介绍是这样的:

Realtek瑞昱ALC100/P、ALC101、ALC 200、ALC 201、ALC201/A、ALC650 AC97声音芯片最新驱动包1.70版For Linux

(2002年12月24日发布)适用于核心为2.2.14及其以上版本的Linux系统




首先简单介绍一下背景


我在WINDOWS下看我的声卡是C-Media AC97 Audio Device

在LINUX下使用“声卡检测”程序,弹出的对话框上是这么写

的:
销售商:Intel Corp.
型号:  82801DB AC
模块:  i810_audio
但我按“播放测试声音”按钮,却无任何声响;我

再启动“音量”控制程序,系统索性弹出错误对话框,说“无法打开音频设备。请确认您拥有打开 /dev/mixer 的权限

并确认您在编译内核时已经加入了声音支持”(我的LINUX是全部安装,应该有内核源码)


介绍完毕






如果哪位大哥认为我下的程序不匹配,请一定告诉我,感激不尽;如果程序是可以使用的,我接下来把INSTALL文件贴

上,因为里面有几项操作我不太清楚,请各位帮忙解释一下。多谢了!
 楼主| 发表于 2003-4-19 22:23:47 | 显示全部楼层
其中最核心的一部分是这样的:

Quick install
=============

1) You must have full configured source for the Linux kernel which you
   want to use for the ALSA drivers. Note that ALSA drivers are part
   of the kernel, so there is necessary to resolve all symbol dependencies
   between the used kernel and ALSA driver code. Partly installed kernels
   (for example from distributor makers) can be unuseable for this action.
2) You must turn on sound support (soundcore module).   //这一步怎么操作?
3) Run './configure' script.
   If you have ISA Plug & Play soundcard, use --with-isapnp=yes switch.
   If you want sequencer support, use --with-sequencer=yes switch.
   If you do not want OSS/Free emulation, use --with-oss=no switch.
   If you want turn on debug mode use --with-debug=full switch.
   If you want debug soundcard detection try --with-debug=detect switch.
   If you have kernel source code in another directory than /usr/src/linux,
   use --with-kernel=<kernel_directory>.
   Example: ./configure --with-isapnp=yes --with-debug=full

   //它上面所说的关于声音设备的各项术语我不是太明白,请问我通过什么途径才能得到这些信息?

4) Run 'make install'.
5) Run the './snddevices' script to create new sound devices in /dev directory.
   Skip this step, if you have a kernel with the DEVFS support.
   
   //我怎么能知道我是否have a kernel with the DEVFS support?

6) Edit your /etc/modules.conf (see the kmod support section below).
7) Run 'modprobe snd-xxxx' where xxxx is the name of your card.
   Note: If you have a ISA PnP soundcard you need to first run the isapnp
         program from isapnptools package to initialize your
         soundcard. You can also use the native ISA PnP support by
         using the --with-isapnp=yes configuration switch, in which
         case you do not need the isapnptools package.

   //这一步我更是不知如何下手了。

You can also look at the utils/alsasound file. This script is designed for
the RedHat distribution, but it can be used with other distributions which
use System V style rc init scripts.

Note: All mixer channels are muted by default. You must use a native
      or OSS mixer program to unmute appropriate channels (for example a
      mixer from the alsa-utils package).

Note: This document notices the /etc/modules.conf file. Many current
      distributions uses the old /etc/conf.modules file. Both names are
      valid.
 楼主| 发表于 2003-4-20 08:02:40 | 显示全部楼层
今天早上我就是按照这篇帖子
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=4598
一步一步地操作,过程还算顺利,但重启后,打开音量控制程序,会出现同样的错误提示,就好象我刚才什么都没干似的!
(退出系统时,自检的一堆字符里还是有一项:aumix: error opening mixer   [Failed])
到底出了什么问题?怎样才能照系统所说的那样打开音频设备?我可是用root登陆的,应具有十足的权限了吧.
 楼主| 发表于 2003-4-20 08:04:03 | 显示全部楼层
请高手指点一下!
发表于 2003-4-20 23:25:54 | 显示全部楼层
试一下这个命令,要以root权限执行。


#chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
 楼主| 发表于 2003-4-21 19:36:27 | 显示全部楼层
我用root登陆,在进行安装工作之前,先按你说的录入了命令。最后还是不行。
我怀疑是不是这里有什么问题--这是执行完make install后屏幕上的后几行,我原样复制了下来:

/bin/sh: line 1: modprobe: command not found
cat WARNING

WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.


而且在我重启时(或者说关机时),系统自检(要么就是关闭设备一类的事情)所列出的一大堆字符里,我看到有这么一行:
Saving mixer setting modprobe:modprobe can't locate sound-slot-0
然后下面就是:
aumix:error openning mixer        [Failed]

您能不能根据我所提供的这些信息,再分析一下呢?
发表于 2003-4-21 21:13:10 | 显示全部楼层
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.9.2.tar.bz2
下载这个稳定版本的来安装一下试试看
 楼主| 发表于 2003-4-21 21:18:35 | 显示全部楼层
谢北南兄!
这个FTP可真难上啊!!
 楼主| 发表于 2003-4-21 21:27:52 | 显示全部楼层
北南兄啊,这个FTP我等了快二十分钟了,就是上不去呀!什么时候人会少点?
发表于 2003-4-21 22:23:12 | 显示全部楼层
ftp://210.51.0.225/pc/ac97/alc650/linux_v18.zip
里面和老大提供的是一个版本。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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