All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: john@swajime.com
Cc: alsa-devel@alsa-project.org
Subject: Re: Playback open error: Inappropriate ioctl for device
Date: Mon, 19 Jul 2010 13:07:52 +0200	[thread overview]
Message-ID: <4C443208.8070202@ladisch.de> (raw)
In-Reply-To: <AANLkTiksTz_s2bOJCZbQrJFA4XHifG5vA2mT_IGs5rVt@mail.gmail.com>

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

  reply	other threads:[~2010-07-19 11:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-18  6:13 Playback open error: Inappropriate ioctl for device John Simpson
2010-07-19 11:07 ` Clemens Ladisch [this message]
2010-07-19 17:16   ` John Simpson
2010-07-19 23:37     ` John Simpson
2010-07-21  5:17       ` John Simpson
2010-08-03 20:06         ` John Simpson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C443208.8070202@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=john@swajime.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.