[mythtv] OT - Keeping HDMI audio link open

Kingsley Turner krt at krt.com.au
Sun Jun 26 21:27:13 UTC 2016


On 24/06/16 17:25, Mark Perkins wrote:
> _________________________________
>
> Ok. By following this -
> http://superuser.com/questions/626606/how-to-make-alsa-pick-a-preferred-soun
> d-device-automatically I have managed to get alsa to default to the correct
> device. I did:
>
> cat /proc/asound/modules
>
> That showed I had 2 x "snd_hda_intel" and 1 x "snd_usb_intel" so to tell
> them apart I did:
>
> cat /proc/asound/cards
>
> That showed me which card was my NVidia card (it was listed second). I then
> edited (as root) /etc/modprobe.d/alsa-base.conf and added to the very bottom
> of the file:
>
> options snd_hda_intel enable=1 index=0
> options snd_hda_intel enable=0 index=1
>
> And then rebooted. On reboot running the command:
>
> aplay /some/audio/file.wav
>
> correctly outputs audio over my amp without the need for the -D switch. I
> then ran the following command in a terminal window:

Hi Mark,

The aplay still didn't work for me unless I specified the device name.
Have you set the device in some alsa config file?

cheers,
-kt



More information about the mythtv-dev mailing list