[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080330042413.BB1A3DBA2@gherkin.frus.com>
Date: Sat, 29 Mar 2008 23:24:13 -0500 (CDT)
From: rct@...s.com (Bob Tracy)
To: Rene Herman <rene.herman@...access.nl>
CC: Michael Cree <mcree@...on.net.nz>, Bob Tracy <rct@...s.com>,
Takashi Iwai <tiwai@...e.de>,
ALSA devel <alsa-devel@...a-project.org>,
linux-kernel@...r.kernel.org,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
linux-alpha@...r.kernel.org, Krzysztof Helt <krzysztof.h1@...pl>
Subject: Re: [alsa-devel] [regression] 2.6.25-rc4 snd-es18xx broken on Alpha
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@...s.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists