ac3 problems with the latest VIA8233 driver
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
At Tue, 14 Jan 2003 13:48:56 +0200,
Quoted 10 lines · Pekka Pietikainen
Hiya
I tried out the latest cvs snapshot of the via82xx driver. I have a Asus A7V8X motherboard, and the chip gets detected as a VIA8233C by alsa.
Everything else seems to be ok, but ac3 passthrough which used to work, doesn't anymore. In one attempt with the new driver, my amplifier complained of "DATA ERROR" on the screen (instead of turning on the dolby digital light and playing)
oh, i didn't know that ac3 has ever worked on this chip :)
Quoted 2 lines
Previously I used the following VIA8233.conf (I copied over the ICH conf, did a search/replace for ICH -> VIA8233 and it just worked :)
the new configuration file is already in alsa-lib cvs tree. please get the latest alsa-lib cvs and install the config files.
the difference from the former version is that the new driver uses a different channel for SPDIF and has a new mixer control.
i'm not sure whether the analog volumes have influence upon the spdif digital levels. anyway, please give a try.
ciao,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Tue, 14 Jan 2003 15:48:41 +0200,
Quoted 10 lines · Pekka Pietikainen
Quoted 6 lines · Takashi Iwai
the new configuration file is already in alsa-lib cvs tree. please get the latest alsa-lib cvs and install the config files.
i'm not sure whether the analog volumes have influence upon the spdif digital levels. anyway, please give a try.
I used the alsa-lib config files from cvs when testing the new driver, so that's not it...
did you get non-ac3 signals from spdif?
you can play via hw:0,3 directly for audio data, e.g.
% aplay -Dhw:0,3 foo.wav
and turn on "IEC958 Playback" and "IEC958 Output" on alsamixer.
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Tue, 14 Jan 2003 16:11:37 +0200,
Quoted 7 lines · Pekka Pietikainen
Quoted 5 lines · Takashi Iwai
did you get non-ac3 signals from spdif?
you can play via hw:0,3 directly for audio data, e.g.% aplay -Dhw:0,3 foo.wav
Quoted 7 lines
Quoted 1 line
and turn on "IEC958 Playback" and "IEC958 Output" on alsamixer.
Nope, no luck, [root@connecting asound]# aplay
-Dhw:0,3/opt/usrlocal2/share/heroes/sfx/explo01.wav
ALSA lib pcm_hw.c:866:(snd_pcm_hw_open) open/dev/snd/pcmC0D3pfailed:
No such file or directory(there's only 0,0 and 0,1)
oops, sorry, use hw:0,0,3 instead.
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Tue, 14 Jan 2003 16:23:20 +0200,
Quoted 5 lines · Pekka Pietikainen
Quoted 1 line · Takashi Iwai
oops, sorry, use hw:0,0,3 instead.
Nothing comes out. Which might be the same problem as with ac3 output, volume at 0 and no way to make it higher.
ok, then try the attached patch and output hw:0,1. if anything comes out, then change
device 0 -> 1 subdevice 3 -> 0
in the definition of VIA8233.pcm.iec958.0 in VIA8233.conf.
also, check whether "IEC958 Output Switch" affects the behavior.
thanks for testing.
ciao,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Tue, 14 Jan 2003 16:55:46 +0200,
Quoted 5 lines · Pekka Pietikainen
Quoted 3 lines · Takashi Iwai
At Tue, 14 Jan 2003 16:23:20 +0200,
Quoted 1 line · Pekka Pietikainen
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines · Takashi Iwai
Quoted 1 line
oops, sorry, use hw:0,0,3 instead.
Nothing comes out. Which might be the same problem as with ac3 output, volume at 0 and no way to make it higher.
ok, then try the attached patch and output hw:0,1.
which patch? ;)
well, you get output with a big latency ;)
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Tue, 14 Jan 2003 17:22:27 +0200,
Quoted 9 lines · Pekka Pietikainen
Quoted 7 lines · Takashi Iwai
At Tue, 14 Jan 2003 16:55:46 +0200,
Quoted 5 lines · Pekka Pietikainen
Quoted 3 lines · Takashi Iwai
At Tue, 14 Jan 2003 16:23:20 +0200,
Quoted 1 line · Pekka Pietikainen
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines · Takashi Iwai
Quoted 1 line
oops, sorry, use hw:0,0,3 instead.
Nothing comes out. Which might be the same problem as with ac3 output, volume at 0 and no way to make it higher.
ok, then try the attached patch and output hw:0,1.
No luck with any of the AC97-SPSA values.
now i'm puzzled. the registeres and channels used should be identical with the old drivers...
the attached is the old via82xx.c which can be compiled with the latest cvs tree. please replace alsa-kernel/pci/via82xx.c with it and rebuild the module. use your old VIA8233.conf and check whether the old one really works.
if it doesn't work, this might be related with "IEC958 Output Switch", which was not set in the older driver.
Takashi