Sound over HDMI on ION2 systems

How to get the sound working over HDMI on ION2 systems including: Shuttle X35GT and Eee Box EB1012P and others

The solution for this problem is very simple

  • First, connect to your box with SSH or SAMBA and go to the configfiles share (/storage/.config in SSH).
  • Open the directory asound.conf.sample and copy the file asound.conf_double-xs35gt.sample into the Configfiles share beneath it. Then rename the file to asound.conf
  • Through SSH, you can use this simple command to accomplish above:
cp ~/.config/asound.conf.sample/asound.conf_double-xs35gt.sample ~/.config/asound.conf
  • Reboot your system.
  • Inside XBMC, go to:
  • Settings - System - Audio, make the following configuration:
Audio output = HDMI
Speaker configuration = 7.1 (or the what your receiver is capable of)

Audio output device = custom
Custom audio device = plughw:1,7

Passthrough output device = custom
Custom passthrough device = plughw:1,7
  • Reboot the system
Courtesy of therio