说明声卡还是好的,是不是哪个配置文件不对了或哪个文件权限
出问题了:
# cat /etc/modprobe.conf
alias eth0 tulip
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.0rc2 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
# cat /etc/modules.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.0rc2 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
# 上面的配置是正确的。
你重新安装光盘上的alsa-utils试一试。 上面的配置是正确的。
你重新安装光盘上的alsa-utils试一试。
基本就是声卡问题了,我从装了整个系统后alsaconf找到了ac97
但alsasound start失败,模块无法加载!
配置过程中播放测试音乐失败:
aplay: main:502: audio open error: No such device────────────────┐
Saving the mixer setup used for this in /etc/asound.state. │
/usr/sbin/alsactl: save_state:1061: No soundcards found...
模块无法加载:
# cat /etc/modules.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.0rc2 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
# lsmod
Module SizeUsed by
ide_cd 413480
cdrom 358721 ide_cd
md5 39681
ipv6 2494088
lp 119720
button 61680
tulip 456000
crc32 44801 tulip
ohci1394 345680
ieee1394 2214841 ohci1394
parport_pc 271761
parport 433682 lp,parport_pc
usbmouse 56320
usbkbd 74240
hid 636800
uhci_hcd 311200
usbcore 1096606 usbmouse,usbkbd,hid,uhci_hcd
loop 178000
xfs 5983281
#
重启也没有用。 补充,系统启动时找到了这个设备的。
# dmesg |grep VIA
ACPI: RSDP (v000 VIAP4X ) @ 0x000f71e0│
ACPI: RSDT (v001 VIAP4X AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3000│
ACPI: FADT (v001 VIAP4X AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3040│
ACPI: DSDT (v001 VIAP4X AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000──┤
agpgart: Detected VIA P4X266 chipset > < No> │
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci0000:00:11.1──────┘
# 你的声卡根本没有驱动起来,重新安装alsa-utils这个包然后重新配置。
当你的声卡模块载入系统时有新问题再问,到现在为止,你仍然没有正确的配置声卡。 问题已经转换了,
什么情况会导致声卡驱动不起来呢?
我的也是ac97呀,而且重新安装alsa-utils后依然配置不起来
alsaconf能够识别到我的via82xx ac97但无法启动起来,
我手工modprobe把/etc/modules.conf里的模块加载起来
后,aplay /usr/share/sounds/alsa/test.wav能够找到设备了
但听不到声音! 谢谢cjacker的耐心回答,我实在被ac97搞的不行了,不过现在声卡没有驱动起来mplayer 是能播放视频的。
不会再僵死了,看来问题的核心在于声卡驱动。
不过前天还是mg1.1fina版本时声卡工作很正常,昨天mg1.2prev5配置声卡驱动时有一次也是听到了测试声音,现在使用光盘上运行的windows XP启动系统播放声音还是没有问题,不知道有没有什么好办法来诊断声卡。
再问一个别的问题:我如何能够禁用ipv6。
谢谢! cjacker老大你我都是ac97,kmix使用的是via8233吗?
# aplay pop.wav
Playing WAVE 'pop.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
ALSA lib pcm_hw.c:523:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed: Input/output error
# lsmod
Module SizeUsed by
ide_cd 413480
cdrom 358721 ide_cd
md5 39681
ipv6 2494088
snd_via82xx 246721
snd_pcm 991081 snd_via82xx
snd_timer 252201 snd_pcm
snd_ac97_codec 541481 snd_via82xx
snd_page_alloc 120362 snd_via82xx,snd_pcm
snd_mpu401_uart 72961 snd_via82xx
snd_rawmidi 247361 snd_mpu401_uart
snd_seq_device 84561 snd_rawmidi
snd 507889 snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 85121 snd
button 61680
tulip 456000
crc32 44801 tulip
ohci1394 345680
ieee1394 2214841 ohci1394
parport_pc 271760
parport 433681 parport_pc
usbmouse 56320
usbkbd 74240
hid 636800
uhci_hcd 311200
usbcore 1096606 usbmouse,usbkbd,hid,uhci_hcd
loop 178000
xfs 5983281
我的截图是这样: 还发现一个问题,alsaconf刚才配置时改写这个文件/etc/modules.conf
而系统实际需要读这个文件:/etc/modprobe.conf
奇怪了,手工建了一个连接,但我记得第一次安装mg1.2p5时好象没有这个问题。 又仔细看了bios我的是 via 3058 AC97,是不是这个驱动不期来呀。 多谢各位已经搞定了:
alsaconf默认把我的VIA 3058 AC97配置为了 VIA82xx,这个驱动在我的
系统上无法工作,强行修改/etc/modprobe.conf里的相应字断为:via82cxxx_audio
然后使用 oss工作终于跑起来了。
终于回到了有声的时代,看 天龙八部ing ~~
kmix最后信息是:
# kmix
kmix: Trying Alsa 0.9x Device hw:0
kmix: ERROR: Alsa mixer cannot be found.
Please check that the soundcard is installed and the
soundcard driver is loaded.
kmix:
kmix: Trying Alsa 0.9x Device hw:0
kmix: ERROR: Alsa mixer cannot be found.
Please check that the soundcard is installed and the
soundcard driver is loaded.
kmix:
kmix: Trying Alsa 0.9x Device hw:1
kmix: ERROR: Alsa mixer cannot be found.
Please check that the soundcard is installed and the
soundcard driver is loaded.
kmix:
kmix: Trying Alsa 0.9x Device hw:1
kmix: ERROR: Alsa mixer cannot be found.
Please check that the soundcard is installed and the
soundcard driver is loaded.
kmix:
kmix: Sound drivers supported: ALSA0.9 + OSS
Sound drivers used:+ OSS
kmix: Mixer number: 0 Name: ALC200/200P
kmix: Inserted mixer 0:ALC200/200P
非常感谢各位热心的朋友。
页:
1
[2]