2010-06-13, 09:17
Hi,
I have an asrock ion 330, working pretty much great. The problem I have is that in the power management of xbmc i can only select hibernate and suspend.
I can use the power button on the front of the box to shutdown, but I'd quite like to be able to do it from the couch (lazy i know!)
here is how I set up the box so far:
1. Install a 'command line install' from the karmic alternate install cd. only 1 user 'xbmc' but password is not 'xbmc'
2. apt-get update and then upgrade and then dist-upgrade
3. add repositories for nvidia, svn xbmc, and kitlaan's ppa (for bluez)
from memory i installed
xbmc (last svn just before the merge, sorry, I will find out the svn revision later today)
xbmc-live
xinit
x11-xserver-utils
python-software-properties
pkg-config
python-dbus
bluez (for my ps3 remote)
acpid (had to to get the power button to work)
nvidia-glx-256
nvidia-settings
libvdpau1
ssh
samba
I also install alsa 1.0.23 via the alsa upgrade script.
I tried
which I think is for 9.04
So I tried everything in this thread:
http://forum.xbmc.org/showthread.php?tid...=hibernate
the
made suspend/hibernate work. I just don't know how to get more of the options available
any help appreciated.
also for a debug log, would you want a bootup/attempt to scroll through the options? as it doesnt show as a glitch or error or crash I'm not sure what to get.
###################SOLVED!##############################
edit - if anyone finds this, I did solve it by doing the following:
sudo apt-get install hal policykit-1 devicekit-power acpid acpi-support pm-utils policykit
then:
sudo nano /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla
[Actions for xbmc user]
Identity=unix-user:xbmc
Action=org.freedesktop.devicekit.power.*;org.freedesktop.consolekit.system.*
ResultActive=yes
ResultAny=auth_admin
ResultInactive=yes
then:
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions
no idea why it didnt and now it does. :S (this install i did it all before installing xbmc and xbmc-live, the only difference in terms of installed packages is the bold one)
I have an asrock ion 330, working pretty much great. The problem I have is that in the power management of xbmc i can only select hibernate and suspend.
I can use the power button on the front of the box to shutdown, but I'd quite like to be able to do it from the couch (lazy i know!)
here is how I set up the box so far:
1. Install a 'command line install' from the karmic alternate install cd. only 1 user 'xbmc' but password is not 'xbmc'
2. apt-get update and then upgrade and then dist-upgrade
3. add repositories for nvidia, svn xbmc, and kitlaan's ppa (for bluez)
from memory i installed
xbmc (last svn just before the merge, sorry, I will find out the svn revision later today)
xbmc-live
xinit
x11-xserver-utils
python-software-properties
pkg-config
python-dbus
bluez (for my ps3 remote)
acpid (had to to get the power button to work)
nvidia-glx-256
nvidia-settings
libvdpau1
ssh
samba
I also install alsa 1.0.23 via the alsa upgrade script.
I tried
Code:
sudo apt-get install hal
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions
which I think is for 9.04
So I tried everything in this thread:
http://forum.xbmc.org/showthread.php?tid...=hibernate
the
Code:
sudo apt-get install pm-utils policykit-1 devicekit-power
sudo nano /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla
[Actions for xbmc user]
Identity=unix-user:xbmc
Action=org.freedesktop.devicekit.power.*;org.freedesktop.consolekit.system.*
ResultActive=yes
ResultAny=auth_admin
ResultInactive=yes
made suspend/hibernate work. I just don't know how to get more of the options available
any help appreciated.
also for a debug log, would you want a bootup/attempt to scroll through the options? as it doesnt show as a glitch or error or crash I'm not sure what to get.
###################SOLVED!##############################
edit - if anyone finds this, I did solve it by doing the following:
sudo apt-get install hal policykit-1 devicekit-power acpid acpi-support pm-utils policykit
then:
sudo nano /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla
[Actions for xbmc user]
Identity=unix-user:xbmc
Action=org.freedesktop.devicekit.power.*;org.freedesktop.consolekit.system.*
ResultActive=yes
ResultAny=auth_admin
ResultInactive=yes
then:
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions
no idea why it didnt and now it does. :S (this install i did it all before installing xbmc and xbmc-live, the only difference in terms of installed packages is the bold one)