> > > >about the secondary codec on terratec xfire: it's still not detected. >could you test the latest cvs driver? i'm afraid that i did something >wrong in merging... >
I've done a quick test with the CVS code now, and it seems to work just fine, i just got some newbie questions, how do activate CONFIG_SND_CS46XX without modifying the Makefile?, how do I activate the snd_printd ? , (without modifying config.h) About the secondary codec on the terratex xfire card, can we try to trace exactly where it failed to detect it, I would like to know. On the "Turtle Beach Santa Cruz" now i know that GPIO7/GPIO8 on sec. codec controls back speakers, that's not done yet, But I would like to know if current code at least detects the secondary CODEC successfully. In theory it should. I would like to build a list with card and of DSP and codec (only cs46xx cards), please helpme to complete this list. Hercules Game Theater XP dsp: cs4630 primary codec: cs4294 secondary codec: cs4294 EPGIO2 controls ext. amplifier Turtle Beach Santa Cruz dsp: cs4630 primary codec: cs4294 secondary codec: cs4297A GPIO7/GPIO8 on secondary codec controls back speakers support Terratec XFIRE: dsp: cs4630 primary codec: ???? secondary codec: ???? ???? .... A small fix to cs46xx_lib.c, it does not make any sense calling playback_transfer before the PCMreader is linked or Playback controll register set to 0. && I would like to update the TODO text to something else. --- ../../cvs_ref/alsa-kernel/pci/cs46xx/cs46xx_lib.c Thu Aug 1 14:30:52 2002 +++ alsa-kernel/pci/cs46xx/cs46xx_lib.c Fri Aug 2 07:22:34 2002 @@ -8,11 +8,11 @@ * -- * * TODO: - * We need a DSP code to support multichannel outputs and S/PDIF. - * Unfortunately, it seems that Cirrus Logic, Inc. is not willing - * to provide us sufficient information about the DSP processor, - * so we can't update the driver. + * SPDIF input. + * Secondary CODEC on some soundcards * + * NOTE: with CONFIG_SND_CS46XX_NEW_DSP unset uses old DSP image (which is default + * configuration), no SPDIF, no secondary codec, no multi channel PCM. But known to work. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -334,7 +334,6 @@ #ifdef CONFIG_SND_CS46XX_NEW_DSP -// #include "imgs/cwcemb80.h" #include "imgs/cwc4630.h" #include "imgs/cwcasync.h" #include "imgs/cwcsnoop.h" @@ -880,8 +879,6 @@ switch (cmd) { case SNDRV_PCM_TRIGGER_START: case SNDRV_PCM_TRIGGER_RESUME: - if (substream->runtime->periods != CS46XX_FRAGS) - snd_cs46xx_playback_transfer(substream, 0); #ifdef CONFIG_SND_CS46XX_NEW_DSP if (cpcm->pcm_channel->unlinked) cs46xx_dsp_pcm_link(chip,cpcm->pcm_channel); @@ -892,6 +889,8 @@ snd_cs46xx_poke(chip, BA1_PCTL, chip->play_ctl | tmp); } #endif + if (substream->runtime->periods != CS46XX_FRAGS) + snd_cs46xx_playback_transfer(substream, 0); break; case SNDRV_PCM_TRIGGER_STOP: case SNDRV_PCM_TRIGGER_SUSPEND: ------------------------------------------------------- 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