From: James Pearson <james-p@moving-picture.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Problems with 32 bit apps on 64 bit OS using dmix and snd-ioctl32
Date: Wed, 05 Sep 2007 17:54:35 +0100 [thread overview]
Message-ID: <46DEDF4B.7050108@moving-picture.com> (raw)
In-Reply-To: <s5hk5r56qin.wl%tiwai@suse.de>
Takashi Iwai wrote:
>>
>>OK, I'll do a bit more poking about to see if I can get 1.0.15rc1 to
>>build ...
>>
>>Thanks
>>
>>James Pearson
>>
>>Configure output:
>>
>># ./configure --with-redhat=yes
>
>
> The output looks OK to me.
> Does the patch (to alsa-driver tree) fix the problem?
>
>
> Takashi
>
> diff -r adfe4179d670 misc/ac97_bus.c
> --- a/misc/ac97_bus.c Fri Aug 31 12:22:35 2007 +0200
> +++ b/misc/ac97_bus.c Wed Sep 05 18:09:42 2007 +0200
> @@ -1,1 +1,3 @@
> +#include <sound/driver.h>
> +#include <sound/core.h>
> #include "../alsa-kernel/ac97_bus.c"
Yes ... I did something similar - copied in ../alsa-kernel/ac97_bus.c
and patched with alsa-driver-1.0.13/pci/ac97/ac97_bus.patch - which
makes it compile - it bombs out later on some of the soc/ code - but as
nothing similar exists in 1.0.13, I just skipped that with 'make -i' ...
However, with these 1.0.15rc1 modules installed, and using
alsa-lib-1.0.15rc1, I get exactly the same problem with 32 bit apps:
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: pcm_write:1268: write error: Invalid argument
amd dmesg has:
ioctl32(aplay:6228): Unknown cmd fd(3) cmd(40045402){00} arg(ffffac98)
on /dev/snd/timer
ioctl32(aplay:6228): Unknown cmd fd(5) cmd(c008551a){00} arg(0806ccd0)
on /dev/snd/controlC0
ioctl32(aplay:6228): Unknown cmd fd(5) cmd(c008551b){00} arg(0806ccd0)
on /dev/snd/controlC0
ioctl32(aplay:6228): Unknown cmd fd(3) cmd(000054a0){00} arg(00000325)
on /dev/snd/timer
James Pearson
next prev parent reply other threads:[~2007-09-05 16:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-05 11:10 Problems with 32 bit apps on 64 bit OS using dmix and snd-ioctl32 James Pearson
2007-09-05 12:51 ` Takashi Iwai
2007-09-05 14:38 ` James Pearson
2007-09-05 15:23 ` Takashi Iwai
2007-09-05 15:36 ` James Pearson
2007-09-05 16:11 ` Takashi Iwai
2007-09-05 16:54 ` James Pearson [this message]
2007-09-05 17:11 ` Takashi Iwai
2007-09-06 10:26 ` James Pearson
2007-09-06 10:51 ` Takashi Iwai
2007-09-06 11:56 ` James Pearson
2007-09-06 12:08 ` Takashi Iwai
2007-09-06 12:15 ` James Pearson
2007-09-06 13:06 ` Takashi Iwai
2007-09-11 21:56 ` James Pearson
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=46DEDF4B.7050108@moving-picture.com \
--to=james-p@moving-picture.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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.