how to update the alsa 1.0.23 in ubuntu lucid

According to Wikipedia, Alsa is a Linux kernel component intended to replace the original Open Sound System (OSS) for providing device drivers for sound cards. Some of the goals of the ALSA project at its inception were automatic configuration of sound-card hardware, and graceful handling of multiple sound devices in a system, goals which it has largely met. Installation : To do this, we must begin by determining our version of alsa as follows : cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command : sudo /sbin/alsa-utils stop We must then install the necessary tools to compile along with the kernel headers : sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils : cd ~ rm -rf ~/alsa* ~/.pulse* wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2 wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2 wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2 After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder : sudo rm -rf /usr/src/alsa sudo mkdir -p /usr/src/alsa cd /usr/src/alsa sudo cp ~/alsa* . Unpack the 3 tar files : sudo tar xjf alsa-driver* sudo tar xjf alsa-lib* sudo tar xjf alsa-utils* We compile and install alsa-driver : cd alsa-driver* sudo ./configure sudo make sudo make install We compile and install alsa-lib : cd ../alsa-lib* sudo ./configure sudo make sudo make install We compile and install alsa-utils : cd ../alsa-utils* sudo ./configure sudo make sudo make install Then, we remove the 3 tar files in our personal folder that are not anymore necessary : rm -f ~/alsa-driver* rm -f ~/alsa-lib* rm -f ~/alsa-utils* Then, just restart your computer and your alsa version should be 1.0.23! You can verify that you have now indeed have this version of alsa : 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). Just to be sure everything is well configured, execute this command : sudo alsaconf and reboot again!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值