If I am remembering correctly, the machine gun is the digital data in analog form. &nbsp;I heard it myself when I was getting spdif to work. &nbsp;It is from using ALSA:default as the&nbsp;passthrough&nbsp;device. &nbsp;Hope I am remembering this correctly.<div>
Try this:</div><div>Passthrough output device: ALSA:iec958(AESO 0x02)</div><div><br></div><div>Allen</div><div><br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 7:48 PM, Andrew Close <span dir="ltr">&lt;<a href="mailto:aclose@gmail.com">aclose@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="Wj3C7c">On Mon, Jan 19, 2009 at 9:25 PM, Andrew Close &lt;<a href="mailto:aclose@gmail.com">aclose@gmail.com</a>&gt; wrote:<br>

&gt; common thread, good idea :)<br>
&gt;<br>
&gt; i think Phil has commented in my thread, and i have commented in his<br>
&gt; thread. &nbsp;now Allen is bringing us all together. :D<br>
&gt;<br>
&gt; i was originally trying to get audio out via SPDIF just because audio<br>
&gt; over HDMI is so new, but hey, bonus if it works. ;)<br>
&gt; so up until now, my MythBox has had audio out via coaxial SPDIF to my<br>
&gt; AVR and video out via HDMI also routed through my AVR. &nbsp;since Phil is<br>
&gt; having &#39;some&#39; luck with audio over HDMI, i&#39;m disconnecting my coaxial<br>
&gt; SPDIF and going the HDMI route as well. &nbsp;maybe we&#39;ll figure something<br>
&gt; out on our systems that helps each other.<br>
&gt; so now i&#39;m HDMI only to my Denon 3808. &nbsp;video rocks at 1920x1080 :D<br>
&gt; but still no audio.<br>
&gt;<br>
&gt; here&#39;s some details:<br>
&gt; MythBuntu 8.10<br>
&gt; Asus P5E-VM HDMI with Realtek ALC883 8 channel audio<br>
&gt;<br>
&gt; aclose@MythBoxHD:~$ aplay -l<br>
&gt; **** List of PLAYBACK Hardware Devices ****<br>
&gt; card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]<br>
&gt; &nbsp;Subdevices: 1/1<br>
&gt; &nbsp;Subdevice #0: subdevice #0<br>
&gt; card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]<br>
&gt; &nbsp;Subdevices: 1/1<br>
&gt; &nbsp;Subdevice #0: subdevice #0<br>
&gt; card 0: Intel [HDA Intel], device 3: ATI HDMI [ATI HDMI]<br>
&gt; &nbsp;Subdevices: 1/1<br>
&gt; &nbsp;Subdevice #0: subdevice #0<br>
&gt;<br>
&gt; aclose@MythBoxHD:~$ aplay -L<br>
&gt; default:CARD=Intel<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Analog<br>
&gt; &nbsp; &nbsp;Default Audio Device<br>
&gt; front:CARD=Intel,DEV=0<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Analog<br>
&gt; &nbsp; &nbsp;Front speakers<br>
&gt; surround40:CARD=Intel,DEV=0<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Analog<br>
&gt; &nbsp; &nbsp;4.0 Surround output to Front and Rear speakers<br>
&gt; surround41:CARD=Intel,DEV=0<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Analog<br>
&gt; &nbsp; &nbsp;4.1 Surround output to Front, Rear and Subwoofer speakers<br>
&gt; surround50:CARD=Intel,DEV=0<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Analog<br>
&gt; &nbsp; &nbsp;5.0 Surround output to Front, Center and Rear speakers<br>
&gt; surround51:CARD=Intel,DEV=0<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Analog<br>
&gt; &nbsp; &nbsp;5.1 Surround output to Front, Center, Rear and Subwoofer speakers<br>
&gt; surround71:CARD=Intel,DEV=0<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Analog<br>
&gt; &nbsp; &nbsp;7.1 Surround output to Front, Center, Side, Rear and Woofer speakers<br>
&gt; iec958:CARD=Intel,DEV=0<br>
&gt; &nbsp; &nbsp;HDA Intel, ALC883 Digital<br>
&gt; &nbsp; &nbsp;IEC958 (S/PDIF) Digital Audio Output<br>
&gt; null<br>
&gt; &nbsp; &nbsp;Discard all samples (playback) or generate zero samples (capture)<br>
&gt;<br>
&gt; &#39;aplay -l&#39; always showed the HDMI device, &#39;aplay -L&#39; did not. &nbsp;to get<br>
&gt; SPDIF to show up i added the following to my /etc/modprobe.d/alsa-base<br>
&gt; file:<br>
&gt;<br>
&gt; options snd-hda-intel model=6stack-dig<br>
&gt;<br>
&gt; apparently /etc/modprobe.d/alsa-base is Debian/Ubuntu related, so if<br>
&gt; you&#39;re using something other than a Debian based distro you&#39;ll need to<br>
&gt; look for another file.<br>
&gt; the &#39;6stack-dig&#39; is particular to my ALC883 sound setup on this<br>
&gt; motherboard. &nbsp;although any similar ALC88X with 6 jacks and digital out<br>
&gt; could probably use it. &nbsp;i don&#39;t remember exactly where i found the<br>
&gt; &#39;6stack-dig&#39; setting, somewhere in UbuntuForums. &nbsp;there are some links<br>
&gt; i&#39;ve been collecting in my user profile:<br>
&gt; <a href="http://www.mythtv.org/wiki/User:Aclose" target="_blank">http://www.mythtv.org/wiki/User:Aclose</a><br>
&gt;<br>
&gt; utilities/setup -&gt; setup -&gt; general (audio on pg 3) i&#39;ve tried setting<br>
&gt; my audio output device = ALSA:hw=0,3 as mentioned by Rob earlier in<br>
&gt; this thread. &nbsp;too bad it isn&#39;t that easy for me.<br>
&gt; when playing AC3 content with that setting, i see the following in my<br>
&gt; mythfrontend.log:<br>
&gt;<br>
&gt; 2009-01-19 20:38:56.402 AFD: Opened codec 0x97ff2c0, id(MPEG4) type(Video)<br>
&gt; 2009-01-19 20:38:56.402 AFD: codec AC3 has 6 channels<br>
&gt; 2009-01-19 20:38:56.415 AFD: Opened codec 0x97ff630, id(AC3) type(Audio)<br>
&gt; 2009-01-19 20:38:56.417 Opening audio device &#39;hw=0,3&#39;. ch 2(2) sr 48000<br>
&gt; 2009-01-19 20:38:56.417 Opening ALSA audio device &#39;hw=0,3&#39;.<br>
&gt; ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw=0,3<br>
&gt; 2009-01-19 20:38:56.427 AudioOutput Error: snd_pcm_open(hw=0,3): No<br>
&gt; such file or directory<br>
&gt; 2009-01-19 20:38:56.427 NVP: Disabling Audio, reason is:<br>
&gt; snd_pcm_open(hw=0,3): No such file or directory<br>
&gt;<br>
&gt; i&#39;ll have to play around with manually changing that around.<br>
&gt; passthrough is set to default, max audio is stereo, upmix is passive,<br>
&gt; AC3 and DTS passthrough are both checked.<br>
&gt;<br>
&gt; still playing...<br>
<br>
</div></div>w00t!<br>
minor success.<br>
in Myth utilities/setup-&gt;setup-&gt;general (pg3) audio output device:<br>
ALSA:hw:0,3 i got sound!<br>
well, my left speaker sounded like machine gun static. :)<br>
<br>
/var/log/mythtv/mythfrontend.log:<br>
<br>
2009-01-19 21:44:21.172 AFD: Opened codec 0x9845930, id(MPEG4) type(Video)<br>
2009-01-19 21:44:21.172 AFD: codec AC3 has 6 channels<br>
2009-01-19 21:44:21.172 AFD: Opened codec 0x9db39e0, id(AC3) type(Audio)<br>
2009-01-19 21:44:21.173 Opening audio device &#39;hw:0,3&#39;. ch 2(2) sr 48000<br>
2009-01-19 21:44:21.173 Opening ALSA audio device &#39;hw:0,3&#39;.<br>
2009-01-19 21:44:21.186 Opening audio device &#39;hw:0,3&#39;. ch 2(2) sr 48000<br>
2009-01-19 21:44:21.186 Opening ALSA audio device &#39;hw:0,3&#39;.<br>
2009-01-19 21:44:21.209 VideoOutputXv: Desired video renderer<br>
&#39;xvmc-blit&#39; not available.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;codec &#39;MPEG4&#39; makes &#39;xv-blit,xshm,opengl,xlib,&#39; available, using<br>
&#39;xv-blit&#39; instead.<br>
2009-01-19 21:44:21.210 VideoOutputXv: XVideo Adaptor Name: &#39;Intel(R)<br>
Textured Video&#39;<br>
2009-01-19 21:44:21.341 OSD Theme Dimensions W: 640 H: 480<br>
2009-01-19 21:44:21.543 TV: Changing from None to WatchingPreRecorded<br>
2009-01-19 21:44:21.543 Realtime priority would require SUID as root.<br>
2009-01-19 21:44:23.781 NVP: Timed out waiting for free video buffers.<br>
2009-01-19 21:44:24.542 Video timing method: USleep with busy wait<br>
2009-01-19 21:44:24.544 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.551 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.559 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.567 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.575 WriteAudio: buffer underrun<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
--<br>
Andrew Close<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" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>