[alsa-devel] alsa-lib, dmix, and snd_pcm_open_conf function

Jaroslav Kysela perex at perex.cz
Tue Sep 2 07:51:02 CEST 2008

On Mon, 1 Sep 2008, Simon Tremblay wrote:

> Hi, 
> I have a problem using dmix on my embedded system (manual installation of
> alsa-lib 1.0.15)
> When I play a sound with aplay, it works well.
> When I try -D dmix or -D plug:dmix parameter, it doesn't work. 
> The output is: 
> aplay: main:547: audio open error: Operation not permitted

strace will help you. I would look to ipc permissions (alsa.conf):

defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660


Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

More information about the Alsa-devel mailing list