当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Ubuntu 10.04 下耳机无声解决
帖子发表于 : 2010-10-31 16:21 

注册: 2010-10-24 19:33
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
大家好,
搞了好久本本耳机终于可以发声了,感谢我搜索看到的帖子.
闲话不说了,具体如下:
1.引用安装alsa(转载于http://www.benbengou.com/html_viewaid_1.html)
升级 Ubuntu10.04 Alsa到1.0.23 解决诸多声音异常问题
时间:2010-08-08 10:53来源: 作者:笨笨狗 点击:229次
Ubuntu 10.04自带的Alsa版本是1.0.21,现在最新版本是1.0.23。下面我们来升级一下。升级此驱动可以解决安装系统以及升级内核等等过程中出现的诸多声音问题。 查看现在的版本: cat /proc
Ubuntu 10.04自带的Alsa版本是1.0.21,现在最新版本是1.0.23。下面我们来升级一下。升级此驱动可以解决安装系统以及升级内核等等过程中出现的诸多声音问题。
查看现在的版本:
cat /proc/asound/version
输出类似如下:
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Apr 29 2010 for kernel 2.6.32-22-generic (SMP).
如果是最新版本则没有必要进行升级操作,若你感觉声音还是有问题,重装可能可以解决问题。为了避免不必要的麻烦,我们用下面的命令停止Alsa-utils:
sudo alsa-utils stop
下面我们来安装一些编译工具。这很疯狂,如果是第一次安装这些工具你甚至会发现它们的体积可以和你安装的系统相媲美。这会花掉你相当长的时间来下载,不过对于一个灵活开源的系统来说,安装它们是必要的。
sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev
如果在下载上面工具的漫长等待中你实在无事可做,你完全可以另开一个终端下载下面3个驱动文件。我们把它们下载到当前用户目录下的sound文件夹下:
cd ~
mkdir sound
wget ftp://ftp.alsa-project.org/pub/driver/a ... 23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa ... 23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/al ... 23.tar.bz2
我们把下载的驱动文件复制到/usr/src/alsa目录下来安装。这一步没有什么特殊的意思,驱动嘛,在这里有个备份,哪天不小心升级了内核声音没了,也好有个准备不是:
sudo rm -rf /usr/src/alsa
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/sound/alsa* .
分别解压它们:
sudo tar zxvf alsa-driver*
sudo tar zxvf alsa-lib*
sudo tar zxvf alsa-utils*
下面进行编译安装alsa-driver
cd alsa-driver*
sudo ./configure
sudo make
sudo make install
安装alsa-lib:
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install
安装alsa-utils:
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install
重启一下,
sudo reboot
如果现在输入cat /proc/asound/version输出结果应该类似下面:
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 2 2010 for kernel 2.6.32-21-generic (SMP).
我们来配置一下
sudo alsaconf
之后重启一下
sudo reboot
2. 涉及声卡:

  此刻最新的HD-Audio板载声卡包罗两个部门,1个是芯片组里的host,1个是主板上的codec

  lspci号令可以瞅见host型号对这个此刻体系仿佛可以不佣人的劳力辨认,可是对较新的codec比力容易出

cat /proc/asound/card0/codec#0

  查看codec型号

  (注,codec#后面的数码没必要然是0)

我的是
Codec: IDT 92HD73C1X5
Address: 0
Function Id: 0x1
Vendor Id: 0x111d7675
Subsystem Id: 0x102802eb
Revision Id: 0x100103
No Modem Function Group found
上边92HD73C1X5就是我的codec型号了

然后查寻codec所对应的驱动标准样式
我这里给出alsa 1.0.23 HD-Audio-Models.txt内容(http://www.alsa-project.org/main/index.php/Downloa d 下载Driver(alsa-driver)后解压缩在alsa-driver-1.0.23的源码包里,有alsa-kernel/Documentation/HD-Audio-Models.txt这个文件,内里可以查寻某个型号的codec所对应的model

Model name Description
---------- -----------
ALC880
======
3stack 3-jack in back and a headphone out
3stack-digout 3-jack in back, a HP out and a SPDIF out
5stack 5-jack in back, 2-jack in front
5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
6stack 6-jack in back, 2-jack in front
6stack-digout 6-jack with a SPDIF out
w810 3-jack
z71v 3-jack (HP shared SPDIF)
asus 3-jack (ASUS Mobo)
asus-w1v ASUS W1V
asus-dig ASUS with SPDIF out
asus-dig2 ASUS with SPDIF out (using GPIO2)
uniwill 3-jack
fujitsu Fujitsu Laptops (Pi1536)
F1734 2-jack
lg LG laptop (m1 express dual)
lg-lw LG LW20/LW25 laptop
tcl TCL S700
clevo Clevo laptops (m520G, m665n)
medion Medion Rim 2150
test for testing/debugging purpose, almost all controls can be
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)

ALC260
======
hp HP machines
hp-3013 HP machines (3013-variant)
hp-dc7600 HP DC7600
fujitsu Fujitsu S7020
acer Acer TravelMate
will Will laptops (PB V7900)
replacer Replacer 672V
favorit100 Maxdata Favorit 100XS
basic fixed pin assignment (old default model)
test for testing/debugging purpose, almost all controls can
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)

ALC262
======
fujitsu Fujitsu Laptop
hp-bpc HP xw4400/6400/8400/9400 laptops
hp-bpc-d7000 HP BPC D7000
hp-tc-t5735 HP Thin Client T5735
hp-rp5700 HP RP5700
benq Benq ED8
benq-t31 Benq T31
hippo Hippo (ATI) with jack detection, Sony UX-90s
hippo_1 Hippo (Benq) with jack detection
sony-assamd Sony ASSAMD
toshiba-s06 Toshiba S06
toshiba-rx1 Toshiba RX1
tyan Tyan Thunder n6650W (S2915-E)
ultra Samsung Q1 Ultra Vista model
lenovo-3000 Lenovo 3000 y410
nec NEC Versa S9100
basic fixed pin assignment w/o SPDIF
auto auto-config reading BIOS (default)

ALC267/268
==========
quanta-il1 Quanta IL1 mini-notebook
3stack 3-stack model
toshiba Toshiba A205
acer Acer laptops
acer-dmic Acer laptops with digital-mic
acer-aspire Acer Aspire One
dell Dell OEM laptops (Vostro 1200)
zepto Zepto laptops
test for testing/debugging purpose, almost all controls can
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)

ALC269
======
basic Basic preset
quanta Quanta FL1
eeepc-p703 ASUS Eeepc P703 P900A
eeepc-p901 ASUS Eeepc P901 S101
fujitsu FSC Amilo
lifebook Fujitsu Lifebook S6420
auto auto-config reading BIOS (default)

ALC662/663/272
==============
3stack-dig 3-stack (2-channel) with SPDIF
3stack-6ch 3-stack (6-channel)
3stack-6ch-dig 3-stack (6-channel) with SPDIF
6stack-dig 6-stack with SPDIF
lenovo-101e Lenovo laptop
eeepc-p701 ASUS Eeepc P701
eeepc-ep20 ASUS Eeepc EP20
ecs ECS/Foxconn mobo
m51va ASUS M51VA
g71v ASUS G71V
h13 ASUS H13
g50v ASUS G50V
asus-mode1 ASUS
asus-mode2 ASUS
asus-mode3 ASUS
asus-mode4 ASUS
asus-mode5 ASUS
asus-mode6 ASUS
dell Dell with ALC272
dell-zm1 Dell ZM1 with ALC272
samsung-nc10 Samsung NC10 mini notebook
auto auto-config reading BIOS (default)

ALC882/883/885/888/889
======================
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
arima Arima W820Di1
targa Targa T8, MSI-1049 T8
asus-a7j ASUS A7J
asus-a7m ASUS A7M
macpro MacPro support
mb5 Macbook 5,1
macmini3 Macmini 3,1
mba21 Macbook Air 2,1
mbp3 Macbook Pro rev3
imac24 iMac 24'' with jack detection
imac91 iMac 9,1
w2jc ASUS W2JC
3stack-2ch-dig 3-jack with SPDIF I/O (ALC883)
alc883-6stack-dig 6-jack digital with SPDIF I/O (ALC883)
3stack-6ch 3-jack 6-channel
3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire Acer Aspire 9810
acer-aspire-4930g Acer Aspire 4930G
acer-aspire-6530g Acer Aspire 6530G
acer-aspire-7730g Acer Aspire 7730G
acer-aspire-8930g Acer Aspire 8930G
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targa/MSI with 2-channel
targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e Lenovo 101E
lenovo-nb0763 Lenovo NB0763
lenovo-ms7195-dig Lenovo MS7195
lenovo-sky Lenovo Sky
haier-w66 Haier W66
3stack-hp HP machines with 3stack (Lucknow, Samba boards)
6stack-dell Dell machines with 6stack (Inspiron 530)
mitac Mitac 8252D
clevo-m540r Clevo M540R (6ch + digital)
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
fujitsu-xa3530 Fujitsu AMILO XA3530
3stack-6ch-intel Intel DG33* boards
intel-alc889a Intel IbexPeak with ALC889A
intel-x58 Intel DX58 with ALC889
asus-p5q ASUS P5Q-EM boards
mb31 MacBook 3,1
sony-vaio-tt Sony VAIO TT
auto auto-config reading BIOS (default)

