2 Replies Latest reply on Apr 6, 2017 9:22 AM by maathor

    [No audio input] USB SoundCard




      I have an issue to configure my edison to capture and stream audio. I use Ubilinux on Intel Edison. I install alsa


      First I plug an USB SoundCard, a generic model with an USB OTG.


      I found it quickly :


      "lsusb" ->


      Bus 001 Device 002: ID 0d8c:0014 C-Media Electronics, Inc.          <-- This is my device

      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


      I try my first "speaker-test"


      No sound, so i check my /etc/asound.conf, This files does not exist.


      So I do "aplay -l" ->



      card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]

        Subdevices: 1/1

        Subdevice #0: subdevice #0



      My "cat /proc/asound/cards"


      0 [Loopback       ]: Loopback - Loopback

                            Loopback 1

      1 [Device         ]: USB-Audio - USB Audio Device

                            C-Media Electronics Inc. USB Audio Device at usb-dwc3-host.2-1, full speed



      On my /usr/share/alsa/alsa.conf, I change c



      defaults.ctl.card 1
      defaults.pcm.card 1



      Now, When i open alsamixer, it show me my mic and headphone volume. Great...


      But I do again a speaker-test: again Playback device is default



      I create my /etc/asound.conf with :


      pcm.!default {

              type plug

              slave {

                      pcm "hw:1,0"



      ctl.!default {

              type hw

              card 1



      Finally, I try to record with


      arecord -d 10 /tmp/test-mic.wav,  // record raise my no issues


      # aplay hw:1,0 -d 10  /tmp/test-mic.wav

      Playing WAVE 'hw:1,0' : Unsigned 8 bit, Rate 8000 Hz, Mono

      [  578.725491] 2:1:1: usb_set_interface failed (-22)


      I don't find the solution in other discussions .......

      Thank you for your help !