experimental [PATCH] cs46xx, yet another try to fix the Santa Cruz rear ouput
Quoted 4 lines · On 2002.11.01 17:09 Benny Sjostrand wrote:
Hi!
This is yet another fustrating try to make the rear output working again on the Santa Cruz board.
The patch applied flawlessly to the newest CVS, and rear-out now
works with the Turtle Beach Santa Cruz (as well as the VideoLogic Sonic Fury, as it is the same card under a different name).
Thanks Benny,
-- Peter Heatwole
"Murphy was just a well known pessimist."
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Hi!
This is yet another fustrating try to make the rear output working again on the Santa Cruz board. This biggest change with this patch is that the CODEC's are setup before starting and downloading code to the DSP.
I've been experimenting a little bit accesing the cs4630 FIFO's via the backdoor and it seems like to not success when DSP is running, so starting DSP after enabling GPIO7 and GPIO8 on the secondary CODEC I hope that stuff works.
NOTE: this patch is very experimental and only relevant for Santa Cruz users for the moment.
/Benny
cvs/alsa-kernel/include/cs46xx.h renamed from include/cs46xx.h +1 -0
@@ -1766,6 +1766,7 @@int snd_cs46xx_pcm_iec958 (cs46xx_t *chip,int device,snd_pcm_t **rpcm);int snd_cs46xx_mixer (cs46xx_t *chip);int snd_cs46xx_midi (cs46xx_t *chip,int device,snd_rawmidi_t **rmidi); +int snd_cs46xx_start_dsp (cs46xx_t *chip);void snd_cs46xx_gameport (cs46xx_t *chip);#ifdef CONFIG_PM
cvs/alsa-kernel/pci/cs46xx/cs46xx.c renamed from pci/cs46xx/cs46xx.c +14 -8
@@ -110,14 +110,14 @@snd_card_free (card);return err; } -if ((err =snd_cs46xx_pcm_rear (chip,1 ,NULL )) <0 ) { -snd_card_free (card); -return err; - } -if ((err =snd_cs46xx_pcm_iec958 (chip,2 ,NULL )) <0 ) { -snd_card_free (card); -return err; - } +if ((err =snd_cs46xx_pcm_rear (chip,1 ,NULL )) <0 ) { +snd_card_free (card); +return err; + } +if ((err =snd_cs46xx_pcm_iec958 (chip,2 ,NULL )) <0 ) { +snd_card_free (card); +return err; + }if ((err =snd_cs46xx_mixer (chip)) <0 ) {snd_card_free (card);return err;
@@ -126,6 +126,12 @@snd_card_free (card);return err; } +if ((err =snd_cs46xx_start_dsp (chip)) <0 ) { +snd_card_free (card); +return err; + } + +snd_cs46xx_gameport (chip);strcpy (card->driver,"CS46xx" );
cvs/alsa-kernel/pci/cs46xx/cs46xx_lib.c renamed from pci/cs46xx/cs46xx_lib.c +59 -24
171 lines not on this page · raw message