mbsullivan
August 27th, 2007, 05:44 AM
HOWTO get the development ALSA drivers built and installed:
The developmental ALSA drivers may be needed to get a new sound chip working before they have been built into the stable ALSA releases. Here is how to acquire, compile and install the developmental release of the ALSA sound drivers.
(1) install some packages to support the ALSA CVS build system:
sudo aptitude install mercurial autoconf libncurses5 libncurses5-dev
(2) download the newest ALSA development drivers (available here (http://hg-mirror.alsa-project.org/)):
hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver
hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel
The ALSA-Kernel code is linked to from within the development release of the ALSA drivers (so no separate build/install is necessary).
(3) download the latest stable versions of the ALSA libraries and utilities (available here (http://www.alsa-project.org/main/index.php/Download)):
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.14a.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.14.tar.bz2
(4) untar and unzip the ALSA libraries and utilities:
tar -xjf alsa-lib-1.0.14a.tar.bz2
tar -xjf alsa-utils-1.0.14.tar.bz2
(5) build and install the development ALSA drivers:
cd alsa-driver; ./cvscompile; sudo make install;
(6) build and install the ALSA libraries:
cd ../alsa-lib-1.0.14a/; ./configure; make -j 3; sudo make install;
(7) build and install the ALSA utilities:
cd ../alsa-utils-1.0.14/; ./configure; make -j 3; sudo make install;
(8 ) reboot
Afterwards, ensure that the volume is turned up and the speakers are unmuted (in alsamixer or another mixer program), because the speakers are muted by default by a new ALSA installation. A new line may have to be added to /etc/modprobe.d/alsa-base in order to ensure proper operation on a specific sound card, but this step has been omitted since it is machine specific.
I hope this helps! Let me know if you have any problems.
Mike
The developmental ALSA drivers may be needed to get a new sound chip working before they have been built into the stable ALSA releases. Here is how to acquire, compile and install the developmental release of the ALSA sound drivers.
(1) install some packages to support the ALSA CVS build system:
sudo aptitude install mercurial autoconf libncurses5 libncurses5-dev
(2) download the newest ALSA development drivers (available here (http://hg-mirror.alsa-project.org/)):
hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver
hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel
The ALSA-Kernel code is linked to from within the development release of the ALSA drivers (so no separate build/install is necessary).
(3) download the latest stable versions of the ALSA libraries and utilities (available here (http://www.alsa-project.org/main/index.php/Download)):
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.14a.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.14.tar.bz2
(4) untar and unzip the ALSA libraries and utilities:
tar -xjf alsa-lib-1.0.14a.tar.bz2
tar -xjf alsa-utils-1.0.14.tar.bz2
(5) build and install the development ALSA drivers:
cd alsa-driver; ./cvscompile; sudo make install;
(6) build and install the ALSA libraries:
cd ../alsa-lib-1.0.14a/; ./configure; make -j 3; sudo make install;
(7) build and install the ALSA utilities:
cd ../alsa-utils-1.0.14/; ./configure; make -j 3; sudo make install;
(8 ) reboot
Afterwards, ensure that the volume is turned up and the speakers are unmuted (in alsamixer or another mixer program), because the speakers are muted by default by a new ALSA installation. A new line may have to be added to /etc/modprobe.d/alsa-base in order to ensure proper operation on a specific sound card, but this step has been omitted since it is machine specific.
I hope this helps! Let me know if you have any problems.
Mike