• 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.1k 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.
  • 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
                    • M Offline
                      MrCoffee
                      last edited by May 21, 2018, 10:27 AM

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