Skip to contentSkip to conversation

ac3 now works on VIA8233 (with a tiny patch)

DISCUSSION Takashi Iwai 1 participant 3 messages Jan 28, 2003 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

At Mon, 27 Jan 2003 20:24:44 +0200,

Quoted 9 lines · Pekka Pietikainen

Hi

I just tried the latest cvs, and now ac3 output works just fine (and plain old PCM output through SPDIF too). I needed the following patch to VIA8233.conf, though. I did manage to get the driver in a state where there was no output at all until a module reload once (mixer settings didn't help), but I can't reproduce it anymore and that was while tweaking VIA8233.conf.

could you tell me which ac97 codec chip is used?
the spdif signal should be routed via slot 10/11 when the device 0,0,3 is used as originally designed. with your patch, the signal seems routed via the front slots 3/4 (or 6/9, 7/8). the slots usage is dependent on the ac97 codec, and i thought the set up of ALC650 was fixed recently.

/proc/asound/card0/ac97#0 and ac97#0regs will be helpful for debugging.

thanks,

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#4 lore raw
In reply to a message not in the archive

At Tue, 28 Jan 2003 12:30:00 +0200,

Quoted 11 lines · Pekka Pietikainen
Quoted 6 lines · Takashi Iwai

Hi it's me again,

just took at your earlier posts, i found the reason. instead of changing the device, AC97-SPSA must be changed to 3.

please try the attached patch.

I tried the patch and it seems to work fine as long as alsamixer has AC97-SPSA set to 3 before using AC3. If it's at anything else, the output is just some horrible noise.

thanks for testing. ok, this must be fixed...
could you try the one below?

Quoted 6 lines

The mixer setting does
change to 3 when the application starts (and goes back to 0 when it stops), but apparently that happens too late. When the application
is running, the mixer control has no effect at all. Feature? Bug? Application bug? (I tried mplayer and xine and both did the same) Oh well, at least it's usable now :)

it's a feature. the control is locked during the pcm is opened.

Takashi