On 6/4/07, <b class="gmail_sendername">Ludmil Miltchev</b> &lt;<a href="mailto:ludmilmm@gmail.com">ludmilmm@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi to everyone!<br><br>My MythTV used to work flawlessly with a stereo analog sound (2ch). I<br>decided to switch to SPDIF and now when I try to watch TV, DVDs or<br>listen to music (using the Internal player) I don&#39;t get any sound.
<br>However, I can watch videos (using MPlayer) without any problem.<br><br>===================================================================================<br><br>I tried fixing the problem, using the following articles:
<br><br>- Configuring Digital Sound with AC3 and SPDIF<br>&lt;<a href="http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF">http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF
</a>&gt;<br><br>-&nbsp;&nbsp;I get no sound from MythTV when watching TV but MythMusic and<br>command-line test all work fine. What is the problem?<br><br>&lt;<a href="http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound#I_get_no_sound_from_MythTV_when_watching_TV_but_MythMusic_and_command">
http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound#I_get_no_sound_from_MythTV_when_watching_TV_but_MythMusic_and_command</a><br><br>-line_test_all_work_fine.__What_is_the_problem.3F&gt;<br><br>-&nbsp;&nbsp;But I want to have all my sound go to the S/PDIF connector, how do I
<br>do that?<br><br>&lt;<a href="http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound#But_I_want_to_have_all_my_sound_go_to_the_S.2FPDIF_connector.2C_how_do_I">http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound#But_I_want_to_have_all_my_sound_go_to_the_S.2FPDIF_connector.2C_how_do_I
</a><br><br>_do_that.3F&gt;<br><br>=======================================================================================<br><br>When I run: #&gt; aplay -L, I get:<br><br>{<br>cards &#39;cards.pcm&#39;<br>front &#39;cards.pcm.front
&#39;<br>rear &#39;cards.pcm.rear&#39;<br>center_lfe &#39;cards.pcm.center_lfe&#39;<br>side &#39;cards.pcm.side&#39;<br>surround40 &#39;cards.pcm.surround40&#39;<br>surround41 &#39;cards.pcm.surround41&#39;<br>surround50 &#39;
cards.pcm.surround50&#39;<br>surround51 &#39;cards.pcm.surround51&#39;<br>surround71 &#39;cards.pcm.surround71&#39;<br>iec958 &#39;cards.pcm.iec958&#39;<br>spdif &#39;cards.pcm.iec958&#39;<br>modem &#39;cards.pcm.modem&#39;
<br>phoneline &#39;cards.pcm.phoneline&#39;<br>dmix &#39;cards.pcm.dmix&#39;<br>default&nbsp;&nbsp;&nbsp;&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;type hw<br>&nbsp;&nbsp;&nbsp;&nbsp;card 0<br>&nbsp;&nbsp;&nbsp;&nbsp;device 2<br>}<br><br>My /home/mythtv/.asoundrc file:<br><br>pcm.!default {<br>type hw<br>card 0
<br>device 2<br>}<br><br>My /etc/asound.conf file:<br><br>pcm.!default {<br>type plug<br>slave {<br>pcm &quot;spdif&quot;<br>rate 48000<br>format S16_LE<br>}<br>}<br><br>I added &quot;options snd-pcm-oss dsp_map=2&quot; at the end of my
<br>/etc/modprobe.conf file.<br><br>In my frontend (Utilities/Setup - Setup - General) I have:<br><br>Audio Output Device: /dev/adsp<br>Passthrough output Device: ALSA:default<br>Mixer Device: default<br>Mixer Controls: PCM
<br><br>I also tried checkihg and unchecking the boxes next to:<br>Enable AC3 to SPDIF passthrough<br>Enable DTS to SPDIF passthrough<br><br>======================================================================================
<br><br>So far, I haven&#39;t been able to get the sound to work with watching TV,<br>DVD or listening to music in MythTV. I tried getting a help from a<br>friend who knows a lot more than me about Linux and MythTV (I am a
<br>newby), but he was not able to help me, either.<br><br>I am running MythTV ver. 0.2 on Suse 10. My sound card is: ALi M5455<br>with spdif-out (6ch).<br><br>I would really appreciate any help (hints, articles, ideas, etc.)
<br><br>Please, let me know if you need any more info about my system/configuration.<br><br>Thank you!<br><br>Ludmil<br><br><br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a></blockquote><div><br><br>I found all the asound config to be unnecessary.&nbsp; What ended up working for me was, make sure ac3 and dts passthrough are both enabled.&nbsp; And then change both the audio and passthrough output devices to be ALSA:iec958.&nbsp; That&#39;s all I needed, hopefully it will work for you as well.
<br>&nbsp;</div><br></div><br>