You are not logged in.
On a whim, i tried a echo -n mem > /sys/power/state on my mythtv box and it worked...problem is that it resumes instantly! As soon as i hear the click of the case turning off and everything beginning to spin down, it starts spinning back up again.
Something is triggering the PC to turn on again, maybe the wireless keyboard, IR remote?? Anyone got any ideas, had similar issues? My mythtv box is so close to being completely usable it's just not funny!
Offline
That's usually a BIOS issue, I'd say. See if you can find any settings related to power management, powerloss or wakeup events.
1000
Offline
That's usually a BIOS issue, I'd say. See if you can find any settings related to power management, powerloss or wakeup events.
great, i'll have a look after work and report back.
Cheers,
Offline
no luck. All those related power management features were listed under APM and i disabled everything. I left acpi features enabled, but as far as i could tell there weren't any power management features, just options like "enable acpi 2.0" - really high level options.
Do i need to have acpid running if i am using the echo -n mem command ?
FYI this is the script i use for suspending ( taken and altered from another post).
#!/bin/sh
sudo killall mythfrontend
sudo /etc/rc.d/mythbackend stop #Sevice to be stopped
sudo /etc/rc.d/mysqld stop
sudo /etc/rc.d/lircd stop
sudo netcfg --stop woopfi #Stop wireless network
sudo modprobe -r ndiswrapper #Unload wireless card modules
sudo echo -n mem > /sys/power/state #Suspend
sudo modprobe ndiswrapper #Reload wireless network card module
sudo netcfg woopfi #Restart wireless network
sudo /etc/rc.d/mysqld start
sudo /etc/rc.d/lircd start
irexec -d /home/mythtv/.mythtv/lircrc
sudo /etc/rc.d/mythbackend start #Restart service
sudo -H -u mythtv mythfrontend > /dev/null &
Offline
I don't know too much about it, but I would venture to guess the fact that you have something starting to run right as you are telling the computer to suspend. So it suspends, and then goes to execute the next bit.
Offline