免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7147 | 回复: 3
打印 上一主题 下一主题

[Server 2003] Ubuntu 9.10上声卡为什么不好使?大家帮帮忙吧 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-02-08 15:52 |只看该作者 |倒序浏览
电脑上已经装了Ubuntu 9.10好几天了,今天才发现居然声卡还没有驱动上?播放时一点声音也没有,之前XP上用得很好的,咋到Ubuntu 9.10就不行了呢?电脑上以前主板声卡坏了,后来买的一块雅马哈724的声卡,XP上好使的
播放器能打开,播个MP3进度条也在走可是还是没有声音,即使把音量(系统的和播放器的音量)调节都开到最大都没有声音,无语。。。。。。从面板上“系统”》“首选项”》“声音”里看不到任何硬件
怀疑是alsa驱动不行,卸载了重装也不好使,后来装了个OSS万能驱动后用SMPLAYER播放一首歌曲可以,只是放完就显示“SMPLAYER已经崩溃了,请查看日志:
/usr/bin/mplayer -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo xv, -ao oss -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 117440527 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /root/.config/smplayer/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -aid 0 -subpos 100 -volume 6 -cache 2000 -ss 6 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 /root/桌面/4 In Love-你休想.mp3
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Terminal type `unknown' is not defined.
Playing /root/桌面/4 In Love-你休想.mp3.
Cache fill: 1.20% (24576 bytes)
ID_AUDIO_ID=0
Audio only file format detected.
ID_FILENAME=/root/桌面/4 In Love-你休想.mp3
ID_DEMUXER=audio
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=0
ID_LENGTH=236.00
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
[Mixer] No hardware mixing, inserting volume filter.
Video: no video
Starting playback...
自己也查了网上的很多办法都不好使,用终端能看到检测到了我的两个声卡了的
root@ubuntu:~# aplay -l

aplay: device_list:223: 找不到音效卡…
驱动安装失败了?
root@ubuntu:~# lspci -v

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)

        Subsystem: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface

        Flags: bus master, fast devsel, latency 0

        Memory at f0000000 (32-bit, prefetchable) [size=128M]

        Capabilities: [e4] Vendor Specific Information <?>

        Capabilities: [a0] AGP version 3.0

        Kernel driver in use: agpgart-intel

        Kernel modules: intel-agp



00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)

        Flags: bus master, 66MHz, fast devsel, latency 64

        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32

        Memory behind bridge: f8000000-f9ffffff

        Prefetchable memory behind bridge: e0000000-efffffff

        Kernel modules: shpchp



00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)

        Subsystem: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface

        Flags: fast devsel

        Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]



00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 0, IRQ 16

        I/O ports at bc00 [size=32]

        Kernel driver in use: uhci_hcd



00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 0, IRQ 19

        I/O ports at b000 [size=32]

        Kernel driver in use: uhci_hcd



00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 0, IRQ 18

        I/O ports at b400 [size=32]

        Kernel driver in use: uhci_hcd



00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 0, IRQ 16

        I/O ports at b800 [size=32]

        Kernel driver in use: uhci_hcd



00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 0, IRQ 23

        Memory at fa100000 (32-bit, non-prefetchable) [size=1K]

        Capabilities: [50] Power Management version 2

        Kernel driver in use: ehci_hcd



00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)

        Flags: bus master, fast devsel, latency 0

        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32

        I/O behind bridge: 0000a000-0000afff

        Memory behind bridge: fa000000-fa0fffff

        Kernel modules: shpchp



00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)

        Flags: bus master, medium devsel, latency 0

        Kernel modules: iTCO_wdt, intel-rng



00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 0, IRQ 18

        I/O ports at 01f0 [size=8]

        I/O ports at 03f4 [size=1]

        I/O ports at 0170 [size=8]

        I/O ports at 0374 [size=1]

        I/O ports at f000 [size=16]

        Memory at 20000000 (32-bit, non-prefetchable) [size=1K]

        Kernel driver in use: ata_piix



00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: medium devsel, IRQ 5

        I/O ports at 0500 [size=32]

        Kernel modules: i2c-i801



00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 0, IRQ 17

        I/O ports at d800 [size=256]

        I/O ports at dc00 [size=64]

        Memory at fa101000 (32-bit, non-prefetchable) [size=512]

        Memory at fa102000 (32-bit, non-prefetchable) [size=256]

        Capabilities: [50] Power Management version 2

        Kernel driver in use: oss_ich



01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

        Subsystem: LeadTek Research Inc. Device 2960

        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10

        Memory at f8000000 (32-bit, non-prefetchable) [size=16M]

        Memory at e0000000 (32-bit, prefetchable) [size=256M]

        [virtual] Expansion ROM at f9000000 [disabled] [size=128K]

        Capabilities: [60] Power Management version 2

        Capabilities: [44] AGP version 3.0

        Kernel modules: nvidiafb



02:01.0 Multimedia audio controller: Yamaha Corporation YMF-724F [DS-1 Audio Controller] (rev 03)

        Subsystem: Yamaha Corporation YMF-724F [DS-1 Audio Controller]

        Flags: bus master, medium devsel, latency 32, IRQ 22

        Memory at fa000000 (32-bit, non-prefetchable) [size=32K]

        Capabilities: [50] Power Management version 1

        Kernel driver in use: oss_ymf7xx



02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

        Subsystem: Hewlett-Packard Company Device 300e

        Flags: bus master, medium devsel, latency 32, IRQ 23

        I/O ports at a000 [size=256]

        Memory at fa008000 (32-bit, non-prefetchable) [size=256]

        Capabilities: [50] Power Management version 2

        Kernel driver in use: 8139too

        Kernel modules: epl, 8139too, 8139cp
查看结果声卡:
root@ubuntu:~# ls /dev/dsp*

/dev/dsp   /dev/dsp1  /dev/dsp_ac3  /dev/dsp_mmap     /dev/dsp_out

/dev/dsp0  /dev/dsp2  /dev/dsp_in   /dev/dsp_multich

都两三天了没有一点头绪,各位大虾帮忙看看吧

论坛徽章:
0
2 [报告]
发表于 2010-02-09 10:29 |只看该作者
本帖最后由 emperor 于 2010-02-09 10:31 编辑

不知道你的onboard声卡有没有在bios里禁掉,如果没有,禁下先
以下链接供你参考,同时希望有新的进展回馈........
https://help.ubuntu.com/community/SoundTroubleshootingProcedure

https://answers.launchpad.net/ub ... ocs/+question/90891

论坛徽章:
0
3 [报告]
发表于 2010-02-09 11:51 |只看该作者
我什么也没有做,今天早上用火狐浏览器打开百度MP3里的链接,它居然能够正常听歌了,真是邪恶了,浏览器内嵌的是什么播放器呢?还是但是SMPLAYER?我的电脑上的播放器还是除了SMPLAYER外别的本地的播放器都不能正常听歌....................

论坛徽章:
0
4 [报告]
发表于 2010-02-09 12:02 |只看该作者
回复 2# emperor


    面板上的音量控制打到“静音”,浏览器播放的歌不受任何影响依旧大声,看来是没有被UBUNTU的ALSA驱动的而是我自己装的OSS驱动在作用了,网上不是说ALSA的音效不好嘛,那我还是用OSS行了,现在能听就行了,谢谢了哈
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP