* cs46xx patch for XFire 4channel output not in cvs?
@ 2003-05-10 18:16 Friedrich Ewaldt
0 siblings, 0 replies; only message in thread
From: Friedrich Ewaldt @ 2003-05-10 18:16 UTC (permalink / raw)
To: Benny Sjostrand; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
Hi,
as I looked into the current cvs, I noticed that the patch enabling
4channel output for the Terratec DMX XFire didn't make it into the
source tree.
I attached once again Benny's patch from 5th or 6th of april, with one
minor change:
I changed the value 0x5d2d to 0x592d as Benny asked me to when I tested
the patch.
The attached patch applies without problems to cvs snapshot from 6th of may.
thanks,
fe
[-- Attachment #2: cs46xx_lib.patch --]
[-- Type: text/plain, Size: 832 bytes --]
--- alsa-kernel/pci/cs46xx/cs46xx_lib.c Sat Apr 5 21:09:20 2003
+++ ../cvs/alsa-kernel/pci/cs46xx/cs46xx_lib.c Sat Apr 5 21:22:58 2003
@@ -2543,13 +2543,21 @@
chip->eapd_switch = snd_ctl_find_id(chip->card, &id);
#ifdef CONFIG_SND_CS46XX_NEW_DSP
+ if (chip->nr_ac97_codecs == 1 &&
+ snd_cs46xx_codec_read(chip,AC97_VENDOR_ID2,
+ CS46XX_PRIMARY_CODEC_INDEX) == 0x592d) {
+ /* set primary cs4294 codec into Extended Audio Mode */
+ snd_printdd("setting EAM bit on cs4294 CODEC\n");
+ snd_cs46xx_codec_write(chip,AC97_CSR_ACMODE,0x200,
+ CS46XX_PRIMARY_CODEC_INDEX);
+ }
/* do soundcard specific mixer setup */
if (chip->mixer_init) {
snd_printdd ("calling chip->mixer_init(chip);\n");
chip->mixer_init(chip);
}
#endif
-
+
/* turn on amplifier */
chip->amplifier_ctrl(chip, 1);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-10 18:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10 18:16 cs46xx patch for XFire 4channel output not in cvs? Friedrich Ewaldt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox