Comment 3 for bug 1604063

Revision history for this message
SIDDHARTH (dhar-75-ap) wrote :

its actually easy to fix.The only problem being you may have to update the kenel.The problem I guess lies due to improper working of pulse and alsa modules.

To fix this you may try these 3 methods

Method #1:

1. reinstall alsa,alsa-base and pavucontrol (a control form pulse audio) . command 'sudo apt-get install --reinstall alsa alsa-base pavucontrol'. Make sure an user name audio is created. Make sure you keep a log of what programs got removed and got installed.

2. reboot your system, command 'reboot', and check wheter audio exists

By now you must have got audio,check the hardware for ==> analog stereo duplex

, else try method #2.

Method #2:

1. Chances are the first one didnt work,so this is a clean method for method #1.

   a. First remove everything related to alsa,please keep a log of what gets removed here, command 'sudo apt purge -y alsa alsa-base',this should remove alsa,alsa-base and everything related to alsa packages.

   b. Then autoremove anything left behind , command 'sudo apt autoremove'.

   c. Then clean your apt database, command 'sudo apt clean'

   d. now lets remove pulse audio too . command 'sudo apt purge -y pavucontrol',this would remove pulse audio,completely.

   e. then repeat steps b and c once more. Make sure you made a log of what programs got removed. Now reboot your system.

  f. Install alsa and alsa-base first , command 'sudo apt install -y alsa alsa-base' , this should install all alsa dependents.

  g. install pulse audio now , command 'sudo apt install -y pavucontrol' , this should install pavucontrol. Make sure a new audio user is created.

   h. reboot your system . command 'reboot' and check if audio is there.

By now you must have got audio,check the hardware for ==> analog stereo duplex

If it still fails try method #3

Method #3.

 Method #1 and Method #2 failed by now,so we will also update the kernel too.

 Updating kernels is risky so don`t try this if you dont know how to fix grub etc.

  a. check the kernel version you are currently using, command 'uname -a >log.txt', open log.txt to check which kernel you are using, or try command 'uname -a' to check. if its shows just x86 you have a 32 bits one system, if its instead x86_64 , you have a 64 bits.

  b. go to url http://kernel.ubuntu.com/~kernel-ppa/mainline/ and check the latest kernel,dont try rc yet . So for this one try http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.4/ .

   Download Build for amd64 if you have 64 bits (x86_64).

     deb files to download are :-

   1. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.4/linux-headers-4.12.4-041204_4.12.4-041204.201707271932_all.deb

    2. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.4/linux-headers-4.12.4-041204-generic_4.12.4-041204.201707271932_amd64.deb

   3. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.4/linux-image-4.12.4-041204-generic_4.12.4-041204.201707271932_amd64.deb

  If you instead got X86, then download 32 bits one ===> Build for i386

   deb files to download are :-

   1. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.4/linux-headers-4.12.4-041204_4.12.4-041204.201707271932_all.deb

   2. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.4/linux-headers-4.12.4-041204-generic_4.12.4-041204.201707271932_i386.deb

    3. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.4/linux-image-4.12.4-041204-generic_4.12.4-041204.201707271932_i386.deb

   You can use any download manager to download these files example wget,curl,aria,etc

   now move to the directory where all the deb files are downloaded. Make sure the directory has only the 3 deb files based on your system arch.

   c. install all the kernel parts by command 'sudo dpkg -i *.deb'. This will install all the kernel files/parts.

   d. now reboot your system , command 'reboot'

   e. open again terminal and check which wheter 4.12.4 is the kernel version you are using. command 'uname -a'.

    Now from here follow steps for method #2 for first removing alsa,alsa-base ,followed by pulse audio

By now you must have got audio,check the hardware for ==> analog stereo duplex

If all the three methods fails, I cant help you,maybe your sound card is failing.