当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu9.10 声卡问题——关于惠普CQ41-205AX
帖子发表于 : 2010-03-15 19:51 
头像

注册: 2009-11-14 11:35
帖子: 76
送出感谢: 0 次
接收感谢: 0 次
前两天买到的惠普CQ41-205AX这款1月份新出的机型。商家装上的是XP系统(D版),我买回来马上又装了ubuntu9.10。

发现放歌时机子自带音箱没声音,插上耳机有声音,在网上一阵猛搜解决办法,并按照着作,不知道是卸载了什么东西还是装错了什么,结果重启后耳机声音也没了。下面是我的声卡的一些信息,望高人解答下,谢谢!!!
代码:
查看声卡驱动模块:
~$ modprobe -l | grep ac97
kernel/sound/pci/ac97/snd-ac97-codec.ko
kernel/sound/ac97_bus.ko

查看声卡型号:
~$ lspci | grep -i audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD 4000 Series]

查看声卡信息:
~$ cat /proc/asound/cards
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0x50400000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0x50310000 irq 19
查看alsa-utils版本:
~$ alsactl -v
alsactl version 1.0.20

查看内核alsa版本(需要与alsa-utils版本一致)
~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.


声卡信息:
~$ aplay -l
**** PLAYBACK 硬體裝置清單 ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
  子设备: 0/1
  子设备 #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  子设备: 1/1
  子设备 #0: subdevice #0

硬件信息之声卡(lshw指list hardware,是一个软件)

 sudo lshw -c sound
[sudo] password for nypone:
  *-multimedia           
       description: Audio device
       product: R700 Audio Device [Radeon HD 4000 Series]
       vendor: ATI Technologies Inc
       physical id: 0.1
       bus info: pci@0000:01:00.1
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list
       configuration: driver=HDA Intel latency=0
       resources: irq:19 memory:50310000-50313fff
  *-multimedia
       description: Audio device
       product: SBx00 Azalia (Intel HDA)
       vendor: ATI Technologies Inc
       physical id: 14.2
       bus info: pci@0000:00:14.2
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: driver=HDA Intel latency=64
       resources: irq:16 memory:50400000-50403fff

系统模块状态 之 声音:
~$ lsmod | grep -i snd
snd_hda_codec_atihdmi     3356  1
snd_hda_codec_idt      59844  1
snd_hda_intel          26920  4
snd_hda_codec          75708  3 snd_hda_codec_atihdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               7200  1 snd_hda_codec
snd_pcm_oss            37920  0
snd_seq_dummy           2656  0
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_oss            28576  0
snd_seq_midi            6432  0
snd_rawmidi            22208  1 snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  2 snd_pcm,snd_seq
snd_seq_device          6920  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    59204  19 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               7264  1 snd
snd_page_alloc          9156  2 snd_hda_intel,snd_pcm



又看了这个帖子:http://forum.ubuntu.org.cn/viewtopic.php?f=74&t=118482&sid=662cb69ba222fa8e4e6bf09af808f273&start=0
安装hwinfo,查看声卡的Driver Modules:
代码:
~$ hwinfo --sound
20: PCI 14.2: 0403 Audio device                                 
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4383
  Unique ID: 5Dex.HUcFr4bROV3
  SysFS ID: /devices/pci0000:00/0000:00:14.2
  SysFS BusID: 0000:00:14.2
  Hardware Class: sound
  Model: "ATI SBx00 Azalia (Intel HDA)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4383 "SBx00 Azalia (Intel HDA)"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x3644
  Memory Range: 0x50400000-0x50403fff (rw,non-prefetchable)
  IRQ: 4 (no events)
  Module Alias: "pci:v00001002d00004383sv0000103Csd00003644bc04sc03i00"
  Driver Info #0:
[color=#BF0000]    Driver Status: snd_hda_intel is not active[/color]
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

29: PCI 100.1: 0403 Audio device
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_1002_aa38
  Unique ID: NXNs.b39hr72rQn2
  Parent ID: _Znp.dAoRamQZ8c0
  SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.1
  SysFS BusID: 0000:01:00.1
  Hardware Class: sound
  Model: "ATI RV730XT Audio device [Radeon HD 4670]"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0xaa38 "RV730XT Audio device [Radeon HD 4670]"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x3644
  Memory Range: 0x50310000-0x50313fff (rw,non-prefetchable)
  IRQ: 7 (no events)
  Module Alias: "pci:v00001002d0000AA38sv0000103Csd00003644bc04sc03i00"
  Driver Info #0:
    [color=#BF0000]Driver Status: snd_hda_intel is not active[/color]
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #8 (PCI bridge)


发现上面红色部分有问题,为什么是not active呢?是声卡没启动的意思吗?
怎么才能让电脑发出声音啊!?
期待高手解决下。。。


_________________
----->>>>只有跌倒的次数多了,才能站起来的更快!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu9.10 声卡问题——关于惠普CQ41-205AX
帖子发表于 : 2010-03-15 20:11 
头像

注册: 2009-11-14 11:35
帖子: 76
送出感谢: 0 次
接收感谢: 0 次

补充:这是我电脑上已经加载的内核模块:

代码:
:/$ lsmod
Module                  Size  Used by
nls_iso8859_1           3740  3
nls_cp437               5372  3
vfat                   10716  3
fat                    51452  1 vfat
binfmt_misc             8356  1
ppdev                   6688  0
arc4                    1660  2
ecb                     2524  2
ath9k                 258744  0
mac80211              181236  1 ath9k
led_class               4096  1 ath9k
ath                     8060  1 ath9k
iptable_filter          3100  0
ip_tables              11692  1 iptable_filter
joydev                 10272  0
x_tables               16544  1 ip_tables
uvcvideo               59080  0
cfg80211               93052  3 ath9k,mac80211,ath
fglrx                1989532  34
agpgart                34988  1 fglrx
i2c_piix4               9932  0
videodev               36736  1 uvcvideo
psmouse                56180  0
lp                      8964  0
serio_raw               5280  0
v4l1_compat            14496  2 uvcvideo,videodev
parport                35340  2 ppdev,lp
usbhid                 38208  0
video                  19380  0
output                  2780  1 video
r8169                  32064  0
mii                     5212  1 r8169


这是电脑配置信息:
代码:
:~$ lspci -v
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 0
   Capabilities: <access denied>

00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
   I/O behind bridge: 00003000-00003fff
   Memory behind bridge: 50300000-503fffff
   Prefetchable memory behind bridge: 0000000040000000-000000004fffffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport-driver
   Kernel modules: shpchp

00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
   Memory behind bridge: 50200000-502fffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport-driver
   Kernel modules: shpchp

00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
   Memory behind bridge: 50100000-501fffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport-driver
   Kernel modules: shpchp

00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3)
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
   I/O behind bridge: 00002000-00002fff
   Memory behind bridge: 50500000-505fffff
   Prefetchable memory behind bridge: 0000000050000000-00000000500fffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport-driver
   Kernel modules: shpchp

00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] (prog-if 01)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 29
   I/O ports at 4038 [size=8]
   I/O ports at 404c [size=4]
   I/O ports at 4030 [size=8]
   I/O ports at 4048 [size=4]
   I/O ports at 4010 [size=16]
   Memory at 50408000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: <access denied>
   Kernel driver in use: ahci

