RE: [Alsa-devel] problem while opening device

2004-04-06 Thread Gupta, Kshitij
hi Jaroslav, This file is present. The only other thing which I wanted to bring into your notice is that the file system we are using is a busybox file system, with no bash. Instead it has smaller shell ash. Will that make a difference. And this file /usr/share/alsa/alsa.conf is only

RE: [Alsa-devel] buffer producer/consumer sync

2004-03-30 Thread Gupta, Kshitij
: Tuesday, March 09, 2004 5:17 PM To: Gupta, Kshitij Cc: Jaroslav Kysela; [EMAIL PROTECTED] Subject: Re: [Alsa-devel] buffer producer/consumer sync On Tue, Mar 09, 2004 at 05:03:37PM +0530, Gupta, Kshitij wrote: I was referring to a ARM implementation in the ALSA tree for our ALSA driver

[Alsa-devel] RE: compilation problem 3.4.0 gcc toolchain / armv6 / 2.6.0-rmk1 kernel

2004-03-30 Thread Gupta, Kshitij
/pcm_plugin.o] Error 1 make[2]: *** [sound/core/oss] Error 2 make[1]: *** [sound/core] Error 2 make: *** [sound] Error 2 -Original Message- From: Gupta, Kshitij Sent: Wednesday, March 31, 2004 12:13 PM To: [EMAIL PROTECTED] Subject: compilation problem 3.4.0 gcc toolchain / armv6 / 2.6.0-rmk1

RE: FW: [Alsa-devel] DMA producer/consumer

