Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1381921
  • 博文数量: 140
  • 博客积分: 8518
  • 博客等级: 中将
  • 技术积分: 1822
  • 用 户 组: 普通用户
  • 注册时间: 2005-03-01 22:23
个人简介

嘿嘿!

文章分类
文章存档

2016年(2)

2015年(5)

2014年(6)

2013年(11)

2012年(11)

2011年(3)

2010年(4)

2009年(4)

2008年(8)

2007年(23)

2006年(26)

2005年(37)

分类: LINUX

2007-01-29 23:42:19

   本人使用的是华硕的P5PL2主板,板载了soundmax AD1986A声卡,可是在ubuntu下面却有时候出声,有时候单声道,搞的很是郁闷,寻遍了国内google的关于此板卡的驱动安装都没得到确实的解决办法。
   后来发现到国外的一个网站,总算找到了解决办法,安装后reboot声卡立刻就出声了,而且两个音箱都出声了,爽啊!
  摘抄如下:

Update to the latest version of alsa

{i} These instructions do not interfere with the Ubuntu package structure or other kernel modules - in other words, the changes seem drastic however they are simply adding greater functionality to an existing kernel module

  • Install the required tools   安装需要的一些文件

sudo apt-get install build-essential ncurses-dev
  • Install your kernel headers  安装内核头文件

sudo apt-get install linux-headers-`uname -r`
  • Download the latest version of alsa from (driver, library, and utils) to a directory (eg. /home/naaman/installers/alsa)

    • 下载alsa-driver驱动

    • 下载alsa-lib库文件
    • 下载alsa-utils
  • Setup installation directories  解压缩下载的文件

sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp /home/naaman/installers/alsa/* .
sudo tar xjf alsa-driver-1.0.14rc1.tar.bz2
sudo tar xjf alsa-lib-1.0.14rc1.tar.bz2
sudo tar xjf alsa-utils-1.0.14rc1.tar.bz2
  • Compile and install alsa-driver   重新编译安装,没有make和gcc的自己解决 :P

cd alsa-driver-1.0.14rc1
sudo ./configure --with-cards=hda-intel
sudo make
sudo make install
  • Compile and install alsa-lib

cd ../alsa-lib-1.0.14rc1
sudo ./configure
sudo make
sudo make install
  • Compile and install alsa-utils

cd ../alsa-utils-1.0.14rc1
sudo ./configure
sudo make
sudo make install
  • Reboot

Note: You may need to right click on the volume control applet in your gnome-panel and go to the preferences and change the device to "HDA Intel (Alsa Mixer)". The same applies to the gnome volume control program. Additionally, you may also need enable some volume sliders through Edit-Preferences in gnome volume control.

Manually tell the driver which flavor you are using

  • Edit the file /etc/modprobe.d/alsa-base

sudo nano /etc/modprobe.d/alsa-base
  • Add the line "options snd-hda-intel model=3stack" (change "3stack" to the model you need)  在该文件的末尾加上这个字符串,注意要去掉" "


阅读(6396) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~