[alsa-devel] ioctl(fd, SNDRV_CTL_IOCTL_ELEM_REPLACE, ... not working from userspace ?

Clemens Ladisch clemens at ladisch.de
Mon Jul 3 17:10:50 CEST 2017


Fulup Ar Foll wrote:
> Looking at this code I do not understand why the replace iotcl is refused.

	if (!(kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_USER)) {
		ret = -EINVAL;

Kernel drivers do not expect that their own controls change.


Regards,
Clemens


More information about the Alsa-devel mailing list