ALC861/660
==========
3stack 3-jack
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack with SPDIF I/O
3stack-660 3-jack (for ALC660)
uniwill-m31 Uniwill M31 laptop
toshiba Toshiba laptop support
asus Asus laptop support
asus-laptop ASUS F2/F3 laptops
auto auto-config reading BIOS (default)

ALC861VD/660VD
==============
3stack 3-jack
3stack-dig 3-jack with SPDIF OUT
6stack-dig 6-jack with SPDIF OUT
3stack-660 3-jack (for ALC660VD)
3stack-660-digout 3-jack with SPDIF OUT (for ALC660VD)
lenovo Lenovo 3000 C200
dallas Dallas laptops
hp HP TX1000
asus-v1s ASUS V1Sn
auto auto-config reading BIOS (default)

CMI9880
=======
minimal 3-jack in back
min_fp 3-jack in back, 2-jack in front
full 6-jack in back, 2-jack in front
full_dig 6-jack in back, 2-jack in front, SPDIF I/O
allout 5-jack in back, 2-jack in front, SPDIF out
auto auto-config reading BIOS (default)

AD1882 / AD1882A
================
3stack 3-stack mode (default)
6stack 6-stack mode

AD1884A / AD1883 / AD1984A / AD1984B
====================================
desktop 3-stack desktop (default)
laptop laptop with HP jack sensing
mobile mobile devices with HP jack sensing
thinkpad Lenovo Thinkpad X300
touchsmart HP Touchsmart

AD1884
======
N/A

AD1981
======
basic 3-jack (default)
hp HP nx6320
thinkpad Lenovo Thinkpad T60/X60/Z60
toshiba Toshiba U205

AD1983
======
N/A

AD1984
======
basic default configuration
thinkpad Lenovo Thinkpad T61/X61
dell_desktop Dell T3400

AD1986A
=======
6stack 6-jack, separate surrounds (default)
3stack 3-stack, shared surrounds
laptop 2-channel only (FSC V2060, Samsung M50)
laptop-eapd 2-channel with EAPD (ASUS A6J)
laptop-automute 2-channel with EAPD and HP-automute (Lenovo N100)
ultra 2-channel with EAPD (Samsung Ultra tablet PC)
samsung 2-channel with EAPD (Samsung R65)
samsung-p50 2-channel with HP-automute (Samsung P50)

AD1988/AD1988B/AD1989A/AD1989B
==============================
6stack 6-jack
6stack-dig ditto with SPDIF
3stack 3-jack
3stack-dig ditto with SPDIF
laptop 3-jack with hp-jack automute
laptop-dig ditto with SPDIF
auto auto-config reading BIOS (default)

Conexant 5045
=============
laptop-hpsense Laptop with HP sense (old model laptop)
laptop-micsense Laptop with Mic sense (old model fujitsu)
laptop-hpmicsense Laptop with HP and Mic senses
benq Benq R55E
laptop-hp530 HP 530 laptop
test for testing/debugging purpose, almost all controls
can be adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y

