分页: 1 / 3

【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-01 10:58
caryloo
我用的是CQ40-123AX 笔记本,声卡是IDT的。原来在Ubuntu 8.10中可以正常发声。升级到Ubuntu 9.04以后,发现音量控制还在,Mp3文件也能正常播放,就是没有声音出来。

参考以下两篇帖子以后,我解决了这个问题。

声卡codec:IDT 92HD71B7X在Ubuntu 8.10无声的解决方法

No audio in Jaunty 9.04

首先第一步,确认你的声卡型号

代码: 全选

sudo head -1 /proc/asound/card0/codec#0
我这里显示是:Codec: IDT 92HD71B7X

第二步,编辑alsa-base.conf

代码: 全选

sudo gedit /etc/modprobe.d/alsa-base.conf
找到文档底部区域,有很多options的地方,填入以下内容:

代码: 全选

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-dv5 
options snd-hda-intel enable_msi=1
保存退出后重启计算机,应该就能听到久违的声音了。

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-04 12:58
www_wo_1986
我的是CQ45的机子,vista+ubuntu双系统。声卡也是 IDT 92HD71B7X。按此方法操作后还是没反应。目前机子还是哑的。 恳请LZ将编辑后的alsa-base.conf代码发出.......
先谢过了。 :em06 :em06

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-04 16:12
wwhsbd
所说方法的确有效
惠普CQ40 609AX 上成功

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-04 23:43
wslb1111
为什么我输入sudo gedit /etc/modprobe.d/alsa-base.conf后出现的文档是空白的呢 我也是这个型号的声卡 在出现的空白文档里保存了那段命令 重启还是没有声音

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-05 10:48
www_wo_1986
在电脑出声之前这贴可不能沉.......
有空就来顶顶。

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-06 12:50
www_wo_1986
再顶,顶到代码出来为止....... :em11 :em11 :em11

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-07 12:37
zhshji828
晚上回去试一下
我和与楼主一样的问题
电脑是CQ40-112au的

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-07 18:07
zhshji828
用楼主的方法已经解决了,谢谢

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-08 19:52
www_wo_1986
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-08 23:09
yaono2
查看声卡型号看不了,输入命令sudo head -1 /proc/asound/card0/codec#0 得到提示:head: 无法打开 “/proc/asound/card0/codec#0” 读取数据: 没有该文件或目录
怎么回事? :em23

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-08 23:34
yaono2
型号是Intel Corp. 82801DB (ICH4) ,按照官网上写的add 'options snd-intel8x0 ac97_quirk=2' in /etc/modprobe.d/alsa-base ,但是重启还是没有声音,郁闷了。。。

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-10 12:48
fhm476
成功解决

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-11 17:10
ybsolar
成功解决,谢谢LZ!

Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-11 19:49
caryloo
大家好,我的alsa-base.conf全部内容如下,如果有需要请尽管参考

代码: 全选

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-dv5
options snd-hda-intel enable_msi=1
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2


Re: 【已解决】compaq CQ40 CQ45系列笔记本IDT声卡在Ubuntu9.04中无声的解决方法

发表于 : 2009-05-11 19:52
caryloo
wslb1111 写了:为什么我输入sudo gedit /etc/modprobe.d/alsa-base.conf后出现的文档是空白的呢 我也是这个型号的声卡 在出现的空白文档里保存了那段命令 重启还是没有声音
也许你的还是旧的alsa-base文档,你试试sudo gedit /etc/modprobe.d/alsa-base

如果还是没有,你需要再查查