Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751458AbYC3EYg (ORCPT ); Sun, 30 Mar 2008 00:24:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750800AbYC3EY0 (ORCPT ); Sun, 30 Mar 2008 00:24:26 -0400 Received: from gherkin.frus.com ([192.158.254.49]:42061 "EHLO gherkin.frus.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbYC3EYZ (ORCPT ); Sun, 30 Mar 2008 00:24:25 -0400 Subject: Re: [alsa-devel] [regression] 2.6.25-rc4 snd-es18xx broken on Alpha In-Reply-To: <47E7EFDF.2070706@keyaccess.nl> "from Rene Herman at Mar 24, 2008 07:15:59 pm" To: Rene Herman Date: Sat, 29 Mar 2008 23:24:13 -0500 (CDT) CC: Michael Cree , Bob Tracy , Takashi Iwai , ALSA devel , linux-kernel@vger.kernel.org, Ivan Kokshaysky , linux-alpha@vger.kernel.org, Krzysztof Helt X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20080330042413.BB1A3DBA2@gherkin.frus.com> From: rct@frus.com (Bob Tracy) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2231 Lines: 49 Rene Herman wrote: > There's a patch attached that disables mmap on MIATA. You and Bob seem to be > experiencing problems of a different nature (or severity at the least) but > for both of you it would be good to hear what applying this and then playing > using "aplay -D hw foo.wav" (on the miata systems, ofcourse) brings. > > (...) > > The mmap thing is sort of the last hickup to be expected from me -- having > no Alpha machines and with trouble not isolated to a specific driver nor > Alpha model, this would at that point ideally want someone with some more > specific Alpha insights to step in. > > (...) > > diff --git a/include/sound/asound.h b/include/sound/asound.h > index 3eaf155..e3b9c2d 100644 > --- a/include/sound/asound.h > +++ b/include/sound/asound.h > @@ -241,8 +241,14 @@ typedef int __bitwise snd_pcm_subformat_t; > #define SNDRV_PCM_SUBFORMAT_STD ((__force snd_pcm_subformat_t) 0) > #define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD > > +#ifdef CONFIG_ALPHA_MIATA > +#define SNDRV_PCM_INFO_MMAP 0 /* the useful comment goes here */ > +#define SNDRV_PCM_INFO_MMAP_VALID 0 > +#else > #define SNDRV_PCM_INFO_MMAP 0x00000001 /* hardware supports mmap */ > #define SNDRV_PCM_INFO_MMAP_VALID 0x00000002 /* period data are valid during transfer */ > +#endif > + > #define SNDRV_PCM_INFO_DOUBLE 0x00000004 /* Double buffering needed for PCM start/stop */ > #define SNDRV_PCM_INFO_BATCH 0x00000010 /* double buffering */ > #define SNDRV_PCM_INFO_INTERLEAVED 0x00000100 /* channels are interleaved */ Late this evening I starting building a kernel with the above patch applied. It should be ready for testing sometime tomorrow. Sorry for the delay. -- ------------------------------------------------------------------------ Bob Tracy | "I was a beta tester for dirt. They never did rct@frus.com | get all the bugs out." - Steve McGrew on /. ------------------------------------------------------------------------ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/