00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
   Memory at 50407000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
   Memory at 50406000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   Memory at 50408500 (32-bit, non-prefetchable) [size=256]
   Capabilities: <access denied>
   Kernel driver in use: ehci_hcd

00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at 50405000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at 50404000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at 50408400 (32-bit, non-prefetchable) [size=256]
   Capabilities: <access denied>
   Kernel driver in use: ehci_hcd

00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: 66MHz, medium devsel
   Capabilities: <access denied>
   Kernel driver in use: piix4_smbus
   Kernel modules: i2c-piix4

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, slow devsel, latency 0, IRQ 4
   Memory at 50400000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>

00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (prog-if 01)
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=05, subordinate=05, sec-latency=64

00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
   Flags: fast devsel
   Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
   Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
   Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
   Flags: fast devsel
   Capabilities: <access denied>

00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
   Flags: fast devsel

01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP [Mobility Radeon HD 4300 Series]
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, fast devsel, latency 0, IRQ 31
   Memory at 40000000 (32-bit, prefetchable) [size=256M]
   I/O ports at 3000 [size=256]
   Memory at 50300000 (32-bit, non-prefetchable) [size=64K]
   Expansion ROM at 50320000 [disabled] [size=128K]
   Capabilities: <access denied>
   Kernel driver in use: fglrx_pci
   Kernel modules: fglrx, radeon

01:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD 4000 Series]
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, fast devsel, latency 0, IRQ 7
   Memory at 50310000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>

03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
   Subsystem: Hewlett-Packard Company Device 3040
   Flags: bus master, fast devsel, latency 0, IRQ 18
   Memory at 50100000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: <access denied>
   Kernel driver in use: ath9k
   Kernel modules: ath9k

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
   Subsystem: Hewlett-Packard Company Device 3644
   Flags: bus master, fast devsel, latency 0, IRQ 30
   I/O ports at 2000 [size=256]
   Memory at 50010000 (64-bit, prefetchable) [size=4K]
   Memory at 50000000 (64-bit, prefetchable) [size=64K]
   Expansion ROM at 50020000 [disabled] [size=128K]
   Capabilities: <access denied>
   Kernel driver in use: r8169
   Kernel modules: r8169


系统内核版本:
代码:
:~$ uname -r -m -p -i
2.6.31-14-generic i686 unknown unknown


_________________
----->>>>只有跌倒的次数多了,才能站起来的更快!


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu9.10 声卡问题——关于惠普CQ41-205AX
帖子发表于 : 2010-03-16 14:33 
头像

注册: 2006-10-19 8:43
帖子: 787
地址: 长江口
送出感谢: 1
接收感谢: 2
蟑螂 :em11


_________________
好好地做一个碌碌无为的人


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu9.10 声卡问题——关于惠普CQ41-205AX
帖子发表于 : 2010-03-18 21:56 
头像

注册: 2009-11-14 11:35
帖子: 76
送出感谢: 0 次
接收感谢: 0 次
现在问题是这样的:声音输出切换的比较慢,如果开机时不插耳机,音箱也正常响,
但是如果在放歌时插上耳机,还是音箱响,耳机不响,
然后关掉播放器后,插上耳机过一会儿再打开音箱放歌时,耳机就正常响了。
貌似是系统判断耳机和音箱时比较慢。

哪位达人知道原因给解决下,谢谢了!


_________________
----->>>>只有跌倒的次数多了,才能站起来的更快!


页首
 用户资料  
 
5 楼 
 文章标题 : Re: ubuntu9.10 声卡问题——关于惠普CQ41-205AX
帖子发表于 : 2010-03-18 23:02 

注册: 2005-05-01 12:54
帖子: 920
送出感谢: 0 次
接收感谢: 0 次
惠普的机器都敢买,真是佩服……


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Bing [Bot] 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译