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

Ian Evans dheianevans at gmail.com
Sun Apr 3 20:32:59 UTC 2011

On Sun, Apr 3, 2011 at 4:14 PM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> On 4 April 2011 05:49, Ian Evans <dheianevans at gmail.com> wrote:
>>> 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
>> }
> Under ubuntu (and same under most distribution), there's no need to
> change or manually edit an alsa config yourself. There's a "Sound"
> entry in System -> Preferences; there you can select which audio card
> you want to us; and from that audio card which output.
> If you do what to go the hard way (I still don't understand that urge
> people have to manually edit configuration file themselves) : aplay -l
> will show you the equivalent hardware number.

Okay, well, I'd rather not be fiddling with conf files either. I don't
see a System->Preferences in Mythbuntu 10.10. My desktop has:
System-> Additional Drivers, Login Screen, Mythbuntu Control Center,
MythTV Backend Setup, Nvidia X Server Settings, Synaptics Package
Manager, Time and Date, Upgrade Manager and Users and Groups. No
Preferences. :-)

Anyway, as I said earlier in the thread,
 pcm.!default {
type plug
slave.pcm {
type hw
card 1
device 9

is working for me. Sound in both desktop and MythTV. I did fiddle
around with the:
speaker-test -c 6 -D hdmi:CARD=NVidia,DEV=X you mentioned. 0,1,2,3 all
brought up:
Playback open error: -2,No such file or directory

The aplay -L actually shows it as:
hdmi:CARD=NVidia_1,DEV=x (notice the _1 after Nvidia), but doing the
speaker test with that just produces silence.

So, type hw card 1 device 9 is the way to go for me. Just plugged into
a TV, so no idea if that's producing 5.1 surround.

Thanks for your help.

More information about the mythtv-users mailing list