From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ioctl32 on ppc64 Date: Tue, 14 Sep 2004 12:39:48 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <87fz5notfg.fsf@blackdown.de> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <87fz5notfg.fsf@blackdown.de> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Juergen Kreileder Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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