LinuxSir.cn,穿越时空的Linuxsir!

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

rr19xx兄台请进,alsa+redhat9问题

[复制链接]
发表于 2006-12-15 09:51:03 | 显示全部楼层 |阅读模式
用alsa搞偶滴集成声卡,在google上好一通搜,操作如下:

首先,查看声卡型号:
[root@MrLee configs]# lspci
00:00.0 Host bridge: Intel Corp. 82865G [Springdale-G] Chipset Host Bridge (rev02)
00:01.0 PCI bridge: Intel Corp.: Unknown device 2571 (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB USB (Hub #3) (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB USB EHCI Controller #2 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB USB EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB ICH5 IDE (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4151
01:00.1 Display controller: ATI Technologies Inc: Unknown device 4171
02:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

<<在Sound项下的Sound card support和OSS sound modules需要以模块选中。>>
操作成功;

确认内核配置:

[root@MrLee linux-2.4.20-31.9]# modinfo soundcore
filename:    /lib/modules/2.4.20-31.9/kernel/drivers/sound/soundcore.o
description: "Core sound module"
author:      "Alan Cox"
license:     "GPL"

下载解压包:
tar jxvf alsa-driver-1.0.13.tar.bz2
tar jxvf alsa-lib-1.0.13.tar.bz2
tar jxvf alsa-utils-1.0.13.tar.bz2

cd alsa-driver-1.0.13
./configure

之后:
make
make install
./snddevices
cd utils
./alsaconf 之后出现一个终端图形配置界面

Following card(s) are found on your system.                     │
│          Choose a soundcard to configure:                                │
│ ┌──────────────────────────────────────────────────────────────────────┐ │
│ │          intel8x0  Intel Corp. 82801EB AC'97 Audio (rev 02)          │ │
│ │          legacy    Probe legacy ISA (non-PnP) chips      


偶选82801EB AC97    OK!

OK, sound driver is configured.                     │
         │                                                          │
         │                   ALSA  CONFIGURATOR                     │
         │                                                          │
         │           will prepare the card for playing now.         │
         │                                                          │
         │      Now I'll run alsasound init script, then I'll use   │
         │      amixer to raise the default volumes.                │
         │      You can change the volume later via a mixer         │
         │      program such as alsamixer or gamix.                 │
         │                                                          │

Loading driver...
Starting sound driver: snd-intel8x0 /lib/modules/2.4.20-31.9/kernel/sound/acore/snd.o: unresolved symbol __write_lock_failed
/lib/modules/2.4.20-31.9/kernel/sound/acore/snd.o: unresolved symbol kernel_flag_cacheline
/lib/modules/2.4.20-31.9/kernel/sound/acore/snd.o: unresolved symbol __read_lock_failed
/lib/modules/2.4.20-31.9/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-31.9/kernel/sound/acore
 楼主| 发表于 2006-12-15 09:55:37 | 显示全部楼层
偶还看到rr19xx大哥2003年说过滴话:
注意:用redhat9.0的朋友,rh9自带的源码包不能使alsa正确安装,即使重新编译新内核也如此。安装alsa时总是提示snd.o(alsa的核心)unresolved symbol 。我是到www.kernel.org
下了一个2.4.20的源码包,重新编译内核才搞定。有哪位老大知道使用rh9自带源码包就可以安装alsa的,请不吝赐教。


偶滴就是redhat9.0  内核2.4.20.31.9  难道就真不能装上声卡了???
可现在是2006年了啊,偶用的是最新的alsa-1.0.13组件啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-15 09:59:45 | 显示全部楼层
偶还看到rr19xx大哥2003年说过滴话:
注意:用redhat9.0的朋友,rh9自带的源码包不能使alsa正确安装,即使重新编译新内核也如此。安装alsa时总是提示snd.o(alsa的核心)unresolved symbol 。我是到www.kernel.org
下了一个2.4.20的源码包,重新编译内核才搞定。有哪位老大知道使用rh9自带源码包就可以安装alsa的,请不吝赐教。


偶滴就是redhat9.0  内核2.4.20.31.9  难道就真不能装上声卡了???
可现在是2006年了啊,偶用的是最新的alsa-1.0.13组件啊
回复 支持 反对

使用道具 举报

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

本版积分规则

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