Xmbc blocks sound card with alsa
Posted: Sun Jan 15, 2012 11:49 am
Can anybody help me out? I want to run a virtualbox machine on my xmbc ion330 machine and want to use sound.
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 . However in the json rpc specification i can only find the notification command, which pops up ui notifications, which is also usefull but not what i want now. So if anybody knows how the play a sound using the json rpc specificiation, without stopping music / movie playback I would also be helped.
As a last question is anybody else integrating XBMC in their home automation software?
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 . However in the json rpc specification i can only find the notification command, which pops up ui notifications, which is also usefull but not what i want now. So if anybody knows how the play a sound using the json rpc specificiation, without stopping music / movie playback I would also be helped.
As a last question is anybody else integrating XBMC in their home automation software?