嘿嘿!
全部博文(140)
分类: LINUX
2007-01-29 23:42:19
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驱动
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.
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) 在该文件的末尾加上这个字符串,注意要去掉" "