Re: [linux-audio-user] permissions of /proc/asound/card1/pcm0p/oss

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] permissions of /proc/asound/card1/pcm0p/oss
From: Clemens Ladisch (clemens_AT_ladisch.de)
Date: Fri Apr 23 2004 - 19:38:23 EEST


Atte André Jensen wrote:
> I cannot figure out how to automatically set permissions of
> /proc/asound/card1/pcm0p/oss. I tried Having the line
>
> options snd major=116 cards_limit=4 device_mode=0660
>
> in /etc/modutils/alsa, but alsa won't come up, saying: "Unknown symbol
> device_mode".

This is only for device nodes in /dev/, if devfs is enabled.

> Is there a new way of setting the permissions of
> /proc/asound/card1/pcm0p/oss or /proc in general???

There is no way, except changing ALSA's source code.

The permissions of pcmxx/oss are set in the snd_pcm_oss_proc_init()
function in alsa-kernel/core/oss/pcm_oss.c (entry->mode).

Regards,
Clemens


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Apr 23 2004 - 19:36:08 EEST