Skip to contentSkip to conversation

S/PDIF on AD1980 patch

DISCUSSION Jaroslaw Sobierski 2 participants 2 messages Feb 13, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

I recently installed an Asus P4PE with built in AD1980 audio codec (accessible through the ICH4 south bridge). The latest ALSA drivers detected the chip and AC97 audio correctly even setting up the IEC958 controls. The problem is I still got no output on the external S/PDIF module.

I downloaded the specs from Analog Devices and found the register responsible for this, modified the AC97 codec drivers to add a control for the 3 flags specific to this chip (ie. outside of the ac97 specification) concerning the digital interface and managed to turn it on.

I would like to submit this modification so that others who may have a similar setup can use it. So my question is : what's next? Who can merge such patches to the CVS tree and what is the validation and/or testing procedure? Or do I just mail the code to 'perex' and he takes care of it?

I found similar patches for different chips with controls specific to them, so I assume this is the accepted solution, although it would also be possible simply initialize this register to the "on" value on startup - since this is a dedicated digital output, not shared with lfe/center like on Creative's sound cards.

Jaroslaw Sobierski

--------------
Fycio (J.Sobierski)
[email protected]

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

#1 lore raw

At Thu, 13 Feb 2003 03:19:02 -0800,

Quoted 16 lines · Jaroslaw Sobierski

Hi all,

I recently installed an Asus P4PE with built in AD1980 audio codec (accessible through the ICH4 south bridge). The latest ALSA drivers detected the chip and AC97 audio correctly even setting up the IEC958 controls. The problem is I still got no output on the external S/PDIF module.

I downloaded the specs from Analog Devices and found the register responsible for this, modified the AC97 codec drivers to add a control for the 3 flags specific to this chip (ie. outside of the ac97 specification) concerning the digital interface and managed to turn it on.

Quoted 5 lines

I would like to submit this modification so that others who may have a similar setup can use it. So my question is : what's next? Who can merge such patches to the CVS tree and what is the validation and/or testing procedure? Or do I just mail the code to 'perex' and he takes care of it?

just send the patch to alsa-devel ML. (or you can send to Jaroslav or me directly, too, if you don't show the patch publicly :) we'll review the patch and soon commit to cvs if it's ok.

ciao,

Takashi

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