RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Asla-base.conf

    Scheduled Pinned Locked Moved Help and Support
    asla audio conf
    13 Posts 3 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Atomize
      last edited by

      Hey guys and girls hope you are all good and hello from me (nick)

      Ok my problem is I have USB audio plugged in to raspberry pi b+ running retropie 4.1.
      It see the USB audio

      0 snd_bcm2835
      1 snd_usb_audio

      So I try and edit pi@retropie:~ $ sudo nano /etc/modprobe.d/alsa-base.conf
      Enter nano
      options snd_usb_audio index=0
      options snd_bcm2835 index=1
      options snd slots=snd-usb-audio,snd-bcm2835

      Try and save it but all I get is ...error writing etc/modprobe.d/alsa-base.conf no such file or directory

      Any ideas iv asked my best friend Google but no matter what I try and save in Nano I get the same no such file bla bla bla.

      Thanks.

      obsidianspiderO 1 Reply Last reply Reply Quote 0
      • obsidianspiderO
        obsidianspider @Atomize
        last edited by obsidianspider

        @Atomize These instructions from Sudomod are how I got USB audio to work on my RetroPie build.

        Weird that you can't create the file. How are you exiting out of nano? Ctrl+X?

        📷 @obsidianspider

        1 Reply Last reply Reply Quote 0
        • A
          Atomize
          last edited by

          Yes

          obsidianspiderO BuZzB 2 Replies Last reply Reply Quote 0
          • obsidianspiderO
            obsidianspider @Atomize
            last edited by

            @Atomize When you navigate to /etc/modprobe.d and list the contents with ls? Is other stuff in there?

            📷 @obsidianspider

            A 1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @Atomize
              last edited by BuZz

              @Atomize Please paste the exact output from the console - including command entered. Looks like your didn't paste the above or if you did, there is a missing / in the error so I want to verify paths.

              Please use a code block - http://commonmark.org/help/

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • A
                Atomize
                last edited by

                That's what I followed and it all worked up to the ctl x to save and all I get is no such file etc.

                1 Reply Last reply Reply Quote 0
                • A
                  Atomize
                  last edited by

                  sudo nano /etc/modprobe.d/alsa-base.conf

                  That enters me into nano

                  options snd_usb_audio index=0
                  options snd_bcm2835 index=1
                  options snd slots=snd-usb-audio,snd-bcm2835

                  Ctrl+X Y to save then I get the error no such file..

                  BuZzB 1 Reply Last reply Reply Quote 0
                  • A
                    Atomize @obsidianspider
                    last edited by

                    @obsidianspider

                    Can not access no such file or directory

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @Atomize
                      last edited by

                      @Atomize To save, it's better to do ctrl+o, then ctrl+x.

                      What's the output of ls -la /etc/modprobe.d ?

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Atomize @BuZz
                        last edited by

                        @BuZz
                        Says

                        Ls: cannot access /etc/modprobe.d: no such file or directory

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @Atomize
                          last edited by BuZz

                          @Atomize Then you have accidentally removed an important configuration folder I think - However I have no idea of your set-up as you didn't provide any info when posting as requested when registering.

                          Are you using Berryboot for example ?

                          You should probably get a fresh image, as if that folder is missing, others may be too (unless you are using berryboot in which case the folder may not be there)

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Atomize @BuZz
                            last edited by

                            @BuZz

                            Just installed retropie 4.1 about 2 hours ago and did nothing but add USB audio then i try and edited the asla-base.conf

                            Il try another image and start over...thanks all for your time

                            1 Reply Last reply Reply Quote 0
                            • A
                              Atomize
                              last edited by

                              All sorted guys.

                              All what I was trying just didn't work but this did.

                              http://superuser.com/questions/989385/how-to-make-raspberry-pi-use-an-external-usb-sound-card-as-a-default

                              Open /lib/modprobe.d/aliases.conf

                              Add the lines

                              options snd_usb_audio index=0
                              options snd_bcm2835 index=1
                              options snd slots=snd_usb_audio,snd_bcm2835

                              Ctl + X and it did save.

                              Thanks all for the help.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.