• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 6.4k 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 May 10, 2018, 6:35 PM

    @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

    M 1 Reply Last reply May 10, 2018, 7:58 PM Reply Quote 0
    • M Offline
      MrCoffee @NoNameRo
      last edited by May 10, 2018, 7:58 PM

      @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 May 10, 2018, 9:15 PM Reply Quote 0
      • E Offline
        E3V3A @MrCoffee
        last edited by May 10, 2018, 9:15 PM

        @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)

        M 1 Reply Last reply May 11, 2018, 8:18 AM Reply Quote 0
        • M Offline
          MrCoffee @E3V3A
          last edited by May 11, 2018, 8:18 AM

          @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 May 12, 2018, 9:53 AM May 12, 2018, 9:53 AM

            dtparam=audio=off

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

            M 2 Replies Last reply May 14, 2018, 6:27 AM Reply Quote 0
            • M Offline
              MrCoffee @E3V3A
              last edited by May 14, 2018, 6:27 AM

              @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 May 14, 2018, 8:44 AM Reply Quote 0
              • E Offline
                E3V3A
                last edited by May 14, 2018, 8:15 AM

                @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 May 14, 2018, 8:44 AM

                  @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)

                  M 1 Reply Last reply May 14, 2018, 8:09 PM Reply Quote 0
                  • M Offline
                    MrCoffee @E3V3A
                    last edited by May 14, 2018, 8:09 PM

                    @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
                    • M Offline
                      MrCoffee @E3V3A
                      last edited by May 14, 2018, 8:30 PM

                      @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
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/12
                        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