|
用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 |
|