[mythtv-users] Configuring HDMI sound in Mythbuntu for ASUS GT430

Ian Evans dheianevans at gmail.com
Sun Apr 3 19:49:35 UTC 2011


On Sun, Apr 3, 2011 at 2:54 PM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> On 3 April 2011 16:28, Ian Evans <dheianevans at gmail.com> wrote:
>> On Sat, Apr 2, 2011 at 8:16 PM, Chris Kapp <chris.kapp at gmail.com> wrote:
>>> speaker-test -D front:0,0 -c 6
>>
<snip>
> I always wonder where people go and the idea for some of the device
> name they use.
>
> "front" is front, and is analog only. This will be usually the
> on-board audio card.
> It's not the hdmi device and never will be unless you mess with alsa
> configuration. Front is 2 speakers ; not 4,6,8 : 2
>
> So that you get an invalid argument is not surprising.
> You shouldn't take for absolute facts some of the incorrect
> information that can pop up, here and there. This one fall into that
> category
>
> For getting the GT430 to work ; as I've mentioned several times, you
> must use 1.0.24 alsa drivers *and* library.

I installed those after you mentioned it.

>
> You can tell which version of alsa you are running by doing:
> cat /proc/asound/version.

cat /proc/asound/version
Advanced Linux Sound Architcture Driver Version 1.0.24

>
> If it shows 1.0.23 or lower, you won't get sound from your GT430.
> Once you have the drivers installed *AND* the 1.0.24 ALSA library;
> then when you do aplay -L (uppercase L) you will get something like
> this:
> $ aplay -L
> null
>    Discard all samples (playback) or generate zero samples (capture)
> hdmi:CARD=NVidia,DEV=0
>    HDA NVidia, HDMI 0
>    HDMI Audio Output
> hdmi:CARD=NVidia,DEV=1
>    HDA NVidia, HDMI 0
>    HDMI Audio Output
> hdmi:CARD=NVidia,DEV=2
>    HDA NVidia, HDMI 0
>    HDMI Audio Output
> hdmi:CARD=NVidia,DEV=3
>    HDA NVidia, HDMI 0
>    HDMI Audio Output
> The audio device to use is:
> hdmi:CARD=NVidia,DEV=x
> (where x is 0,1,2 or 3 or whatever the number that showed by aplay -L)

So do I change:

pcm.!default {
type plug
slave.pcm {
type hw
card 1
device 9
}
}

to:

pcm.!default {
hdmi:CARD=NVidia,DEV=x
}

(where x is 0,1,2 or 3 or whatever the number that showed by aplay -L)

Still trying to nail down a) how to get headphones up'n'working and b)
how to have headphones mute the speakers.

Thanks.


More information about the mythtv-users mailing list