Why no sound on my notebook Compaq presario cq42-207?

Archived topics about LMDE 1 and LMDE 2
Locked
ariefdeok

Why no sound on my notebook Compaq presario cq42-207?

Post by ariefdeok »

This first installation linuxmint-debian 201101 on my notebook cq42-207.
what I have to do?
please help me.
thank you.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
eiver
Level 5
Level 5
Posts: 568
Joined: Fri Jan 23, 2009 5:51 am

Re: Why no sound on my notebook Compaq presario cq42-207?

Post by eiver »

Open the log file viewer, which can be launched from the Mint menu and take a look at the logs. Look for any error messages, that might be connected to sound issues. After finding an error message, I usually google for it and find a solution. Otherwise post it here, so that someone can help you. We need more information to understand why it is not working. Did it work on other versions of Mint?
Milky_Way

Re: Why no sound on my notebook Compaq presario cq42-207?

Post by Milky_Way »

This incident together with my friend who has a compaq CQ42 ,The main problem is because the ALSA mixer is still version 1.0.21, the default version of ALSA are packaged together in teams LinuxMint, and must be upgraded to the latest version, version 1.0.23. Okay try this :

1. Open your terminal ,and check the version of ALSA :

Code: Select all

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
2. Then turn off ALSA service :

Code: Select all

$ sudo /sbin/alsa-utils stop
3. Install equipment that will be required to compile the kernel (Internet required... :D ) :

Code: Select all

$ sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
$ sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev
4. Then moved to homedirectory, and download new alsa-driver, alsa-lib and alsa-utils to our homedirectory :

Code: Select all

$ 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
5. Create a new folder to compile from the 3 files that you downloaded in the first step, open the console, enter root mode, and check the version of ALSA that we have :

Code: Select all

$ sudo rm -rf /usr/src/alsa
$ sudo mkdir -p /usr/src/alsa
$ cd /usr/src/alsa
$ sudo cp ~/alsa* .
6. Extract the 3 files :

Code: Select all

$ sudo tar xjf alsa-driver*
$ sudo tar xjf alsa-lib*
$ sudo tar xjf alsa-utils*
7. Then stay compile and install, the first alsa-driver (This will take a long time):

Code: Select all

$ cd alsa-driver*
$ sudo ./configure
$ sudo make
$ sudo make install
8. Second, compile and install alsa-lib :

Code: Select all

$ cd ../alsa-lib*
$ sudo ./configure
$ sudo make
$ sudo make install
9. Finally, compile and install alsa-utils :

Code: Select all

$ cd ../alsa-utils*
$ sudo ./configure
$ sudo make
$ sudo make install
10. Remove the source that is not used anymore :

Code: Select all

$ rm -f ~/alsa-driver*
$ rm -f ~/alsa-lib*
$ rm -f ~/alsa-utils*
11. Reboot your laptop :

Code: Select all

$ sudo reboot
12. Check the ALSA which is updated, if correctly been updated will be like this :

Code: Select all

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jan 04 2011 for kernel 2.6.32-21-generic (SMP).
13. Latest ALSA configuration :

Code: Select all

$ sudo alsaconf
14. Finally, reboot your laptop again and test the voice :) :

Code: Select all

$ sudo reboot
Locked

Return to “LMDE Archive”