I still didn't solve the problem. I put some printf/printk into the kernel and alsa lib and I discovered the size of snd_ctl_elem_value is different: kernel (2.6.29-3): 712 bytes alsa-lib: 708 bytes I changed the CFLAGS and CPPFLAGS either into the kernel and into alsa, but I can't manage to make the struct have the same size. Any hint? Thanks in advance, Marco On Tue, May 11, 2010 at 2:44 PM, Marco <iz8aeb@xxxxxxxxx> wrote: > I cross compiled alsa-lib and alsa-utils for an atmel at91sam9260 platform, > ALSA Driver Version 1.0.18a and alsa-lib/utils 1.0.13 or 1.0.19. > > When trying to use amixer I get the following error: > > ALSA sound/core/control.c:1222: unknown ioctl = 0xc2c45512 > amixer: Mixer default load error: Inappropriate ioctl for device > > I read that the issue may be due to mismatches in structure sizes in kernel > and alsa-lib, so I rebuilt alsa using the switches suggested here: > > http://alsa.opensrc.org/index.php/TroubleShooting#Check_the_ALSA_driver_version > > but same results. > > Any solution? > > Thanks, > Marco > ------------------------------------------------------------------------------ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user