All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] cs46xx SPDIF input && some cleanups && bug fixes
@ 2002-08-12  9:14 Friedrich.Ewaldt
  2002-08-12 10:59 ` Benny Sjostrand
  2002-08-14 21:50 ` cs4630 SPDIF input problem (Re: [PATCH] cs46xx SPDIF input && some cleanups && bug fixes) Benny Sjostrand
  0 siblings, 2 replies; 7+ messages in thread
From: Friedrich.Ewaldt @ 2002-08-12  9:14 UTC (permalink / raw)
  To: gorm; +Cc: alsa-devel

Hi,

SPDIF input works with my Terratec DMX XFire thanks to Benny's newest patch.
(@Benny: Thanks for remailing the attachment)
I've got only one minor problem:
Switching around in alsamixer at the SPDIF controls for some time causes a
high frequency tone to be played back all the time until I reboot. I'll have
to do further examinations when this happens exactly.
regards, fritz_e

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH] cs46xx SPDIF input && some cleanups && bug fixes
@ 2002-08-11  8:04 Benny Sjostrand
  2002-08-12  9:51 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Benny Sjostrand @ 2002-08-11  8:04 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]

Hi!

I've working to have the SPDIF support working, it has not been easy to 
understand and there is still some issues left.
The soundcards manufacturers (like Hercules) dont seems to be interested 
in providing us any information about the
use of the different GPIO pins. So , I wrote some code to controll the 
EGIO pins on the cs4630 from the ALSA mixer, and
so test them all. I've been spaming and bombing Hercules with mails for 
a long time now without any response at all.

Finally i have discovered that on the Hercules Game Theater XP the 
EGPIO0 selects between Coxial or Toslink SPDIF.
The code to controll the EPGIO pins are activated by defining the 
CONFIG_SND_CS46XX_DEBUG_GPIO, hopefully
this dirty hack can be removed soon but maybe it can be useful to find 
out the use of the GPIO pins on other
cs46xx based soundcards.

This patch includes:
- SDPIF input support, only 48khz
- PCM multichannel bug fix.
- Minor cleanups and bugfixes.

One issue SPDIF input is that I dont know how to setup the DSP to detect 
the sample rate automatically, so in this moment
only 48khz is supported, or change the code to support other sample 
rate, or we can have a module parameter to set
the SPDIF input sample rate.

Any AC3 decoding is not supported yet ....

There have been some changes on the mixer, the following controls have 
been added:
- SPDIF Output Switch - mutes, unmutes SPDIF output
- SPDIF Input Switch - mutes, unmutes SPDIF input
- SPDIF Input Volume - adjust the volume on SPDIF input
- DAC capture Switch - capture what goes out to the CODEC, the primary 
use of this is to capture the input from the SPDIF,
                                        but it will capture all PCM 
playback as well.
- ADC capture Switch - capture what goes analog input to the CODEC like, 
mic line in, aux in. etc ...
- Optical/Coaxial SPDIF Input Switch - only Hercules Game Theater XP, 
switch between SPDIF toslink and coxial source,
                                                                 have 
not tested the coaxial input yet. (dont have any HW with SPDIF coaxial 
output)

The patch is against current CVS.

/Benny

[-- Attachment #2: spdif_input_patch.gz --]
[-- Type: application/postscript, Size: 10191 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-08-14 21:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-12  9:14 [PATCH] cs46xx SPDIF input && some cleanups && bug fixes Friedrich.Ewaldt
2002-08-12 10:59 ` Benny Sjostrand
2002-08-14 21:50 ` cs4630 SPDIF input problem (Re: [PATCH] cs46xx SPDIF input && some cleanups && bug fixes) Benny Sjostrand
  -- strict thread matches above, loose matches on Subject: below --
2002-08-11  8:04 [PATCH] cs46xx SPDIF input && some cleanups && bug fixes Benny Sjostrand
2002-08-12  9:51 ` Takashi Iwai
2002-08-12 10:56   ` Benny Sjostrand
2002-08-12 11:05     ` Takashi Iwai

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.