No sound in Lenovo Ideapad

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












3














I have a Lenovo Ideapad 14'' 100S IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM running FreeBSD 12.0.



I am trying to setup sound on it. I set it up in /boot/loader.conf as:



# load sound driver
snd_hda="YES"
# load mixer
mixer_enable="YES"
sound_load="YES"


However, when trying to playing sound both in youtube or in the command line, I get this error, either when trying to use the Speaker or the Headphones channel:



pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead


or



pcm1: chn_write(): pcm1:virtual:dsp1.vp0: play interrupt timeout, channel dead


The mixer seems to be ok:



# mixer
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 100:100


To see the available outputs:



$ cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC269 (Right Analog)> (play/rec)
pcm1: <Realtek ALC269 (Internal Analog)> (play/rec) default
pcm2: <Intel (0x2883) (HDMI/DP 8ch)> (play)
No devices installed from userspace.


What to do?










share|improve this question




























    3














    I have a Lenovo Ideapad 14'' 100S IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM running FreeBSD 12.0.



    I am trying to setup sound on it. I set it up in /boot/loader.conf as:



    # load sound driver
    snd_hda="YES"
    # load mixer
    mixer_enable="YES"
    sound_load="YES"


    However, when trying to playing sound both in youtube or in the command line, I get this error, either when trying to use the Speaker or the Headphones channel:



    pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead


    or



    pcm1: chn_write(): pcm1:virtual:dsp1.vp0: play interrupt timeout, channel dead


    The mixer seems to be ok:



    # mixer
    Mixer vol is currently set to 100:100
    Mixer pcm is currently set to 100:100


    To see the available outputs:



    $ cat /dev/sndstat
    Installed devices:
    pcm0: <Realtek ALC269 (Right Analog)> (play/rec)
    pcm1: <Realtek ALC269 (Internal Analog)> (play/rec) default
    pcm2: <Intel (0x2883) (HDMI/DP 8ch)> (play)
    No devices installed from userspace.


    What to do?










    share|improve this question


























      3












      3








      3


      1





      I have a Lenovo Ideapad 14'' 100S IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM running FreeBSD 12.0.



      I am trying to setup sound on it. I set it up in /boot/loader.conf as:



      # load sound driver
      snd_hda="YES"
      # load mixer
      mixer_enable="YES"
      sound_load="YES"


      However, when trying to playing sound both in youtube or in the command line, I get this error, either when trying to use the Speaker or the Headphones channel:



      pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead


      or



      pcm1: chn_write(): pcm1:virtual:dsp1.vp0: play interrupt timeout, channel dead


      The mixer seems to be ok:



      # mixer
      Mixer vol is currently set to 100:100
      Mixer pcm is currently set to 100:100


      To see the available outputs:



      $ cat /dev/sndstat
      Installed devices:
      pcm0: <Realtek ALC269 (Right Analog)> (play/rec)
      pcm1: <Realtek ALC269 (Internal Analog)> (play/rec) default
      pcm2: <Intel (0x2883) (HDMI/DP 8ch)> (play)
      No devices installed from userspace.


      What to do?










      share|improve this question















      I have a Lenovo Ideapad 14'' 100S IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM running FreeBSD 12.0.



      I am trying to setup sound on it. I set it up in /boot/loader.conf as:



      # load sound driver
      snd_hda="YES"
      # load mixer
      mixer_enable="YES"
      sound_load="YES"


      However, when trying to playing sound both in youtube or in the command line, I get this error, either when trying to use the Speaker or the Headphones channel:



      pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead


      or



      pcm1: chn_write(): pcm1:virtual:dsp1.vp0: play interrupt timeout, channel dead


      The mixer seems to be ok:



      # mixer
      Mixer vol is currently set to 100:100
      Mixer pcm is currently set to 100:100


      To see the available outputs:



      $ cat /dev/sndstat
      Installed devices:
      pcm0: <Realtek ALC269 (Right Analog)> (play/rec)
      pcm1: <Realtek ALC269 (Internal Analog)> (play/rec) default
      pcm2: <Intel (0x2883) (HDMI/DP 8ch)> (play)
      No devices installed from userspace.


      What to do?







      freebsd audio






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 26 '18 at 15:04







      Rui F Ribeiro

















      asked Apr 25 '17 at 12:48









      Rui F RibeiroRui F Ribeiro

      39.3k1479131




      39.3k1479131




















          1 Answer
          1






          active

          oldest

          votes


















          4














          To get the sound working, according to a similar post in the FreeBSD forums, you have to do:



          sudo sysctl dev.hdac.0.polling=1


          After this change, the sound started working while using the headphone jack (Right Analog).



          To output sound from the internal speakers (Internal Analog), I had to do:



          sudo sysctl hw.snd.default_unit=1


          To have these configurations at boot time, add them to /etc/sysctl.conf:



          dev.hdac.0.polling=1
          hw.snd.default_unit=1


          See also:



          FreeBSD: no automatic switching between sound in speaker and built-in headphones jack






          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f361186%2fno-sound-in-lenovo-ideapad%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            To get the sound working, according to a similar post in the FreeBSD forums, you have to do:



            sudo sysctl dev.hdac.0.polling=1


            After this change, the sound started working while using the headphone jack (Right Analog).



            To output sound from the internal speakers (Internal Analog), I had to do:



            sudo sysctl hw.snd.default_unit=1


            To have these configurations at boot time, add them to /etc/sysctl.conf:



            dev.hdac.0.polling=1
            hw.snd.default_unit=1


            See also:



            FreeBSD: no automatic switching between sound in speaker and built-in headphones jack






            share|improve this answer



























              4














              To get the sound working, according to a similar post in the FreeBSD forums, you have to do:



              sudo sysctl dev.hdac.0.polling=1


              After this change, the sound started working while using the headphone jack (Right Analog).



              To output sound from the internal speakers (Internal Analog), I had to do:



              sudo sysctl hw.snd.default_unit=1


              To have these configurations at boot time, add them to /etc/sysctl.conf:



              dev.hdac.0.polling=1
              hw.snd.default_unit=1


              See also:



              FreeBSD: no automatic switching between sound in speaker and built-in headphones jack






              share|improve this answer

























                4












                4








                4






                To get the sound working, according to a similar post in the FreeBSD forums, you have to do:



                sudo sysctl dev.hdac.0.polling=1


                After this change, the sound started working while using the headphone jack (Right Analog).



                To output sound from the internal speakers (Internal Analog), I had to do:



                sudo sysctl hw.snd.default_unit=1


                To have these configurations at boot time, add them to /etc/sysctl.conf:



                dev.hdac.0.polling=1
                hw.snd.default_unit=1


                See also:



                FreeBSD: no automatic switching between sound in speaker and built-in headphones jack






                share|improve this answer














                To get the sound working, according to a similar post in the FreeBSD forums, you have to do:



                sudo sysctl dev.hdac.0.polling=1


                After this change, the sound started working while using the headphone jack (Right Analog).



                To output sound from the internal speakers (Internal Analog), I had to do:



                sudo sysctl hw.snd.default_unit=1


                To have these configurations at boot time, add them to /etc/sysctl.conf:



                dev.hdac.0.polling=1
                hw.snd.default_unit=1


                See also:



                FreeBSD: no automatic switching between sound in speaker and built-in headphones jack







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 25 '17 at 14:20

























                answered Apr 25 '17 at 12:48









                Rui F RibeiroRui F Ribeiro

                39.3k1479131




                39.3k1479131



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f361186%2fno-sound-in-lenovo-ideapad%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

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay