All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: ATI IXP SPDIF
@ 2004-05-26 22:19 Alex Song
  2004-05-27 12:45 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Song @ 2004-05-26 22:19 UTC (permalink / raw)
  To: 'Takashi Iwai'; +Cc: 'alsa-devel@lists.sourceforge.net'

hi,

i happened to have that ASUS mobo (P4R800-VM) which has an ATIIXP/AD1888 and
both PCM and ac3 pass through works with SPDIF.
but the board i am trying to get working has an ATIIXP/ALC655 and i had a
look at the realtek site and they had some drivers
(http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=
8&Software=True) which looks like they were based off alsa-1.0.4. just doing
a quick diff i see that they added some SPDIF stuff amongst other things.
after testing and some code diffing this is what i figured:

alsa-1.0.4			broken atiixp-spdif	broken alc655-spdif
realtek-alsa-1.0.4	broken atiixp-spdif	working alc655-spdif
alsa-cvs			working atiixp-spdif	broken alc655-spdif

i am going to try and hack together some combination of realtek-alsa-1.0.4
and alsa-cvs and see if what i figured is right or not. it would be great if
one of the alsa developers can look into realtek-alsa-1.0.4 and merge those
changes into alsa.

cheers,

alex

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Tuesday, May 25, 2004 2:45 AM
> To: Alex Song
> Cc: 'alsa-devel@lists.sourceforge.net'
> Subject: Re: [Alsa-devel] ATI IXP SPDIF
> 
> 
> At Mon, 24 May 2004 16:16:42 -0700,
> Alex Song wrote:
> > 
> > hi,
> > 
> > i am trying to get SPDIF output working on ATI IXP/Realtek 
> ALC655 and i am
> > using atiixp.c from cvs (version 1.9) and linux kernel 
> 2.6.5. i tried
> > playing back wav files through aplay and ac3 files with 
> ac3play and i
> > couldn't get any output from either SPDIF over AC97 or 
> SPDIF Direct. analog
> > output is fine. from the cvs logs i gather that SPDIF on 
> ATI IXP should work
> > for some cases at least, has anyone got it to work? if so with what
> > files/hardware/settings etc?
> 
> it works fine on my test machine.  it's an ASUS mobo (forgot the
> model).
> 
> 	% ac3dec -C some-48k.ac3
> 
> or
> 
> 	% aplay -Dplug:spdif foo.wav
> 
> but the direct SPDIF mode doesn't work...
> 
> --
> Takashi Iwai <tiwai@suse.de>		ALSA Developer - 
> www.alsa-project.org
> 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: ATI IXP SPDIF
@ 2004-05-27 19:17 Alex Song
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Song @ 2004-05-27 19:17 UTC (permalink / raw)
  To: 'Takashi Iwai'; +Cc: 'alsa-devel@lists.sourceforge.net'

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Thursday, May 27, 2004 5:45 AM
> To: Alex Song
> Cc: 'alsa-devel@lists.sourceforge.net'
> Subject: Re: [Alsa-devel] ATI IXP SPDIF
> 
> 
> At Wed, 26 May 2004 15:19:05 -0700,
> Alex Song wrote:
> > 
> > hi,
> > 
> > i happened to have that ASUS mobo (P4R800-VM) which has an 
> ATIIXP/AD1888 and
> > both PCM and ac3 pass through works with SPDIF.
> > but the board i am trying to get working has an 
> ATIIXP/ALC655 and i had a
> > look at the realtek site and they had some drivers
> > 
> (http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&fa
> mid=12&series=
> > 8&Software=True) which looks like they were based off 
> alsa-1.0.4. just doing
> > a quick diff i see that they added some SPDIF stuff amongst 
> other things.
> > after testing and some code diffing this is what i figured:
> > 
> > alsa-1.0.4			broken atiixp-spdif	broken 
> alc655-spdif
> > realtek-alsa-1.0.4	broken atiixp-spdif	working alc655-spdif
> > alsa-cvs			working atiixp-spdif	broken 
> alc655-spdif
> > 
> > i am going to try and hack together some combination of 
> realtek-alsa-1.0.4
> > and alsa-cvs and see if what i figured is right or not. it 
> would be great if
> > one of the alsa developers can look into realtek-alsa-1.0.4 
> and merge those
> > changes into alsa.
> 
> ok then the problem seems alc655 specific.
> 
> after a quick look, i haven't found relavant changes for the spdif.
> they implemented additional switches for category but these 
> should be already
> handled if you set IEC958 status bits.
> 
> how did you test your board?
> 
> 
> Takashi

what do you mean set the IEC958 status bits? who sets it? atiixp.c?

my board is a gigabyte GA-8TRS300M with ATIIXP/ALC655 and i test by running
aplay with a wav file and ac3dec with an ac3 file. with alsa-cvs using bith
aplay and ac3dec, software says it is playing but i get no sound, the
optical spdif light is not lit. with realtek-alsa-1.0.4, the software says
it is playing, still no sound but the optical spdif light is on. i am
loading the atiixp module without options, just defaults.

alex


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread
* ATI IXP SPDIF
@ 2004-05-24 23:16 Alex Song
  2004-05-25  9:44 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Song @ 2004-05-24 23:16 UTC (permalink / raw)
  To: 'alsa-devel@lists.sourceforge.net'

hi,

i am trying to get SPDIF output working on ATI IXP/Realtek ALC655 and i am
using atiixp.c from cvs (version 1.9) and linux kernel 2.6.5. i tried
playing back wav files through aplay and ac3 files with ac3play and i
couldn't get any output from either SPDIF over AC97 or SPDIF Direct. analog
output is fine. from the cvs logs i gather that SPDIF on ATI IXP should work
for some cases at least, has anyone got it to work? if so with what
files/hardware/settings etc?

i am not very familiar with sound programming or sound card driver
operation, but i am willing to help if needed.

cheers,

alex

=========================================
Alex Song
Software Engineer
XVD Corporation
44061 Nobel Drive
Fremont, CA 94538, USA
Work: (510) 770-5700 x266
Fax: (510) 770-5769
Email: asong@xvdcorp.com
========================================= 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

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

end of thread, other threads:[~2004-05-27 19:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-26 22:19 ATI IXP SPDIF Alex Song
2004-05-27 12:45 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-05-27 19:17 Alex Song
2004-05-24 23:16 Alex Song
2004-05-25  9:44 ` 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.