Conexant 5047
=============
laptop Basic Laptop config
laptop-hp Laptop config for some HP models (subdevice 30A5)
laptop-eapd Laptop config with EAPD support
test for testing/debugging purpose, almost all controls
can be adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y

Conexant 5051
=============
laptop Basic Laptop config (default)
hp HP Spartan laptop
hp-dv6736 HP dv6736
hp-f700 HP Compaq Presario F700
lenovo-x200 Lenovo X200 laptop
toshiba Toshiba Satellite M300

Conexant 5066
=============
laptop Basic Laptop config (default)
dell-laptop Dell laptops
olpc-xo-1_5 OLPC XO 1.5
ideapad Lenovo IdeaPad U150

STAC9200
========
ref Reference board
oqo OQO Model 2
dell-d21 Dell (unknown)
dell-d22 Dell (unknown)
dell-d23 Dell (unknown)
dell-m21 Dell Inspiron 630m, Dell Inspiron 640m
dell-m22 Dell Latitude D620, Dell Latitude D820
dell-m23 Dell XPS M1710, Dell Precision M90
dell-m24 Dell Latitude 120L
dell-m25 Dell Inspiron E1505n
dell-m26 Dell Inspiron 1501
dell-m27 Dell Inspiron E1705/9400
gateway-m4 Gateway laptops with EAPD control
gateway-m4-2 Gateway laptops with EAPD control
panasonic Panasonic CF-74
auto BIOS setup (default)

STAC9205/9254
=============
ref Reference board
dell-m42 Dell (unknown)
dell-m43 Dell Precision
dell-m44 Dell Inspiron
eapd Keep EAPD on (e.g. Gateway T1616)
auto BIOS setup (default)

STAC9220/9221
=============
ref Reference board
3stack D945 3stack
5stack D945 5stack + SPDIF
intel-mac-v1 Intel Mac Type 1
intel-mac-v2 Intel Mac Type 2
intel-mac-v3 Intel Mac Type 3
intel-mac-v4 Intel Mac Type 4
intel-mac-v5 Intel Mac Type 5
intel-mac-auto Intel Mac (detect type according to subsystem id)
macmini Intel Mac Mini (equivalent with type 3)
macbook Intel Mac Book (eq. type 5)
macbook-pro-v1 Intel Mac Book Pro 1st generation (eq. type 3)
macbook-pro Intel Mac Book Pro 2nd generation (eq. type 3)
imac-intel Intel iMac (eq. type 2)
imac-intel-20 Intel iMac (newer version) (eq. type 3)
ecs202 ECS/PC chips
dell-d81 Dell (unknown)
dell-d82 Dell (unknown)
dell-m81 Dell (unknown)
dell-m82 Dell XPS M1210
auto BIOS setup (default)

STAC9202/9250/9251
==================
ref Reference board, base config
m1 Some Gateway MX series laptops (NX560XL)
m1-2 Some Gateway MX series laptops (MX6453)
m2 Some Gateway MX series laptops (M255)
m2-2 Some Gateway MX series laptops
m3 Some Gateway MX series laptops
m5 Some Gateway MX series laptops (MP6954)
m6 Some Gateway NX series laptops
auto BIOS setup (default)

STAC9227/9228/9229/927x
=======================
ref Reference board
ref-no-jd Reference board without HP/Mic jack detection
3stack D965 3stack
5stack D965 5stack + SPDIF
5stack-no-fp D965 5stack without front panel
dell-3stack Dell Dimension E520
dell-bios Fixes with Dell BIOS setup
volknob Fixes with volume-knob widget 0x24
auto BIOS setup (default)

STAC92HD71B*
============
ref Reference board
dell-m4-1 Dell desktops
dell-m4-2 Dell desktops
dell-m4-3 Dell desktops
hp-m4 HP mini 1000
hp-dv5 HP dv series
hp-hdx HP HDX series
hp-dv4-1222nr HP dv4-1222nr (with LED support)
auto BIOS setup (default)

