Ubuntu 18.04 and 16.04 sound problem











up vote
0
down vote

favorite












I had initially dual booted Ubuntu 16.04 with kali linux.Then One day while watching a movie in ubuntu 16.4 the speakers went mute. However, when using kali linux speakers worked just fine. I searched online for ways to fix sound in ubuntu 16.04 and the only helpful fix was to run alsctl restore everytime I logged in ubuntu 16.04 . This always got the sound working. I then decided to replace kali linux with Ubuntu 18.04 and sound was gone too. I have to run alsactl restore everytime I log in Ubuntu 18.0 to get the speakers to work too.
Here is the output of alsactl restore
Output



alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: File exists
alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: File exists
Found hardware: "HDA-Intel" "IDT 92HD81B1X5" "HDA:111d7605,103c166f,00100105 HDA:80862805,80860101,00100000" "0x103c" "0x166f"
Hardware is initialized using a generic method



How can I get my speakers working automatically when I log in ?










share|improve this question


























    up vote
    0
    down vote

    favorite












    I had initially dual booted Ubuntu 16.04 with kali linux.Then One day while watching a movie in ubuntu 16.4 the speakers went mute. However, when using kali linux speakers worked just fine. I searched online for ways to fix sound in ubuntu 16.04 and the only helpful fix was to run alsctl restore everytime I logged in ubuntu 16.04 . This always got the sound working. I then decided to replace kali linux with Ubuntu 18.04 and sound was gone too. I have to run alsactl restore everytime I log in Ubuntu 18.0 to get the speakers to work too.
    Here is the output of alsactl restore
    Output



    alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: File exists
    alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: File exists
    Found hardware: "HDA-Intel" "IDT 92HD81B1X5" "HDA:111d7605,103c166f,00100105 HDA:80862805,80860101,00100000" "0x103c" "0x166f"
    Hardware is initialized using a generic method



    How can I get my speakers working automatically when I log in ?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I had initially dual booted Ubuntu 16.04 with kali linux.Then One day while watching a movie in ubuntu 16.4 the speakers went mute. However, when using kali linux speakers worked just fine. I searched online for ways to fix sound in ubuntu 16.04 and the only helpful fix was to run alsctl restore everytime I logged in ubuntu 16.04 . This always got the sound working. I then decided to replace kali linux with Ubuntu 18.04 and sound was gone too. I have to run alsactl restore everytime I log in Ubuntu 18.0 to get the speakers to work too.
      Here is the output of alsactl restore
      Output



      alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: File exists
      alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: File exists
      Found hardware: "HDA-Intel" "IDT 92HD81B1X5" "HDA:111d7605,103c166f,00100105 HDA:80862805,80860101,00100000" "0x103c" "0x166f"
      Hardware is initialized using a generic method



      How can I get my speakers working automatically when I log in ?










      share|improve this question













      I had initially dual booted Ubuntu 16.04 with kali linux.Then One day while watching a movie in ubuntu 16.4 the speakers went mute. However, when using kali linux speakers worked just fine. I searched online for ways to fix sound in ubuntu 16.04 and the only helpful fix was to run alsctl restore everytime I logged in ubuntu 16.04 . This always got the sound working. I then decided to replace kali linux with Ubuntu 18.04 and sound was gone too. I have to run alsactl restore everytime I log in Ubuntu 18.0 to get the speakers to work too.
      Here is the output of alsactl restore
      Output



      alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: File exists
      alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: File exists
      Found hardware: "HDA-Intel" "IDT 92HD81B1X5" "HDA:111d7605,103c166f,00100105 HDA:80862805,80860101,00100000" "0x103c" "0x166f"
      Hardware is initialized using a generic method



      How can I get my speakers working automatically when I log in ?







      sound pulseaudio alsa headphones






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 13 at 21:14









      Eric kioko

      44




      44



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092672%2fubuntu-18-04-and-16-04-sound-problem%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092672%2fubuntu-18-04-and-16-04-sound-problem%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?