[mythtv-users] WakeOnAlarm still not working

Peter Carlsson maillist.peter at home.se
Mon Dec 3 20:16:56 UTC 2007


Michelle Dupuis wrote:

> Start real simple...
> 
> 1. Check BIOS supports wakeup and is turned on in bios
> 2. Set a wakeup time in the BIOS
> 3. Watch if system wakes
> 4. If yes, set new wakeup time writing direct to /proc/acpi
> 5. If yes, try setting wakeup time using script like acpi-wakeup
> (www.generationd.com)
> 6. If yes, link this script into myth
> 
> If you get stuck at step 1 or 2, you need mobo support.

Maybe I wasn't clear enough in my explanation below but step 1-3
works. Also, I have verified (as explained below) that step 4
writes the content of /proc/acpi/alarm to the nvram but doesn't
actually wake it up.

As for step 5-6 I didn't find the acpi-wakeup script on the
URL you were referencing.

 > > -----Original Message-----
 > > From: mythtv-users-bounces at mythtv.org
 > > [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Peter Carlsson
 > > Sent: Thursday, November 29, 2007 5:05 AM
 > > To: mythtv-users at mythtv.org
 > > Subject: [mythtv-users] WakeOnAlarm still not working
 > >
 > > Hello!
 > >
 > > A while back I asked for help about my problems with Wake On Alarm.
 > > I have not yet solved the problem, but I feel I am getting
 > > closer and closer...
 > >
 > > I have tried to follow this excellent guide:
 > > https://help.ubuntu.com/community/MythTV/Install/WhatNext/ACPIWake
 > >
 > > It is written for Ubuntu though I use Debian.
 > >
 > > Setting the wake up time in BIOS and turning off the computer
 > > with the case button works.
 > >
 > > Setting the wake up time in /proc/acpi/alarm and doing either
 > > 'shutdown -h -P now' or 'shutdown -h -H now' does not work.
 > >
 > > I have also tried with the special kernel image which only
 > > purpose is to do a reboot before shutdown. That does not work either.
 > >
 > > I was suggested to modify /etc/init.d/halt to set
 > > /proc/acpi/alarm after setting the hwclock. But in Debian
 > > this seems to be handled in the /etc/init.d/hwclock.sh and
 > > /etc/init.d/hwclockfirst.sh, which I have both modified
 > > according to the guide above.
 > >
 > > I have also used cat_nvram (part of nvram_wakeup) to verify
 > > that what I write to /proc/acpi/alarm actually get written to
 > > NVRAM, which it does.
 > >
 > > Could there be any installed packages in conflict with what I
 > > am trying to do? I have manually installed the following packages:
 > >   powersaved, nvram-wakeup, hibernate, acpid
 > >
 > > Any thoughts or suggestions?
 > >
 > > Best regards,
 > > Peter Carlsson
 > > _______________________________________________
 > > mythtv-users mailing list
 > > mythtv-users at mythtv.org
 > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Best regards,
Peter Carlsson


More information about the mythtv-users mailing list