From: Benny Sjostrand <gorm@cucumelo.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: More CS4630, secondary CODEC output.
Date: Fri, 02 Aug 2002 07:51:27 +0200 [thread overview]
Message-ID: <3D4A1DDF.2090404@cucumelo.org> (raw)
In-Reply-To: s5hptx2agxp.wl@alsa2.suse.de
>
>
>
>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
next prev parent reply other threads:[~2002-08-02 6:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-26 23:01 More CS4630, secondary CODEC output Benny Sjostrand
2002-07-27 0:36 ` Peter Heatwole
2002-07-27 7:02 ` Benny Sjostrand
2002-07-27 15:13 ` Frank van de Pol
2002-07-27 16:13 ` Peter Heatwole
2002-08-01 1:14 ` Peter Heatwole
2002-08-01 9:40 ` Takashi Iwai
2002-08-01 9:39 ` Benny Sjostrand
2002-08-01 10:57 ` Takashi Iwai
2002-08-01 12:42 ` Takashi Iwai
2002-08-01 12:57 ` Benny Sjostrand
2002-08-02 5:51 ` Benny Sjostrand [this message]
2002-08-02 10:14 ` Takashi Iwai
2002-08-02 15:47 ` Peter Heatwole
2002-08-02 18:16 ` Benny Sjostrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D4A1DDF.2090404@cucumelo.org \
--to=gorm@cucumelo.org \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.