|
发表于 2003-6-29 15:07:16
|
显示全部楼层
装完Alsa后xmms播不了mp3
你好,只好再次请你帮忙。
这次我把安装过程也简单地说一下。
我没有装过oss驱动,所以删除oss有关部分我没有做。
然后确认内核源码包,在/usr/src下有linux-2.4.20-8目录。然后作一下链接
ln -s linux-2.4.20-8 linux。在用modinfo soundcore确认一下内核配置,返回的信息由soundcore.o这个文件,不至于你说得soundcore文件有区别没有。
我用make xconfig察看了一下sound下得sound card support,选的是M(我也选过y,但也不行)。
然后解压alsa-driver,lib,utils三个包,按照你所说的步骤进行。都能进行下去,只是在做alsa driver的make时,好像提示编译kernel的编译器与当前用的不一样,但也能进行下去。
在作完这些以后,安装gamix,在装完后就运行gamix提示错误:
gamix
probe.c 40:NO alsadevice
probe.c.44 can't make mixer。
在执行chkconfig --add alsasound后重新启动后,可以运行gamix,我把所有的都调到最大后退出,用alsactl store保存当前设置。
在没有安装alsa之前,我装的xmms是可以播放mp3的(我装了插件),但装完alsa以后就没有声音了。装的Mplayer也一样,方vcd有图像,就是没声音。
我看过你写的第二版,说是要重新编译内核,我查过有关的编译内核的帖子,情况与redhat 9下不同,不知你是怎么编译内核的?我应不应改变一下内核。
下面是有关lsmod lspci一级modules.conf 何asound.state的文件内容。
lsmod的内容:
Module Size Used by Not tainted
nls_iso8859-1 3484 1 (autoclean)
nls_cp437 5116 1 (autoclean)
vfat 12844 1 (autoclean)
fat 38328 0 (autoclean) [vfat]
snd-pcm-oss 44836 0 (autoclean)
snd-mixer-oss 16184 0 (autoclean) [snd-pcm-oss]
ide-cd 35196 0 (autoclean)
cdrom 33472 0 (autoclean) [ide-cd]
parport_pc 18756 1 (autoclean)
lp 8868 0 (autoclean)
parport 36480 1 (autoclean) [parport_pc lp]
snd-intel8x0 22340 0
snd-pcm 84480 0 [snd-pcm-oss snd-intel8x0]
snd-page-alloc 8372 0 [snd-intel8x0 snd-pcm]
snd-timer 19716 0 [snd-pcm]
snd-ac97-codec 47688 0 [snd-intel8x0]
snd-mpu401-uart 5136 0 [snd-intel8x0]
snd-rawmidi 18496 0 [snd-mpu401-uart]
snd-seq-device 6204 0 [snd-rawmidi]
snd 43716 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6276 4 [snd]
autofs 12948 0 (autoclean) (unused)
8139too 17896 0
mii 3944 0 [8139too]
ipt_REJECT 3896 6 (autoclean)
iptable_filter 2380 1 (autoclean)
ip_tables 14648 2 [ipt_REJECT iptable_filter]
ohci1394 19944 0 (unused)
ieee1394 48268 0 [ohci1394]
keybdev 2880 0 (unused)
mousedev 5428 1
hid 21700 0 (unused)
input 5792 0 [keybdev mousedev hid]
ehci-hcd 19592 0 (unused)
usb-ohci 21160 0 (unused)
usbcore 77696 1 [hid ehci-hcd usb-ohci]
ext3 69984 2
jbd 51220 2 [ext3]
lspci的内容
00:00.0 Host bridge: nVidia Corporation: Unknown device 01e0 (rev c1)
00:00.1 RAM memory: nVidia Corporation: Unknown device 01eb (rev c1)
00:00.2 RAM memory: nVidia Corporation: Unknown device 01ee (rev c1)
00:00.3 RAM memory: nVidia Corporation: Unknown device 01ed (rev c1)
00:00.4 RAM memory: nVidia Corporation: Unknown device 01ec (rev c1)
00:00.5 RAM memory: nVidia Corporation: Unknown device 01ef (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation: Unknown device 006c (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:0c.0 RAID bus controller: CMD Technology Inc Silicon Image SiI 3112 SATARaid Controller (rev 02)
01:0d.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 61)
02:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
modules.conf文件内容
alias eth0 8139too
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias ieee1394-controller ohci1394
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=1
options snd-intel8x0 index=0
# --- END: Generated by ALSACONF, do not edit. ---
asound.state的内容
state.nForce2 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Playback Switch'
value false
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 31
value.1 31
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Center Playback Switch'
value false
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Center Playback Volume'
value 31
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'LFE Playback Switch'
value false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'LFE Playback Volume'
value 31
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Surround Playback Switch'
value.0 false
value.1 false
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Surround Playback Volume'
value.0 31
value.1 31
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Mono Playback Switch'
value false
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 31
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PC Speaker Playback Switch'
value false
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'PC Speaker Playback Volume'
value 15
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Phone Playback Switch'
value false
}
control.14 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 31
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value false
}
control.16 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 31
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Boost (+20dB)'
value false
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Playback Switch'
value false
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 31
value.1 31
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Playback Switch'
value false
}
control.21 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 31
value.1 31
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Video Playback Switch'
value false
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Video Playback Volume'
value.0 31
value.1 31
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Playback Switch'
value false
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 31
value.1 31
}
control.26 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 Mic
value.1 Mic
}
control.27 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Capture Switch'
value true
}
control.28 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 15
value.1 15
}
control.29 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.30 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select'
value Mic1
}
control.31 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.32 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Pro Mask'
value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.33 {
comment.access 'read write'
comment.type IEC958
iface MIXER
name 'IEC958 Playback Default'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.34 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Playback Switch'
value false
}
control.35 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 3'
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 0
}
control.36 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Analog
comment.item.1 Digital
iface MIXER
name 'IEC958 Playback Source'
value Analog
}
control.37 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Valid Switch'
value false
}
control.38 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Monitor'
value false
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Switch'
value false
}
control.40 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'External Amplifier Power Down'
value false
}
} |
|