STAC92HD73*
===========
ref Reference board
no-jd BIOS setup but without jack-detection
intel Intel DG45* mobos
dell-m6-amic Dell desktops/laptops with analog mics
dell-m6-dmic Dell desktops/laptops with digital mics
dell-m6 Dell desktops/laptops with both type of mics
dell-eq Dell desktops/laptops
alienware Alienware M17x
auto BIOS setup (default)

STAC92HD83*
===========
ref Reference board
mic-ref Reference board with power management for ports
dell-s14 Dell laptop
hp HP laptops with (inverted) mute-LED
auto BIOS setup (default)

STAC9872
========
vaio VAIO laptop without SPDIF
auto BIOS setup (default)

Cirrus Logic CS4206/4207
========================
mbp55 MacBook Pro 5,5
imac27 IMac 27 Inch
auto BIOS setup (default)

3.我在这里要说下 /etc/modprobe.d/alsa-base.conf中的配置)

注释掉# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388(在前面加#)
然后在后面添加
options snd_hda_intel model=dell-m6(我的是dell-m6,根据上面的codec对应的编码)
然后重启系统你就会听到可爱的声音拉.
sudo reboot


附件:
ubuntu 10.04 解决耳机无声.odt [37.05 KiB]
被下载 66 次
页首
 用户资料  
 
2 楼 
 文章标题 : Re: Ubuntu 10.04 下耳机无声解决
帖子发表于 : 2010-11-03 18:18 

注册: 2010-11-03 18:16
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
Lenovo G460
Conexant CX20585
options snd_hda_intel model=ideapad
耳机有声音了


页首
 用户资料  
 
3 楼 
 文章标题 : Re: Ubuntu 10.04 下耳机无声解决
帖子发表于 : 2010-11-03 18:22 
头像

注册: 2008-04-26 12:41
帖子: 11000
送出感谢: 11
接收感谢: 38
:em09


_________________
[新手必读]wubi安装常见问题(FAQ)
[分享]装双系统的同学必看——Windows与Linux系统共享交换分区的方法
kde下唯美的暗黑内透主题(无需编译)
无穷老机上的Trinity Desktop Environment


页首
 用户资料  
 
4 楼 
 文章标题 : Re: Ubuntu 10.04 下耳机无声解决
帖子发表于 : 2011-04-24 22:31 

注册: 2011-02-24 20:04
帖子: 153
送出感谢: 1
接收感谢: 0 次
原来就是1.0.23
本本内部发声,耳机无声
咋解决呢


页首
 用户资料  
 
5 楼 
 文章标题 : Re: Ubuntu 10.04 下耳机无声解决
帖子发表于 : 2012-11-17 15:15 

注册: 2012-11-17 15:11
帖子: 1
系统: ubuntu10.04
送出感谢: 0 次
接收感谢: 0 次
xumeng 写道:
Lenovo G460
Conexant CX20585
options snd_hda_intel model=ideapad
耳机有声音了

这哥们跟我的电脑一样耶,我设了ideapad之后,外放和耳机终于不是同时放了,但不知道为啥音量调不了了


页首
 用户资料  
 
6 楼 
 文章标题 : Re: Ubuntu 10.04 下耳机无声解决
帖子发表于 : 2012-12-25 21:24 

注册: 2012-12-25 21:15
帖子: 1
系统: ubuntu 10.04
送出感谢: 0 次
接收感谢: 0 次
我的问题是插上耳机时,耳机和外放的扬声器同时有声音。我是宏基4710g,那3个文件alsa*无法下载,在别的网站下的一个1.0.23不能用,自己在http://www.alsa-project.org/snapshot/下了一个1.0.25,可以用,搞了一个晚上,希望对后来者有帮助


页首
 用户资料  
 
7 楼 
 文章标题 : Re: Ubuntu 10.04 下耳机无声解决
帖子发表于 : 2013-01-10 15:57 

注册: 2013-01-08 13:46
帖子: 10
系统: Ubuntu 10.04
送出感谢: 0 次
接收感谢: 0 次
我的本本,Idaepad Z465,安装了Win7+Ubuntu 10.04 LTS 。本本自带声源有声音,耳机接出来的都没声音,改了这个:options snd_hda_intel model=ideapad 依然解决不了。然后在本论坛下了个万能声卡驱动,解决了,,,,,,,


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

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


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

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

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