Clement,
Are sure about this ?
The ioctl is called from /src/control/control_hw.c inside
snd_ctl_hw_elem_replace and this is for hardware controls.
At kernel level the iotcl point onto ./sound/core/control.c and calls
snd_ctl_elem_add_user(ctl, argp, 1) that itself calls snd_ctl_elem_add
Looking at this code I do not understand why the replace iotcl is
refused. Nevertheless it seems more to come from some lacking data in ly
ctrlinfo than because of access right (I'm testing as root)
Fulup
On 03/07/17 16:29, Clemens Ladisch wrote:
Fulup Ar Foll wrote:
I try to rename existing sound control from userspace.
This is allowed only for user controls, i.e., controls that were added
from userspace.
Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel