Suspend not working on openelec
#1
I am not able to suspend xbmc. When I try to suspend my HTPC just boots right back up. I was using a button on my remote to suspend and also tried to suspend from inside xbmc and still does not work.

Not sure if I did something wrong when programming the button on my remote to suspend. I should also mentioned that I have tried to suspend from the terminal and I get the same result. Below is all the code I have added to my HTPC.

I have a zotac ID84 PLUS running openelec 3.2.4

This is how my .lircrc file looks.

Code:
# restart xbmc
begin
button = KEY_RED
prog = irexec
config = /bin/killall -9 xbmc.bin &
end
# sleep
begin
button = KEY_GREEN
prog = irexec
config = /storage/.config/sleep.sh
end

/storage/.config/sleep.sh

Code:
#!/bin/sh
pm-suspend

Created a 'autostart.sh' in directory /storage/.config because my irexec was not starting automatically.

Code:
#start IRexec
su -c '/usr/bin/irexec -d /storage/.config/.lircrc' -l root

I forgot to mention that suspend was working for about two weeks and then stopped. It was working for the two weeks after I added the codes above.
Reply

Logout Mark Read Team Forum Stats Members Help
Suspend not working on openelec0