Hi all, I am implementing an ALSA backend for an in-house cross-platform C++ audio framework, but I have serious problems doing ALSA. My hardware is a Raspberry Pi 3 running Raspbian Stretch, having an I2S soundcard as the main card. I enumerate the PCM devices with the snd_device_name_hint API, and I can get f.i. device id's like: ID: null ID: default:CARD=audioinjectorpi ID: sysdefault:CARD=audioinjectorpi ID: dmix:CARD=audioinjectorpi,DEV=0 ID: dsnoop:CARD=audioinjectorpi,DEV=0 ID: hw:CARD=audioinjectorpi,DEV=0 ID: plughw:CARD=audioinjectorpi,DEV=0 ID: default:CARD=MOXF6MOXF8 ID: sysdefault:CARD=MOXF6MOXF8 ID: front:CARD=MOXF6MOXF8,DEV=0 ID: surround21:CARD=MOXF6MOXF8,DEV=0 ID: surround40:CARD=MOXF6MOXF8,DEV=0 ID: surround41:CARD=MOXF6MOXF8,DEV=0 ID: surround50:CARD=MOXF6MOXF8,DEV=0 ID: surround51:CARD=MOXF6MOXF8,DEV=0 ID: surround71:CARD=MOXF6MOXF8,DEV=0 ID: iec958:CARD=MOXF6MOXF8,DEV=0 ID: dmix:CARD=MOXF6MOXF8,DEV=0 ID: dsnoop:CARD=MOXF6MOXF8,DEV=0 ID: hw:CARD=MOXF6MOXF8,DEV=0 ID: plughw:CARD=MOXF6MOXF8,DEV=0 These are the results from snd_device_name_get_hint(..., "NAME") (the audioinjectorpi is the I2S device, MOXF is an USB device) After this I try snd_pcm_open on the IDs, most of which I get -EBUSY. Why is this ? There are no other applications using the devices. F.i. I cannot open the "default:CARD=MOXF6MOXF8" device, using that exact string as id to snd_pcm_open, I get -EBUSY every time. Regards /Robert ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user