Saturday, June 10, 2006

Automatic shutdown and power-up for grumpy

No point having another computer running in the house 24x7 if we're not recording or watching all the time. The MythTV Wiki has an entry doing this using ACPI.

I installed powersaved (which doesn't support my AMD Duron 1600, stepping 00), and acpid.

grumpy:~# powersave -S
grumpy:~# cat /proc/acpi/alarm
2006-00-00 **:**:**
grumpy:~# echo "2006-06-10 18:00:00" > /proc/acpi/alarm
grumpy:~# cat /proc/acpi/alarm
2006-06-10 18:00:00
grumpy:~# shutdown -h now

So far so good. Let's see if this works. [Waiting for 8 minutes] Of course, that didn't work. Go into the BIOS, enable the RTC Alarm resume function, and for good measure also enable Wake-Up on RTC Alarm Interupt. Let's try again... And it didn't work with my motherboard. Darn it.

While at it, I at least added CPU temperature monitoring from the information displayed in /proc/acpi/.

No comments: