2010-01-04, 19:33
One of the issues I had with my Live install was how to get discrete suspend/wakeup from my remote.
I use a Philips TSU7000 that I program with macros to make it easy for family and guests to be able to use the HT. I have buttons for "Watch HTPC", "Watch DirectTV", "Turn All Off", etc. Equipment without a discrete on/off can be problematical. The remote isn't smart enough to know that the HTPC is already off when "Turn All Off" is pressed; thus turning it on when it should be off. Even if the remote was smart enough, a command missed by the HTPC then would put the device in the opposite mode the remote thinks it is.
Because of this I needed discrete on/off (suspend/wakeup). I opened a feature request, but after thinking about it for a while I came to a realization. XBMC isn't running when the system is suspended and that maybe the wakeup function is at a lower level.
I did an experiment with my MCE remote and it worked. In the remote.xml file I commented out the <power>XBMC.Shutdown()</power> line. I then added another line <star>XBMC.Shutdown()</star> (commented out all other star references). Rebooted and found that the power button no longer worked to suspend but the star (*) key did. The power button on the MCE remote did work for waking the system back up.
This proved that the wakeup is hard wired into the BIOS/MCE USB Receiver when the system is suspended.
I ended up using the 9 key instead of the star (*) key on my TSU7000 for suspend and it works great.
I tried to post thia as a HOWTO but for some reason I don't have permissions. Maybe I don't know what I'm doing and the forum software is smart enough to know it?
I use a Philips TSU7000 that I program with macros to make it easy for family and guests to be able to use the HT. I have buttons for "Watch HTPC", "Watch DirectTV", "Turn All Off", etc. Equipment without a discrete on/off can be problematical. The remote isn't smart enough to know that the HTPC is already off when "Turn All Off" is pressed; thus turning it on when it should be off. Even if the remote was smart enough, a command missed by the HTPC then would put the device in the opposite mode the remote thinks it is.
Because of this I needed discrete on/off (suspend/wakeup). I opened a feature request, but after thinking about it for a while I came to a realization. XBMC isn't running when the system is suspended and that maybe the wakeup function is at a lower level.
I did an experiment with my MCE remote and it worked. In the remote.xml file I commented out the <power>XBMC.Shutdown()</power> line. I then added another line <star>XBMC.Shutdown()</star> (commented out all other star references). Rebooted and found that the power button no longer worked to suspend but the star (*) key did. The power button on the MCE remote did work for waking the system back up.
This proved that the wakeup is hard wired into the BIOS/MCE USB Receiver when the system is suspended.
I ended up using the 9 key instead of the star (*) key on my TSU7000 for suspend and it works great.
I tried to post thia as a HOWTO but for some reason I don't have permissions. Maybe I don't know what I'm doing and the forum software is smart enough to know it?