2004-03-12 Thread Gupta, Kshitij
- From: Jaroslav Kysela [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 11:30 PM To: Takashi Iwai Cc: Gupta, Kshitij; [EMAIL PROTECTED] Subject: Re: FW: [Alsa-devel] DMA producer/consumer On Thu, 11 Mar 2004, Takashi Iwai wrote: At Thu, 11 Mar 2004 18:43:39 +0100 (CET), Jaroslav wrote

RE: FW: [Alsa-devel] DMA producer/consumer

2004-03-12 Thread Gupta, Kshitij
to check this before queueing a next period. regards -kshitij -Original Message- From: Jaroslav Kysela [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:03 PM To: Gupta, Kshitij Cc: Takashi Iwai; [EMAIL PROTECTED] Subject: RE: FW: [Alsa-devel] DMA producer/consumer On Fri, 12 Mar 2004

RE: FW: [Alsa-devel] DMA producer/consumer

2004-03-12 Thread Gupta, Kshitij
need to use appl_ptr , which you said is a bad idea. regards -kshitij ps: the assumptions you said about small fifo and DMA engine are also true -Original Message- From: Jaroslav Kysela [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:19 PM To: Gupta, Kshitij Cc: Takashi Iwai

RE: FW: [Alsa-devel] DMA producer/consumer

2004-03-12 Thread Gupta, Kshitij
are getting underruns consistently, even with very small period size (about 1k). regards -kshitij -Original Message- From: Jaroslav Kysela [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:45 PM To: Gupta, Kshitij Cc: Takashi Iwai; [EMAIL PROTECTED] Subject: RE: FW: [Alsa-devel] DMA

[Alsa-devel] DMA producer/consumer

2004-03-10 Thread Gupta, Kshitij
hi, A typical core pcm playback flow (simplified for representation) static void arch_pcm_start_dma(struct arch_pcm_runtime *s) { ... ret = __arch_start_dma(s-dma_ch, pos, s-dma_size); ... ssr-dma_pos = pos; } static void

FW: [Alsa-devel] DMA producer/consumer

2004-03-10 Thread Gupta, Kshitij
Any comments on this would be really helpful... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gupta, Kshitij Sent: Wednesday, March 10, 2004 5:06 PM To: [EMAIL PROTECTED] Subject: [Alsa-devel] DMA producer/consumer hi, A typical core pcm

[Alsa-devel] buffer producer/consumer sync

2004-03-09 Thread Gupta, Kshitij
Title: buffer producer/consumer sync hi , While debugging my alsa driver , some observations... The flow goes like this - cat test.raw /dev/pcm - Middle layer fills up the buffer (size = period_size). Why does middle layer only fills up period_size ?? - ...(open / init etc) -

RE: [Alsa-devel] buffer producer/consumer sync

2004-03-09 Thread Gupta, Kshitij
09, 2004 3:48 PM To: Jaroslav Kysela Cc: Gupta, Kshitij; [EMAIL PROTECTED] Subject: Re: [Alsa-devel] buffer producer/consumer sync On Tue, Mar 09, 2004 at 10:53:57AM +0100, Jaroslav Kysela wrote: On Tue, 9 Mar 2004, Gupta, Kshitij wrote: Can someone comment on this and guide a little bit

RE: [Alsa-devel] buffer producer/consumer sync

2004-03-09 Thread Gupta, Kshitij
] [mailto:[EMAIL PROTECTED] Behalf Of Gupta, Kshitij Sent: Tuesday, March 09, 2004 4:11 PM To: 'Russell King'; Jaroslav Kysela Cc: [EMAIL PROTECTED] Subject: RE: [Alsa-devel] buffer producer/consumer sync hi, Just for your information we are using OSS PCM emulation. And let me also first

[Alsa-devel] runtime-dma_addr

2004-03-03 Thread Gupta, Kshitij
hi, Can someone please explain me what is the difference between runtime-dma_addr and runtime-dma_area where runtime = substream-runtime I am getting a very strange problem where I am getting a rumtime-dma_addr value as 0 while runtime-dma_area is a proper value. Any hints will be

RE: [Alsa-devel] Dma query

2004-02-26 Thread Gupta, Kshitij
hi, Any insights will be really helpful :) . regards -kshitij -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gupta, Kshitij Sent: Wednesday, February 25, 2004 4:59 PM To: 'Jaroslav Kysela' Cc: [EMAIL PROTECTED] Subject: RE: [Alsa-devel] Dma query

RE: [Alsa-devel] Dma query

2004-02-26 Thread Gupta, Kshitij
-Original Message- From: Jaroslav Kysela [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 4:57 PM To: Gupta, Kshitij Cc: [EMAIL PROTECTED] Subject: RE: [Alsa-devel] Dma query On Thu, 26 Feb 2004, Gupta, Kshitij wrote: hi , That's correct the pages will be in whole meory space and I

[Alsa-devel] Dma query

2004-02-25 Thread Gupta, Kshitij
hi, I have a very trivial question about the dma transfers with respect to ALSA framework. Let me first explain a scenario We have a Circularly linked Buffer pool buf1buf2buf3 buf4 bufn In very simple terms playing an audio stream is reading from these buffers and

RE: [Alsa-devel] Dma query

2004-02-25 Thread Gupta, Kshitij
Thanx for the detailslet me just figure out the full flow and then come with some more queries ;)... -Original Message- From: Giuliano Pochini [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 4:23 PM To: Gupta, Kshitij Cc: [EMAIL PROTECTED] Subject: Re: [Alsa-devel] Dma

RE: [Alsa-devel] new alsa driver for ti omap chip

2004-02-12 Thread Gupta, Kshitij
start_dma queue_dma stop_dma ... And all the ALSA based functions for init, read , write etc. regards -kshitij -Original Message- From: Jaroslav Kysela [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 4:53 PM To: Takashi Iwai Cc: Gupta, Kshitij; '[EMAIL

[Alsa-devel] new alsa driver for ti omap chip

2004-02-11 Thread Gupta, Kshitij
hi, I am trying to write an alsa driver for a tsc2101 codec on a arm based SOC. The control interface between the SOC and the tsc2101 codec is via SPI. And the data interface is a I2S interface. Can some one suggest a good starting point to start such a driver. does