<br><br><div class="gmail_quote">On Wed, Jul 15, 2009 at 2:07 PM, Marc Tousignant <span dir="ltr">&lt;<a href="mailto:drayson@net1plus.com">drayson@net1plus.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 lang="EN-US" link="blue" vlink="purple">

<div>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">

<p><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:mythtv-users-bounces@mythtv.org" target="_blank">mythtv-users-bounces@mythtv.org</a>
[mailto:<a href="mailto:mythtv-users-bounces@mythtv.org" target="_blank">mythtv-users-bounces@mythtv.org</a>] <b>On Behalf Of </b>Allen Edwards<br>
<b>Sent:</b> Wednesday, July 15, 2009 4:00 PM</span></p><div class="im"><br>
<b>To:</b> Discussion about mythtv<br>
<b>Subject:</b> Re: [mythtv-users] No HDMI audio</div><p></p>

</div>

</div>

<p> </p>

<div>

<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">

<div>

<div>

<p><span style="font-size:11.0pt;color:#1F497D">I’ll get more info for
you later tonight.</span></p>

</div>

</div>

</blockquote><div class="im">

<div>

<p> </p>

</div>

<div>

<p>I will post after getting that.</p>

</div>

<div>

<p> </p>

</div>

<div>

<p>Allen</p>

</div>

<div>

<p> </p>

</div>

</div></div>

</div>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">Ok, I’m home for lunch break, gotta love living a mile
from work.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">OK in the BIOS for the IONITX, all revs.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">In Chipset &gt; Southbridge Configuration there is an item for
AZALIA AUDIO.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">The options are Disabled, Internal codec + External codec,
Internal codec, and External codec</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">Default option is Internal codec + External codec.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">According to the BIOS info, &#39;Internal codec&#39; is NVIDIA HDMI
audio controller, while &#39;External codec&#39; is ALC885</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">According to Phill, HDMI does not work in Internal only mode and
he had to select Internal + External, further testing is needed.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">Kernel modules that need to be compiled or build in are as
follows</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">To enabled HDA</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">CONFIG_SND_HDA_INTEL=y</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">For mini-jacks and spdif</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">CONFIG_SND_HDA_CODEC_REALTEK=y</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">For HDMI</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">CONFIG_SND_HDA_CODEC_NVHDMI=y</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">Not sure, Phill had it on, I didn’t question it.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">CONFIG_SND_HDA_GENERIC=y</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">aplay –l from a working system with both HDMI and spdif
audio.</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D"># aplay -l</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">**** List of PLAYBACK Hardware Devices ****</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">card 0: NVidia [HDA NVidia], device 0: ALC662 Analog [ALC662
Analog]</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">  Subdevices: 1/1</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">  Subdevice #0: subdevice #0</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">card 0: NVidia [HDA NVidia], device 1: ALC662 Digital [ALC662
Digital]</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">  Subdevices: 1/1</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">  Subdevice #0: subdevice #0</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">  Subdevices: 1/1</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">  Subdevice #0: subdevice #0</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">aplay –L from a working system with both HDMI and spdif
audio.</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D"># aplay -L</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">front:CARD=NVidia,DEV=0</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, ALC662 Analog</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">    Front speakers</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">surround40:CARD=NVidia,DEV=0</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, ALC662 Analog</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">    4.0 Surround output to Front and Rear
speakers</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">surround41:CARD=NVidia,DEV=0</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, ALC662 Analog</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">    4.1 Surround output to Front, Rear and
Subwoofer speakers</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">surround50:CARD=NVidia,DEV=0</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, ALC662 Analog</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">    5.0 Surround output to Front, Center and Rear
speakers</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">surround51:CARD=NVidia,DEV=0</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, ALC662 Analog</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">    5.1 Surround output to Front, Center, Rear
and Subwoofer speakers</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">surround71:CARD=NVidia,DEV=0</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, ALC662 Analog</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">    7.1 Surround output to Front, Center, Side,
Rear and Woofer speakers</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">iec958:CARD=NVidia,DEV=0</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, ALC662 Digital</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">    IEC958 (S/PDIF) Digital Audio Output</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D">hdmi:CARD=NVidia,DEV=0</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">    HDA NVidia, NVIDIA HDMI</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">    HDMI Audio Output</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">null</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">    Discard all samples (playback) or generate
zero samples (capture)</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">lspci -vvv</span></p><div class="im">

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">00:08.0 Audio device: nVidia Corporation MCP79 High Definition
Audio (rev b1)</span></p>

</div><p><span style="font-size:11.0pt;color:#1F497D">        Subsystem: PC Partner
Limited Device 437b</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">        Control: I/O- Mem+
BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
DisINTx-</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">        Status: Cap+ 66MHz+
UDF- FastB2B+ ParErr- DEVSEL=fast &gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR-
&lt;PERR- INTx-</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">        Latency: 0 (500ns
min, 1250ns max)</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">        Interrupt: pin A
routed to IRQ 21</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">        Region 0: Memory at
fae78000 (32-bit, non-prefetchable) [size=16K]</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">        Capabilities: [44]
Power Management version 2</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">               
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">               
Status: D0 PME-Enable- DSel=0 DScale=0 PME-</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">        Kernel driver in use:
HDA Intel</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">Unfortunately whether you build one or both modules it lspci
only tells you HDA Intel</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D"># cat /proc/asound/devices</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">  0: [ 0]   : control</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">  1:        : sequencer</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> 16: [ 0- 0]: digital audio playback</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> 17: [ 0- 1]: digital audio playback</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> 19: [ 0- 3]: digital audio playback</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> 24: [ 0- 0]: digital audio capture</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> 33:        : timer</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">If I recall correctly item 19 was missing before I activated the
realtek driver.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p><span style="font-size:11.0pt;color:#1F497D">Anything else you want to know?</span></p>

<p><span style="font-size:11.0pt;color:#1F497D"> </span></p><font color="#888888">

<p><span style="font-size:11.0pt;color:#1F497D">Marc</span></p>

</font></div>

</div>


</blockquote></div><br><div>What I did was put a link to this discussion in the wiki.  I think that is the best way to deal with it as I can&#39;t exactly repeat what you are doing so I can&#39;t improve on it in any way.  </div>
<div><br></div><div>Thanks for taking the time to document this.</div><div><br></div><div>Allen</div><div><br></div>