Adam Jones wrote:
>On 23-Feb-02, Ola Andersson wrote:
>
>>When I start Muse (a midi sequenser) I get
>>
>>ALSA lib pcm_hw.c:597:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
>>tkomst nekas ("tkomst nekas" meens "Access denied")
>>
>>I don't seem to be able to play sound with ALSA (only the OSS
>>compatibility seem to work)
>>
>
>This sounds like a file permissions problem. You probably have
>permissions to write to /dev/dsp but not to /proc/asound/dev/*
>
The other way around....
[root@ola etc]# ls -l /dev/dsp
lr-xr-xr-x 1 root root 9 feb 24 17:13 /dev/dsp ->
sound/dsp
[root@ola etc]# ls -l /proc/asound/dev/*
crw-rw-rw- 1 root root 116, 0 feb 24 19:44
/proc/asound/dev/controlC0
crw-rw-rw- 1 root root 116, 4 feb 24 19:44
/proc/asound/dev/hwC0D0
crw-rw-rw- 1 root root 116, 8 feb 24 19:44
/proc/asound/dev/midiC0D0
crw-rw-rw- 1 root root 116, 9 feb 24 19:44
/proc/asound/dev/midiC0D1
crw-rw-rw- 1 root root 116, 10 feb 24 19:44
/proc/asound/dev/midiC0D2
crw-rw-rw- 1 root root 116, 24 feb 24 19:44
/proc/asound/dev/pcmC0D0c
crw-rw-rw- 1 root root 116, 16 feb 24 19:44
/proc/asound/dev/pcmC0D0p
crw-rw-rw- 1 root root 116, 25 feb 24 19:44
/proc/asound/dev/pcmC0D1c
crw-rw-rw- 1 root root 116, 26 feb 24 19:44
/proc/asound/dev/pcmC0D2c
crw-rw-rw- 1 root root 116, 19 feb 24 19:44
/proc/asound/dev/pcmC0D3p
crw-rw-rw- 1 root root 116, 1 feb 24 19:44 /proc/asound/dev/seq
crw-rw-rw- 1 root root 116, 33 feb 24 19:44
/proc/asound/dev/timer
[root@ola etc]#
>
>Try using the snd_device_uid= and snd_device_gid= options to the snd
>module in modules.conf. (Perhaps make a "sound" group in /etc/group,
>put yourself in it, and use snd_device_gid=<id of sound group>) Then do
>a "depmod -a" and reload the sound modules.
>
I already have a group "audio" with number 81. I added option
snd_device_gui=81 to modules.conf and rebooted my system. Still access
denied.
Any other known pitfalls?
btw, running muse as root gets me a litle bit further. No Access denied,
but otoh no sound when playing a midifile....
/Ola A
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user