Re: [Alsa-devel] ATI IXP SPDIF

2004-05-27 Thread Takashi Iwai
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=5famid=12series=
 8Software=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.4broken atiixp-spdif broken alc655-spdif
 realtek-alsa-1.0.4broken atiixp-spdif working alc655-spdif
 alsa-cvs  working atiixp-spdifbroken 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


---
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=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


RE: [Alsa-devel] ATI IXP SPDIF

2004-05-27 Thread Alex Song
 -Original Message-
 From: Takashi Iwai [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 27, 2004 5:45 AM
 To: Alex Song
 Cc: '[EMAIL PROTECTED]'
 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=5fa
 mid=12series=
  8Software=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-cvsworking atiixp-spdifbroken 
 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=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


RE: [Alsa-devel] ATI IXP SPDIF

2004-05-26 Thread Alex Song
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=5famid=12series=
8Software=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-cvsworking atiixp-spdifbroken 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:[EMAIL PROTECTED]
 Sent: Tuesday, May 25, 2004 2:45 AM
 To: Alex Song
 Cc: '[EMAIL PROTECTED]'
 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 [EMAIL PROTECTED]  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=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] ATI IXP SPDIF

2004-05-25 Thread Takashi Iwai
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 [EMAIL PROTECTED]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=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel