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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel