On the commandline I can play sounds when xbmc is stopped, but as soon as it is enabled it stops working. The error message i get is "Playback open error: Device or resource busy".
I have googled around and found that:
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
should help, but in my case it does nothing. I found somewhere that if you configure alsa system wide it should also help, so moved the content of my .asoundrc to /etc/asound.conf. Also not getting me any further. Any linux guru around that can help me further with alsa configuration?
The thing i am trying to accomplish is to run my home automation server in a virtual box environment and to get it to play notification sounds. I have also looked for a work around, i thought that if xbmc could play my sounds basically the problem of blocking the device is also effectively gone

As a last question is anybody else integrating XBMC in their home automation software?