After the Debian system is installed on the HP notebook, the sound is faulty, most of which is due to a sound card driver fault. In this case, you can reinstall and compile the sound card driver to solve the problem, the following section describes how to compile and install the sound card driver In Debian.
After the Debian system is installed on the HP notebook, the sound is faulty, most of which is due to a sound card driver fault. In this case, you can reinstall and compile the sound card driver to solve the problem, the following section describes how to compile and install the sound card driver In Debian.
Debian 5 is installed when an HP notebook is just purchased. there are usually two problems:
One is that the wireless NIC driver is not installed, and the other is "with headphones, you can listen to the song, but the Speaker cannot speak ".
The second problem is that the version of the Debian 5 sound card driver is too low, so you only need to download the latest sound card driver and compile and install it to solve the problem.
The procedure is as follows:
1. download the latest driver from the alsa homepage and decompress it to the current directory.
Alsa-driver-1.0.21.tar.bz2
Alsa-lib-1.0.21a.tar.bz2
Alsa-utils-1.0.21.tar.bz2
$ Pwd
/Home/c-aries/download/alsa
$ Ls
Alsa-driver-1.0.21.tar.bz2 alsa-lib-1.0.21a.tar.bz2 alsa-utils-1.0.21.tar.bz2
$ Tar xf alsa-driver-1.0.21.tar.bz2
$ Tar xf alsa-utils-1.0.21.tar.bz2
$ Tar xf alsa-lib-1.0.21a.tar.bz2
$ Ls-F
Alsa-driver-1.0.21/alsa-lib-1.0.21a/alsa-utils-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. install necessary software packages and disable the sound card,
$ Sudo apt-get install build-essential ncurses-dev gettext xmlto linux-headers-'uname-R' libncursesw5-dev
$ Sudo/etc/init. d/alsa-utils stop
3. Soft link related function libraries
The following code is run only when a compilation error occurs:Command, Such as error
Checking for new_panel in-lpanelw... No
Configure: error: panelw library not found
Link command:
$ 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
4. Compile and install alsa-driver, alsa-lib, and alsa-utils.
$ Pwd
/Home/c-aries/download/alsa/alsa-driver-1.0.21
$. /Configure
$ Make
$ Sudo make install
$ Pwd
/Home/c-aries/download/alsa/alsa-lib-1.0.21a
$. /Configure
$ Make
$ Sudo make install
# Compile and install alsa-driver and alsa-lib before compiling alsa-utils. Otherwise, an error will be reported during configure.
$ Pwd
/Home/c-aries/download/alsa/alsa-utils-1.0.21
$. /Configure
$ Make
$ Sudo make install
5. restart the system and view the audio/video driver version.
$ Cat/proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Dec 9 2009 for kernel 2.6.26-2-686 (SMP ).
$
6. Configure the sound card and adjust the volume
# Disable sound card
$ Sudo/etc/init. d/alsa-utils stop
# Configure the sound card, select the sound card for configuration, and select hda-intel
$ Sudo alsaconf
# Adjust the volume, adjust both the Master and PCM to 100, and make the external speaker sound very loud.
# Tip: press the m key. If the OO mark appears under the Master node, this option can be used. Press the m key again. If the MM mark appears below the Master node, this option is disabled.
$ Alsamixer
The above is how to compile and install the sound card driver in the HP notebook Debian. if the version of the sound card driver you have installed is too low, you can download the latest Sound Card Driver from the official website for installation.