MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Installing USB Soundcard using seperate USB Mic

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 3 Posters 8.2k Views 3 Watching
    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.
    • N Offline
      NoNameRo @MrCoffee
      last edited by

      @mrcoffee
      give it a try

      pcm.!default {
        type asym
        capture.pcm "mic"
        playback.pcm "speaker"
      }
      pcm.mic {
        type plug
        slave {
          pcm "hw:0,0"
        }
      }
      pcm.speaker {
        type plug
        slave {
          pcm "hw:0,0"
        }
      }
      

      or

      pcm.!default {
        type asym
        capture.pcm "mic"
        playback.pcm "speaker"
      }
      pcm.mic {
        type plug
        slave {
          pcm "hw:0,0"
        }
      }
      pcm.speaker {
        type plug
        slave {
          pcm "hw:1,0"
        }
      }
      

      then restart with sudo /etc/init.d/alsa-utils restart
      under alsamixer can still adjust the volume level

      MrCoffeeM 1 Reply Last reply Reply Quote 0
      • MrCoffeeM Offline
        MrCoffee @NoNameRo
        last edited by

        @NoNameRo

        Thank you for your fast response.
        Unfortunately it is still not working. I tried both versions and restarted with the command you told me.
        I even rebootet just to be sure.
        What I didnt do is switching the cable from jack to the usb soundcard, because it is late and the mirror on the wall again. But I expect, that it would be mute if it works, right?

        I forgot to write above, that I can see all 3 devices in the alsamixer.

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          E3V3A @MrCoffee
          last edited by

          @mrcoffee
          I have seen solutions to this here: https://raspberrypi.stackexchange.com
          search there.

          Also, only use ONE sound card for AUX (ouput) and MIC (input). Otherwise you will get confused and so your Pie will be unhappy too. It is also highly recommended to disable the internal broadcom sound card when using a USB card. That you can do in the boot config IIRC.

          "Everything I do (here) is for free – altruism is the way!"
          MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

          MrCoffeeM 1 Reply Last reply Reply Quote 0
          • MrCoffeeM Offline
            MrCoffee @E3V3A
            last edited by

            @e3v3a
            Now it is getting weired.
            I disabled the internal broadcom by adding it to the blacklist:

            sudo tee /etc/modprobe.d/blacklist-snd_bcm2835.conf
            
            blacklist snd_bcm2835
            

            After reboot it is correctly not shown again:

            aplay -l

            **** Liste der Hardware-Geräte (PLAYBACK) ****
            Karte 0: Device_1 [USB Audio Device], Gerät 0: USB Audio [USB Audio]
              Sub-Geräte: 1/1
              Sub-Gerät #0: subdevice #0
            

            But if I start playing a media, the sound still comes from the audio jack.
            How can that be?

            1 Reply Last reply Reply Quote 0
            • E Offline
              E3V3A
              last edited by E3V3A

              dtparam=audio=off

              "Everything I do (here) is for free – altruism is the way!"
              MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

              MrCoffeeM 2 Replies Last reply Reply Quote 0
              • MrCoffeeM Offline
                MrCoffee @E3V3A
                last edited by

                @e3v3a
                Thanks for the help.
                I didn´t tried it yet because meanwhile my mic has some problems too. The “beep” from Alexa ist still there but sounds already not round. After that the mic does not react at all.

                Guess I will reset the whole system. Unfortunately I did not have a backup.
                By the way: If anybody of you knows a raspberry backup programm which I can use under windows please let me know.

                I will inform you when I reseted my system.

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  E3V3A
                  last edited by

                  @MrCoffee I don’t think resetting it is gonna be helpful, unless you know you have installed a bunch of other apt packages, and messed with system settings without writing down what you did.

                  "Everything I do (here) is for free – altruism is the way!"
                  MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    E3V3A @MrCoffee
                    last edited by

                    @mrcoffee
                    Try this: https://github.com/shivasiddharth/GassistPi/tree/master/audio-drivers/USB-MIC-JACK/scripts

                    "Everything I do (here) is for free – altruism is the way!"
                    MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                    MrCoffeeM 1 Reply Last reply Reply Quote 0
                    • MrCoffeeM Offline
                      MrCoffee @E3V3A
                      last edited by

                      @E3V3A
                      Hi, I tried the steps from “cloning” to "sudo /home/pi/GassistPi/audio-drivers/USB-MIC-JACK/scripts/usb-mic-onboard-jack.sh " (I have got Alexa not google assistant;-))
                      The alexa beep sounds normal again, but after that there is silence. And I can still force the beep only once per reboot.

                      1 Reply Last reply Reply Quote 0
                      • MrCoffeeM Offline
                        MrCoffee @E3V3A
                        last edited by

                        @e3v3a said in Installing USB Soundcard using seperate USB Mic:

                        dtparam=audio=off

                        I just tried it. Unfortunately with no luck.
                        Sound still comes from the audio jack.

                        1 Reply Last reply Reply Quote 0
                        • MrCoffeeM Offline
                          MrCoffee
                          last edited by

                          I reinstalled the whole system using another SD-card.
                          Now I can use the seperate USB-Mic and the audio Out comes from the other USB-Soundcard.
                          After that I installed all my modules like MMM-Podcast.
                          I played the video and … sound comes from the audio jack again:-(
                          However the usb mic and alexa are still working fine. It is just MMM-Podcast which uses the audio jack.
                          How can that be? I installed the dependecies especially the omxplayer. But that can´t be the reason, or what do you think?

                          lsusb

                          Bus 001 Device 004: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
                          Bus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc.
                          Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
                          Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
                          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                          

                          aplay -l

                          **** Liste der Hardware-Geräte (PLAYBACK) ****
                          Karte 0: Device_1 [USB Audio Device], Gerät 0: USB Audio [USB Audio]
                          
                            Sub-Geräte: 1/1
                            Sub-Gerät #0: subdevice #0
                          

                          sudo nano ~/.asoundrc

                          pcm.!default {
                              type asym
                              playback.pcm "plughw:0"
                              capture.pcm  "plughw:1"
                          }
                          
                          ctl.!default {
                                  type hw
                                  card 0
                          }
                          

                          Do you have an idea? Seems like I am almost there.

                          Thanks.

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            Last post
                          Enjoying MagicMirror? Please consider a donation!
                          MagicMirror created by Michael Teeuw.
                          Forum managed by Sam, technical setup by Karsten.
                          This forum is using NodeBB as its core | Contributors
                          Contact | Privacy Policy