You are not logged in.

#1 2014-03-01 15:20:34

Daimusou
Member
Registered: 2012-05-25
Posts: 20

[SOLVED] Audio software can not see USB audio dongle

The only audio interface on the computer is a "Midiman M-Audio Pro" USB device.  lsusb can see it:

Bus 002 Device 002: ID 0763:201a Midiman M-Audio Micro

But "aplay -l" shows nothing, and "pacmd list-sinks" only shows the "auto-null" default device.
Results from lsmod:

Module                  Size  Used by
bnep                   10409  2 
bluetooth             199194  5 bnep
snd_usb_audio         112254  0 
snd_hwdep               5753  1 snd_usb_audio
snd_usbmidi_lib        18107  1 snd_usb_audio
snd_rawmidi            20106  1 snd_usbmidi_lib
snd_seq_device          6286  1 snd_rawmidi
af_packet              26042  0 
nfsd                  245537  3 
snd_soc_omap            2842  0 
snd_pcm_dmaengine       6077  1 snd_soc_omap
autofs4                22102  2 

What else do I need to set to activate this?

Last edited by Daimusou (2014-03-02 18:05:56)

Offline

#2 2014-03-01 15:59:34

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Audio software can not see USB audio dongle

I think this device needs firmware. Do you have madfuload or midisport-firmware installed?

Offline

#3 2014-03-02 18:09:48

Daimusou
Member
Registered: 2012-05-25
Posts: 20

Re: [SOLVED] Audio software can not see USB audio dongle

I added madfuload and whether that was necessary or not, it was not sufficient.  I also had to tell the snd-usb-audio driver to own the device.  I did that with:

sudo echo "0763 201a" > /sys/bus/usb/drivers/snd-usb-audio/new_id

That was enough to use the audio output from root.  To allow a normal user to do it I needed to change the protection on the device:

sudo chmod 777 /dev/snd/pcmC0D0p

Is the only way to make snd-usb-audio own this device permanently to modify the driver source to add 0763:201a and recompile it?

Offline

#4 2014-03-02 19:06:09

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Audio software can not see USB audio dongle

Probably, and if you manage patching against latest alsa and everything works, please inform upstream about it. I thought this device was around for some time. You probably want to go a similar way to this and this.

Edit: You could try adding this to a file in /etc/modprobe.d/

options snd-usb-audio vid=0x0763 pid=0x201a

Last edited by emeres (2014-03-02 19:42:21)

Offline

Board footer

Powered by FluxBB