<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">I just learned something that I need to clarify. I didn't realize that I could initiate a shutdown of a running linux system by pressing the front panel power button until today when I tried to go around the running system with a hardware shutdown.<br><br>When I said before that I could get the system to wake up at a time set in the hardware alarm clock, what I did to accomplish that was to set the alarm clock with nvram-wakeup, reboot linux, force the rebooting system into the BIOS, and then press the front panel power button. While in the BIOS, pressing the power button causes the BIOS to shut the system down without needing an operating system running. This works. Shutting down from within linux (specifically Fedora Core 6) doesn't do something right as far as the motherboard/BIOS is
concerned and it never wakes up when the alarm clock setting arrives.<br><br>Any suggestions or pointers to other places to seek help?<br><div> </div>Craig Huff<br>huffcs@yahoo.com<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Craig Huff <huffcs@yahoo.com><br>To: mythtv-users@mythtv.org<br>Sent: Saturday, March 17, 2007 6:23:43 PM<br>Subject: Re: [mythtv-users] Can't get system to wake up at set time.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Henrik,<br><br>Thank you for the suggestion.<br><br>I take it that you mean the BIOS setting for enabling/disabling the HW alarm clock. If so, I have tried your suggestion and it didn't work for me.<br><br>Note that I had been successful getting the system to wakeup at a set time with the alarm clock enabled in the
BIOS if I shutdown using the front-panel soft-power button but not if I let Fedora Core 6 shutdown the system.<br><br>I use nvram-wakeup to access /dev/nvram and /dev/rtc instead of using /proc/acpi/alarm because /proc/acpi/alarm is apparently misconfigured somewhere (dsdt? BIOS? FC6?).<br><br>If I do:<br># cat /proc/acpi/alarm<br>I get a bogus return like:<br> 2007-00-00 00:00:00<br>even when I first set the alarm in the BIOS (or using
nvram-wakeup).<br><br>If I set the alarm with:<br># echo "2007-03-17 16:30:45" > /proc/acpi/alarm<br>I can get the same value back when I "cat" it, but it isn't set in the nvram if I reboot and go into the BIOS to check it.<br><div> </div>Craig Huff<br>huffcs@yahoo.com<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br><br>hmmmm,<br>Have you tried to disable the set HW clock setting ?<br>Also, if your method involves writing to /proc/acpi/alarm do you write in the right format and do your shutdown script run with the right priviliges.<br>
I use /proc/acpi/alarm on my a8n-vm cms with the HW clock setting disabled, setting hw clock on shutdown made wake up fail occasionaly.<br><br>/Henrik<br><br><div><span class="gmail_quote">On 3/17/07, <b class="gmail_sendername">
Craig Huff</b> <<a rel="nofollow" target="_blank" href="mailto:huffcs@yahoo.com">huffcs@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">To paraphrase Princess Leia: "You're my last hope."<br><br>I am using nvram-wakeup and Suspend2 to set the wakeup time and
shutdown my Fedora Core 6 system so that it will wake up when it is
time to record a show.<br><br>The pieces work, but not together.<br><br>I can use nvram-wakeup to set the alarm clock and confirm it is set in the BIOS.<br><br>I
can set the alarm with nvram-wakeup and shut down the system using the
front panel "soft-off" power button and the system WILL wake up at the
appointed time.<br><br>I can use Suspend2 to hibernate the system and recover on reboot.<br><br>I can use mythwelcome to invoke both of
these.<br><br>However, when I do this, the system never wakes up at the time specified.<br><br>I have tried the suggested change to /etc/init.d/halt, but no improvement.<br><br>I
tried setting the alarm time twice with manual invocations of
nvram-wakeup (to the same time) followed by a forced shutdown (shutdown -n now), but no
improvement.<br><br>FWIW, here is the debug_info from Suspend2:<br>Suspend2 debugging info:<br>- SUSPEND core : 2.2.9<br>- Kernel Version : 2.6.18-1.2869_1.fc6.cubbi_suspend2<br>- Compiler vers. : 4.1<br>- Attempt number : 6
<br>- Parameters : 0 16 0 0 0 5<br>- Overall expected compression percentage: 0.<br>- Compressor is 'lzf'.<br> Compressed 290709504 bytes into 145282452 (50 percent compression).<br>- SwapAllocator active.<br>
Swap available for image: 519908 pages.<br>- FileAllocator inactive.<br>- I/O speed: Write 81 MB/s, Read 105 MB/s.<br>- Extra pages : 22 used/756.<br><br>The mobo is an ASUS A8N-SLI with an Athlon 64
3200+ and 512MB. I upgraded to this from a Gigabyte GA-7DX mobo I had planned to use because I had the same problem with it using FC5 and thought it was just too old/incompatible.<br><br>
I would consider using a different distro, but based on Jarod Wilson's
website, I would expect that FC is suitable. I find it hard to believe
that this new ASUS mobo is incapable of supporting ACPI suspension and
wakeup by alarm clock.<br>
<br>I am running out of ideas.<br><br>I've been struggling with MythTV since September and just about run out of patience. If I can't get this working this month, I'll just have to give up on Linux and MythTv and go buy a Tivo because "it just works".
<br>
<br>Any help would be appreciated.<br><br>
Craig Huff<br>huffcs from yahoo</div><span class="ad"></span></div></blockquote></div></div><br></div></div><br>
<hr size="1"><a style="background: rgb(255, 234, 217) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(0, 100, 0);" rel="nofollow" target="_blank" href="http://games.yahoo.com">Bored stiff?</a> Loosen up...<br><a style="background: rgb(255, 234, 217) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(0, 100, 0);" rel="nofollow" target="_blank" href="http://games.yahoo.com">Download and play hundreds of games for free</a> on Yahoo! Games.</div><br></div></div><br>
<hr size=1>Finding fabulous fares is fun.<br><a href="http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
">Let Yahoo! FareChase search your favorite travel sites</a> to find flight and hotel bargains.</body></html>