[alsa-devel] Playback open error: Inappropriate ioctl for device

Clemens Ladisch clemens at ladisch.de
Mon Jul 19 13:07:52 CEST 2010


John Simpson wrote:
> [1|user at Nokia-N810-43-7|~/alsa-lib-1.0.23/test]cc -lasound control.c -o control

These test programs can be compiled with "make check".

> [1|user at Nokia-N810-43-7|~/alsa-lib-1.0.23/test]./control
>   PCM next device error: Inappropriate ioctl for device

On embedded devices, this usually happens when the library is not
compiled with the same machine architecture options as the kernel,
which makes some structures have a different size due to different
sizes for 'long' or different alignment.


Regards,
Clemens


More information about the Alsa-devel mailing list