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

John Simpson john at swajime.com
Mon Jul 19 19:16:40 CEST 2010


On 7/19/10, Clemens Ladisch <clemens at ladisch.de> wrote:
> 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".

Thanks!  I needed that :-D
Works good on my ubuntu system.

>
>> [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.

Somewhere in the mess, I bricked my n810.
I'm trying this time with
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/alsa-lib/test/?root=dsp-alsa
but I'm still having no success ( see inquiry at
https://garage.maemo.org/pipermail/dsp-alsa-user/2010-July/000002.html
)

j


More information about the Alsa-devel mailing list