
Re: Ubuntu [lubuntu] / no sound over HDMI
OK, revised question. Also a continuing document of where I am for future readers with the same problem.
First, thanks to this page (
http://superuser.com/questions/53957/wh ... ich-to-use) I've learned about sound device aliases, which is good because after I posted the above I found that the command I had previously used didn't work anymore...
But the following command consistently succeeds:
Code:
aplay -D plughw:CARD=Generic,DEV=3 <soundfile>
Which alias to use I determined by looking at the list of aliases given by aplay -L :
Code:
tdb@silent:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
dmix:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample snooping device
hw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Hardware device with all software conversions
default:CARD=SB
HDA ATI SB, ALC888 Analog
Default Audio Device
... and so on and so on...
And experimenting with each of the ones that showed HDMI in the paragraph.
So the resulting question is:
How do I incorporate the information that I *always* want any sound-generating program to use "plughw:CARD=Generic,DEV=3" as the sound device into an .asoundrc file?