On my Raspberry Pi 2, I suddenly have no HDMI sound and no headphone sound either save for the hello_audio.bin test, which works for the headphones but not the HDMI.
I have tried this: test-sound () { sudo modprobe snd_bcm2835 for output in 0..2; do sudo amixer -c 0 cset numid=3 $output sudo aplay /usr/share/sounds/alsa/Front_Center.wav done } No sound, no error message. I uncommented the hdmi_drive=2 line in /boot/config.txt and rebooted - same. OS: No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 42 Blogomatic articles -