From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ali5451.c: M5451 info needed Date: Mon, 23 May 2005 12:17:17 +0200 Message-ID: References: <20050522001953.GG27978@tecr> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20050522001953.GG27978@tecr> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Sasha Khapyorsky Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Sun, 22 May 2005 03:19:53 +0300, Sasha Khapyorsky wrote: > > Hi, > > I'm trying now to add MC97 modem support for ALi M5451 (ali5451.c driver). > There is preliminary patch attached (not for inclusion yet: at least > big clean up is needed). I don't have device data sheets and patch was > based on existed audio code. > > Basically it works in both directions playback and capture. But dma is > configured so that interrupt is generated at middle of buffer regardless to > period_size value. Same story with audio capture. > > Anybody know how to config M5451 dma so that it will be able to work > with multiple blocks and generate interrupts at period_size (if possible)? > And/or may point me to data sheet or at least M5451 dma related info? I don't know of the datasheet of this chipset. IIRC, we got a source code from Acer, but not a datasheet. Anyway, ali5451 looks pretty similar with Trident 4D DX/NX. The chip supports only 2 fixed periods. If you need more periods, allocate an extra voice with the period size and let it generating interrupts but not producing sounds. Takashi ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click