From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Playback open error: Inappropriate ioctl for device Date: Mon, 19 Jul 2010 13:07:52 +0200 Message-ID: <4C443208.8070202@ladisch.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by alsa0.perex.cz (Postfix) with ESMTP id 187EF103819 for ; Mon, 19 Jul 2010 13:08:04 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: john@swajime.com Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org John Simpson wrote: > [1|user@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@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