(在安装完Ubuntu后,重新开机后 , 连上互联网, 然后点选你的功能表列 系统->管理->更新, 会检查更新 , 该更新的就更新)
2. Method E: Patch to add support for Realtek ALC268 Codec to Alsa 1.0.14
(a) 下载 patch 到你的桌面 (http://c.chez.fred.free.fr/linux-ubuntu-modules-2.6.22-14-generic_2.6.22-14.37.1_i386.deb)
(b) 直接点选 linux-Ubuntu-modules-2.6.22-14-generic_2.6.22-14.37.1_i386.deb 进行安装
(c)开启终端 , 输入指令
sudo gedit /etc/modprobe.d/alsa-base
在档桉最下面加上这一行
options snd-hda-intel model=toshiba然后存档 , 结束gedit
(d) 重新开机
在进到登入画面的时候会听到敲鼓的声音 , 就表示你的音效卡可以正常发声了...
试试上面的办法
首先,这是根据论坛和wiki,经过我几次折腾,才成功装上并解决耳机插入后低音炮仍然响的问题。问题最根本的解决方法来自此帖:ideapad y430的耳机插入后低音炮仍然响的问题解决啦
此帖是方便Y430的新手。
1.在 ALSA 官方网站 http://www.alsa-project.org 上,下载最新的 ALSA 驱动ALSA-1.0.21
alsa-driver-1.0.21.tar.bz2
alsa-lib-1.0.21a.tar.bz2
alsa-utils-1.0.21.tar.bz2
2.在安装之前先准备好编译需要的库
代码:
sudo apt-get install linux-headers-`uname -r`
sudo apt-get install build-essential ncurses-dev gettext
sudo apt-get install xmlto
sudo apt-get build-dep gcc
sudo apt-get install libncurses5-dev
3.修改alsa-kernel/pci/hda/patch_conexant.c
在1584行,也就是
代码:
static struct hda_channel_mode cxt5051_modes[1] = {
{ 2, NULL },
}
之后
加入:
代码:
static void cxt5051_update_subwoofer(struct hda_codec *codec)
{
struct conexant_spec *spec = codec->spec
unsigned int pinctl
pinctl = (!spec->hp_present &&spec->cur_eapd) ? PIN_OUT : 0
snd_hda_codec_write(codec, 0x1b, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
pinctl)
}
在1665行后,也就是/* mute internal speaker if HP is plugged */中的cxt5051_update_speaker(codec)之后加入:
代码:
cxt5051_update_subwoofer(codec)
OK,保存退出。
4.如果已经安装了alsa,在编译前先停止当前的ALSA服务:
代码:
sudo /etc/init.d/alsa-utils stop
sudo /etc/init.d/alsasound stop
解压刚刚下载的3个文件,按照driver->lib->ultis的顺序安装。
driver:
代码:
cd ../alsa-driver-1.0.21
sudo ./configure --prefix=/usr --with-cards=hda-intel
sudo make
sudo make install
lib:
代码:
cd ../alsa-lib-1.0.21
sudo ./configure --prefix=/usr
sudo make
sudo make install
ultis:
代码:
cd ../alsa-ultis-1.0.21
sudo ./configure --prefix=/usr
sudo make
sudo make install
引用:
若过程中出现:
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanelw... no
configure: error: panelw library not found
请执行:
代码:
sudo ln -s libpanelw.so.5 /usr/lib/libpanelw.so
sudo ln -s libformw.so.5 /usr/lib/libformw.so
sudo ln -s libmenuw.so.5 /usr/lib/libmenuw.so
sudo ln -s libncursesw.so.5 /lib/libncursesw.so
5.安装完后修改/etc/modprobe.d/alsa-base.conf
代码:
sudo gedit /etc/modprobe.d/alsa-base.conf
在打开的alsa-base.conf中的适当位置加入:
代码:
#options snd-hda-intel probe_mask=1
options snd-hda-intel index=0
options snd-hda-intel model=lenovo-3000
然后:
代码:
sudo alsaconf
会出现对话框,一般是选“确定”,“是”(or "ok","yes")
6.重启。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)