Sun Sep 02, 2012 12:45 am
This is how I got my sound working through HDMI using the latest version of Raspian
Linux.
1. Did the 'modprobe' command as you have done.
2. Did 'sudo apt-get install alsa-utils' in a terminal window.
3. Did 'sudo nano /etc/asound.conf' in a terminal window and copied the following text
pcm.mmap0 {
type mmap_emul;
slave {
pcm "hw:0,0";
}
}
pcm.!default {
type plug;
slave {
pcm mmap0;
}
}
into the file. Then save the file using Ctrl O and the Return key and exit from the nano editor using
Ctrl+X.
Now in a terminal window type the command 'sudo amixer cset numid=3 2'
This sets the sound to hi-fi over HDMI
Using 'sudo amixer cset numid=3 1' woulod set the sound to lo-fi from the line out socket
Then is a terminal window do 'sudo apt-get install vlc' to install the vlc media player.
You can then use vlc to open a sound file to test your set up. If you still get no sound then
you have entered something incorrectly so post again and we can go through it.
If you are not using the latest version of Raspian then this may not work and you are on
your own so good luck.
.