<div dir="ltr">On Sat, Aug 9, 2008 at 10:38 AM, Allen Edwards <span dir="ltr"><<a href="mailto:allen.edwards@oldpaloalto.com">allen.edwards@oldpaloalto.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Jarle Thorsen wrote:<br>
> I have just set up a new Mac Mini (with intel cpu) as an additional frontend.<br>
> I am using the optical output to my surround receiver.<br>
><br>
> In Mythtv I have set it to use ALSA:default as output and ALSA:iec958 as<br>
> passthrough. I have also checked the passthrough for DTS and AC3 boxes.<br>
><br>
> However I only get sound when I try to play videos containing stereo sound. If<br>
> I try to play DTS or AC3 material I get no sound at all.<br>
><br>
> Any ideas which settings I need to have this working?<br><br>
</div></div>I don't have a MAC so this may be different but to get sound working on<br>
my system I did the following:<br>
1) remove or rename the two alsa config files (asound.conf and .asoundrc)<br>
2) some people have to uninstall pulse audio. I think this is with Fedora.<br>
3) Sound ALSA:default<br>
4) Passthrough ALSA:spdif<br>
5) check Stereo (not 5.1)<br>
6) turn on iec958 in alsamixer<br>
<br>
<br>
In my experience, if you try and follow any wiki and set up asound.conf,<br>
you are dead. The defaults are used if there is no config file and they<br>
work great.</blockquote><div><br>The above settings work for me in mythbuntu. <br><br>I've also noticed that occasionally a full power off is needed if my changes don't seem to be sticking. I think the hardware can get wedged and I'll start gettting the clicking passthrough sound. A reboot would clear that out with no config changes.<br>
<br>It's been a while since I had the problems but I have a script with the following commands that I believe helped me reset also without the reboot:<br><br>sudo rm /var/lib/alsa/asound.state<br>sudo rmmod snd-hda-intel<br>
sudo modprobe snd-hda-intel<br>amixer set Master 80% mute<br>amixer set Front 80% mute<br>amixer set IEC958 100% unmute<br>sudo alsactl store<br><br>David<br></div></div><br></div>