CMUS Error: opening audio device: No such device












1















I cant seem to play any audio with CMUS because it always gives the above error



the output of



 lspci -v | grep -A7 -i "audio"


gives




00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High
Definition Audio Controller (rev 02)
Subsystem: ASRock Incorporation Device c892
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at dff00000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel



00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express
Port 1 (rev 02) (prog-if 00 [Normal decode])




what could be the problem?










share|improve this question





























    1















    I cant seem to play any audio with CMUS because it always gives the above error



    the output of



     lspci -v | grep -A7 -i "audio"


    gives




    00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High
    Definition Audio Controller (rev 02)
    Subsystem: ASRock Incorporation Device c892
    Flags: bus master, fast devsel, latency 0, IRQ 49
    Memory at dff00000 (64-bit, non-prefetchable) [size=16K]
    Capabilities:
    Kernel driver in use: snd_hda_intel



    00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express
    Port 1 (rev 02) (prog-if 00 [Normal decode])




    what could be the problem?










    share|improve this question



























      1












      1








      1


      1






      I cant seem to play any audio with CMUS because it always gives the above error



      the output of



       lspci -v | grep -A7 -i "audio"


      gives




      00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High
      Definition Audio Controller (rev 02)
      Subsystem: ASRock Incorporation Device c892
      Flags: bus master, fast devsel, latency 0, IRQ 49
      Memory at dff00000 (64-bit, non-prefetchable) [size=16K]
      Capabilities:
      Kernel driver in use: snd_hda_intel



      00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express
      Port 1 (rev 02) (prog-if 00 [Normal decode])




      what could be the problem?










      share|improve this question
















      I cant seem to play any audio with CMUS because it always gives the above error



      the output of



       lspci -v | grep -A7 -i "audio"


      gives




      00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High
      Definition Audio Controller (rev 02)
      Subsystem: ASRock Incorporation Device c892
      Flags: bus master, fast devsel, latency 0, IRQ 49
      Memory at dff00000 (64-bit, non-prefetchable) [size=16K]
      Capabilities:
      Kernel driver in use: snd_hda_intel



      00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express
      Port 1 (rev 02) (prog-if 00 [Normal decode])




      what could be the problem?







      server sound 13.10 hardware






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 26 '13 at 15:21







      clamp

















      asked Oct 26 '13 at 14:06









      clampclamp

      69931016




      69931016






















          2 Answers
          2






          active

          oldest

          votes


















          0














          cmus appears to default to the pulseaudio output plugin.



          However the pulseaudio sound system is not necessarily installed on a headless server.



          Try :set output_plugin=alsa or :set output_plugin=ao to switch to a supported backend.






          share|improve this answer
























          • thanks, i tried both but i still get the same error

            – clamp
            Nov 3 '13 at 16:12



















          0














          I know that this is incredibly old but I've run into the same issue and no where has an answer of any kind. To fix this problem I installed



          sudo apt-get install libao-ocaml-dev


          and that seems to have fixed my problem.



          My symptoms were that I could play music if I was root but would the error described by OP if I wasn't. I needed to compile cmus from source because the version of cmus that I get from apt was unable to play some of my music because of an ffmpeg/avconv issue.



          I didn't need to do anything special aside from install that library.






          share|improve this answer























            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',
            autoActivateHeartbeat: false,
            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%2f366211%2fcmus-error-opening-audio-device-no-such-device%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            cmus appears to default to the pulseaudio output plugin.



            However the pulseaudio sound system is not necessarily installed on a headless server.



            Try :set output_plugin=alsa or :set output_plugin=ao to switch to a supported backend.






            share|improve this answer
























            • thanks, i tried both but i still get the same error

              – clamp
              Nov 3 '13 at 16:12
















            0














            cmus appears to default to the pulseaudio output plugin.



            However the pulseaudio sound system is not necessarily installed on a headless server.



            Try :set output_plugin=alsa or :set output_plugin=ao to switch to a supported backend.






            share|improve this answer
























            • thanks, i tried both but i still get the same error

              – clamp
              Nov 3 '13 at 16:12














            0












            0








            0







            cmus appears to default to the pulseaudio output plugin.



            However the pulseaudio sound system is not necessarily installed on a headless server.



            Try :set output_plugin=alsa or :set output_plugin=ao to switch to a supported backend.






            share|improve this answer













            cmus appears to default to the pulseaudio output plugin.



            However the pulseaudio sound system is not necessarily installed on a headless server.



            Try :set output_plugin=alsa or :set output_plugin=ao to switch to a supported backend.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 2 '13 at 17:59









            aquaherdaquaherd

            5,3592336




            5,3592336













            • thanks, i tried both but i still get the same error

              – clamp
              Nov 3 '13 at 16:12



















            • thanks, i tried both but i still get the same error

              – clamp
              Nov 3 '13 at 16:12

















            thanks, i tried both but i still get the same error

            – clamp
            Nov 3 '13 at 16:12





            thanks, i tried both but i still get the same error

            – clamp
            Nov 3 '13 at 16:12













            0














            I know that this is incredibly old but I've run into the same issue and no where has an answer of any kind. To fix this problem I installed



            sudo apt-get install libao-ocaml-dev


            and that seems to have fixed my problem.



            My symptoms were that I could play music if I was root but would the error described by OP if I wasn't. I needed to compile cmus from source because the version of cmus that I get from apt was unable to play some of my music because of an ffmpeg/avconv issue.



            I didn't need to do anything special aside from install that library.






            share|improve this answer




























              0














              I know that this is incredibly old but I've run into the same issue and no where has an answer of any kind. To fix this problem I installed



              sudo apt-get install libao-ocaml-dev


              and that seems to have fixed my problem.



              My symptoms were that I could play music if I was root but would the error described by OP if I wasn't. I needed to compile cmus from source because the version of cmus that I get from apt was unable to play some of my music because of an ffmpeg/avconv issue.



              I didn't need to do anything special aside from install that library.






              share|improve this answer


























                0












                0








                0







                I know that this is incredibly old but I've run into the same issue and no where has an answer of any kind. To fix this problem I installed



                sudo apt-get install libao-ocaml-dev


                and that seems to have fixed my problem.



                My symptoms were that I could play music if I was root but would the error described by OP if I wasn't. I needed to compile cmus from source because the version of cmus that I get from apt was unable to play some of my music because of an ffmpeg/avconv issue.



                I didn't need to do anything special aside from install that library.






                share|improve this answer













                I know that this is incredibly old but I've run into the same issue and no where has an answer of any kind. To fix this problem I installed



                sudo apt-get install libao-ocaml-dev


                and that seems to have fixed my problem.



                My symptoms were that I could play music if I was root but would the error described by OP if I wasn't. I needed to compile cmus from source because the version of cmus that I get from apt was unable to play some of my music because of an ffmpeg/avconv issue.



                I didn't need to do anything special aside from install that library.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 1 '15 at 20:11









                RickRick

                1011




                1011






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f366211%2fcmus-error-opening-audio-device-no-such-device%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

                    Questions related to Moebius Transform of Characteristic Function of the Primes

                    List of scandals in India

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?