From: Takashi Iwai <tiwai@suse.de>
To: Juergen Kreileder <jk@blackdown.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ioctl32 on ppc64
Date: Tue, 14 Sep 2004 12:39:48 +0200 [thread overview]
Message-ID: <s5hoek9rv63.wl@alsa2.suse.de> (raw)
In-Reply-To: <87fz5notfg.fsf@blackdown.de>
At Mon, 13 Sep 2004 03:21:07 +0200,
Juergen Kreileder wrote:
>
> Hi,
>
> I'm trying to get an Audigy NX working with a ppc64 kernel (2.6.9-rc1)
> and 32-bit userland. ALSA seems to work fine (except for dmix) with
> 32-bit kernels + 32-bit userland and 64-bit kernels + 64 userland.
>
> With mixed a mixed 32-bit/64-bit environment I wasn't able to run
> alsactl/amixer/alsamixer initially:
>
> ,----
> | ioctl32(alsactl:2581): Unknown cmd fd(3) cmd(c2c85513){02} arg(ffffe6e0) on /dev/snd/controlC0
> | ioctl32(amixer:2582): Unknown cmd fd(3) cmd(c2c85512){02} arg(ffffe180) on /dev/snd/controlC0
> | ioctl32(alsactl:2584): Unknown cmd fd(3) cmd(c2c85513){02} arg(ffffe6e0) on /dev/snd/controlC0
> `----
>
> After removing the packed attribute from struct sndrv_ctl_elem_value32,
> 32-bit alsactl and alsamixer seem to work fine.
Thanks, I'll apply it after checking on x86-64 environment.
> I also can play 48000 Hz wav files with 32-bit aplay now, but playing
> 41000 Hz stuff only works directly to hw:0,0 (sounds broken).
> Doing rate conversion with a plugin defined in .asoundrc works for the
> pure 32-bit and 64-bit cases but not for the mixed 32-bit/64-bit case,
> it fails with "ALSA lib pcm_hw.c:549:(snd_pcm_hw_start)
> SNDRV_PCM_IOCTL_START failed: Broken pipe":
This is likely a problem of size incompatibility of mmapped records.
Sigh, this is a bit touch to fix...
> BTW, is anybody working on a driver for the built-in soundcard of the
> PowerMac G5?
I'd like to do but no time, so far (also no machine). Sorry.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
next prev parent reply other threads:[~2004-09-14 10:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-13 1:21 ioctl32 on ppc64 Juergen Kreileder
2004-09-13 23:38 ` Juergen Kreileder
2004-09-14 10:39 ` Takashi Iwai [this message]
2004-09-14 14:00 ` Takashi Iwai
2004-09-14 14:30 ` Takashi Iwai
2004-09-14 15:11 ` Juergen Kreileder
2004-09-15 9:31 ` Takashi Iwai
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=s5hoek9rv63.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=jk@blackdown.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.