At Tue, 03 Jun 2003 12:24:03 +0100,
James Courtier-Dutton wrote:
> 
> Takashi Iwai wrote:
> > At Mon, 02 Jun 2003 17:01:42 +0100,
> > James Courtier-Dutton wrote:
> > 
> >>Is the SPDIF output of the SIS7012 (i810 with ac97)  supported in alsa.
> >>If so, how does one enable the SPDIF out.
> >>The current kernel OSS module supports it.
> > 
> > 
> > which OSS (kernel) version supports spdif out on this chip?
> > i'd like to take a look.
> > 
> > 
> > ciao,
> > 
> > Takashi
> > 
> > 
> The user I was talking to on irc had kernel 2.4.21-ac-rc1  or something 
> like that.
> I have root access to his box if you need any more info.
> linux-2.4.21-rc1.tar.bz2
> 
> I attach the source files that I think you need.

thanks.   looking at the codes, it seems that no special handling for
the chip.  it simply sets up the ac97 registers.

the patch below is a quick hack to set the spdif rate on the first
playback pcm device.  in addition, you'll need to set up the following
mixer controls:

- 'IEC958 AC97-SPSA' to 0 (slots 3/4).
- 'IEC958 Playback Switch' to on.

you might need to set up 'IEC958 Playback Default', too, but it might
not...  try once the above two switches at first.


Takashi

Attachment: sis-spdif.dif
Description: Binary data

Reply via email to