From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: More CS4630, secondary CODEC output. Date: Thu, 01 Aug 2002 11:40:31 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3D41D4DC.60004@cucumelo.org> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id LAA03631 for ; Thu, 1 Aug 2002 11:40:55 +0200 In-Reply-To: <3D41D4DC.60004@cucumelo.org> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Benny Sjostrand Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi Benny, At Sat, 27 Jul 2002 01:01:48 +0200, Benny Sjostrand wrote: > > Hi again! > > Seems there's quite big interest in the cs46xx stuff. Finally i've been > able to have output from > the rear channel on the secondary CODEC. For the moment the output are > same on both > rear and front channels, but it's possible to create a secondary .WAV > device and > transfer two independent DMA channels to front and rear, and I believe > that I know > how to do that, but that will require some more work and some drastic > changes in cs46xx_lib.c. > > It was not easy to find out how to probe and speak to the secondary CODEC, > it has to be done different with AC97 2.0 and AC97 1.03 codecs, on AC97 1.03 > I believe that codec_write && codec_read fucntions cant be the same so > for the moment > (probably) only cards with AC97 2.0 codecs will work. I've only tested > this with "Hercules Game Theater", > probably there will be a lot of strange behaviours with other soundcards. > > Now the "Game Theater XP" got two CS294 codecs, and now the ALSA mixer > got two elements > of almost everything, where about a 70% of all controls in the mixer are > probably totally meaningless, > controlling stuffs that are not conected to CODEC any suggestions about > what to do with this ??? > It dont not feel necesary to have two Master volumes ... > > Heres my new snaphot, you are welcome to test it out: > http://www.cucumelo.org/~gorm/alsa-driver-0.9.0rc2-bs20020727.tar.gz > http://www.cucumelo.org/~gorm/alsa-driver-0.9.0rc2-bs20020727.diff.gz I merged your codes into the cvs. The codes are almost identical except for small bugfixes, re-indentation, and replacement of debug printing. To be sure, the old dsp image is still chosen unless CONFIG_SND_CS46XX_NEW_DSP is set to yes. For compiling the new dsp image, please remove the comments in alsa-driver/pci/cs46xx/Makefile. The driver seems working on TerraTec DMX XFire. The status is: - OK: The first codec - OK: SPDIF playback (audio) - NG: SPDIF AC3 (non-audio) - NG: The secondary codec, not detected. Anyway, thanks for your work! Please send patches againt cvs if you modify the driver more, so that I can commit it soon. ciao, Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf