2009-08-22, 01:23
Good evening. For a couple of years I have been using Mediaportal, but because of bad stability i have converted to XBMC and I am really impressed already.
My setup:
Gigabyte MB with integrated sound/graphics. Connected to my Denon reciever via HDMI. I followed the unofficial ubuntu-minimal guide in the wiki together with som other guides i have found.
Almost everything works. My MCE remote works, standby/resume works and finally I have managed to get lirc to restart on resume from suspend. My problem at the moment is the sound.
In my audiosetup in xbmc i have the following:
Digital
Checked
Checked
hdmi
iec958
Unchecked
When i boot my htpc everything works exept from the skin-sounds. When I resume from standby the skin-sounds work, but not playback from mp3 og avi files. (Dvd sound works all the time, but i guess this has something to to with passtrough on dvd sound.)
Is there a way to restart any soundservices on resume so I can get this working? I have triet to restart alsa-utils, but no luck.
Another question:
In my resumescript i use "sudo /etc/init.d/xbmc-live restart" to restart xbmc after standby, is this a "clean" way to to it? I have tried several other kill/start scripts, but my method seems to be working best for me.
My suspendscript "/home/xbmc/scripts/suspend.sh":
#!/bin/sh
sudo /etc/init.d/xbmc-live stop
sudo /etc/init.d/lirc stop
sudo modprobe -r lirc_mceusb
sudo pm-suspend
exit
My resumescript "/usr/lib/pm-utils/sleep.d/99xbmc":
#!/bin/bash
sudo modprobe lirc_mceusb
sudo /etc/init.d/lirc start
sudo /etc/init.d/xbmc-live start
exit
Is there anyone who can help me with this? I am no linux guru, but have been using Ubuntu for some time and i am a friend of Google so I have been searching alot on this issue.
My setup:
Gigabyte MB with integrated sound/graphics. Connected to my Denon reciever via HDMI. I followed the unofficial ubuntu-minimal guide in the wiki together with som other guides i have found.
Almost everything works. My MCE remote works, standby/resume works and finally I have managed to get lirc to restart on resume from suspend. My problem at the moment is the sound.
In my audiosetup in xbmc i have the following:
Digital
Checked
Checked
hdmi
iec958
Unchecked
When i boot my htpc everything works exept from the skin-sounds. When I resume from standby the skin-sounds work, but not playback from mp3 og avi files. (Dvd sound works all the time, but i guess this has something to to with passtrough on dvd sound.)
Is there a way to restart any soundservices on resume so I can get this working? I have triet to restart alsa-utils, but no luck.
Another question:
In my resumescript i use "sudo /etc/init.d/xbmc-live restart" to restart xbmc after standby, is this a "clean" way to to it? I have tried several other kill/start scripts, but my method seems to be working best for me.
My suspendscript "/home/xbmc/scripts/suspend.sh":
#!/bin/sh
sudo /etc/init.d/xbmc-live stop
sudo /etc/init.d/lirc stop
sudo modprobe -r lirc_mceusb
sudo pm-suspend
exit
My resumescript "/usr/lib/pm-utils/sleep.d/99xbmc":
#!/bin/bash
sudo modprobe lirc_mceusb
sudo /etc/init.d/lirc start
sudo /etc/init.d/xbmc-live start
exit
Is there anyone who can help me with this? I am no linux guru, but have been using Ubuntu for some time and i am a friend of Google so I have been searching alot on this issue.