Ideally I would like others share there own solutions and then this could become a reference of 'known fixes'. Asking questions here is probably pointless as I'm not that familiar to using Linux and this is about the extent of my knowledge so far. As I find new problems and their solution I will add them here, and it would be good if others can add their own fixes to specific HDMI audio problems.
Distro: Debian Squeeze - No HDMI sound output at all
Distro: Debian Squeeze & Raspbian(Debian Wheezy) - No HDMI sound output at allInstall ALSA drivers which are not installed by defaultCode: Select all
sudo apt-get update sudo apt-get upgrade sudo apt-get alsa-utils
Test that the sound is working using the following command...Enable the sound driver and force it to use HDMICode: Select all
sudo modprobe snd_bcm2835 sudo amixer cset numid=3 2
Finally I found that the config.txt needed to be edited to force HDMI to use sound (some tv's cause the RPi set DVI as the preferred output which does not support sound)This will need to be done each time the RPi is rebooted, to avoid this add both lines into the modules file which is loaded when the RPi starts upJust omit the sudo before each command and keep each command on a seperate line.Code: Select all
sudo nano /etc/modules
Add a new line containing the following text...Code: Select all
sudo nano /boot/config.txt
hdmi_drive=2
Then save and exit by pressing Ctrl+x followed by y and Enter
Code: Select all
sudo aplay /usr/share/sounds/alsa/Front_Center.wav
Application: SchismTracker - No sound when installed as per instruction given in TheMagPi Issue 2Edit the Scratch startup scriptNear the bottom of the file locate the following line...Code: Select all
sudo nano /usr/bin/scratch
# if pulseaudio is running, fall back to OSS
Now comment out the next 6 lines by inserting a # at the beginning of each line.
Next add a new line with the following text...
VMOPTIONS="$VMOPTIONS -vm-sound-alsa"
make sure to include the quotation marks and save then exit as described before
None of these solutions are my own work, all credit goes to those that have far more knowledge and experience than meInstead to downloading the app and extracting the files, it should be possible to install directly from the repositories...I think that doing it this way brings with it any dependancies that Schism needs?Code: Select all
sudo apt-get install schism

Regards,
RandomCoder