[mythtv-users] sleep/wake with Jarod's guide

Boyd II, Willy wboyd at fulbright.com
Mon Apr 5 16:34:26 EDT 2004


>-----Original Message-----
>From: mythtv-users-bounces at mythtv.org 
>[mailto:mythtv-users-bounces at mythtv.org] 
>Sent: Monday, April 05, 2004 3:20 PM
>To: Discussion about mythtv
>Subject: Re: [mythtv-users] sleep/wake with Jarod's guide
>
>
>Im trying to make my mythbox to power "hard" off. It is an atx, and is 
>able to do so, but in linux it just kill's off all processes and turns 
>hd's off, but it does not turn the pc off compleately ... is 
>there a way 
>to force it to do so?

/sbin/poweroff   -- does just that for me, and *does* gracefully stop
all services first.


>
>Henk Poley wrote:
>
>> Op maandag 5 april 2004 20:37, schreef Kenneth Ljungh:
>> 
>>>Henk Poley wrote:
>>>
>>>>Op maandag 5 april 2004 19:40, schreef Kenneth Ljungh:
>>>>
>>>>>Myth wrote:
>>>>>
>>>>>>Does anyone have the sleep/wake function working on FC1 
>with Axel's 
>>>>>>custom kernel? The electric bill is killing the gaf.
>>>>>
>>>>>I'm using nvram wakeup 
>http://sourceforge.net/projects/nvram-wakeup 
>>>>>on a asus pundit box (running gentoo) and it works great.
>>>>
>>>>Do you also shutdown the box (like I do) or do you use some of the 
>>>>suspend to RAM/Disk stuff? There seems to be some interest 
>for it on 
>>>>the mailinglist currently, so please share your resources. :-)
>>>
>>>Yes, I have myth run /sbin/poweroff to shut down the box and 
>>>nvram-wakeup to use the cmos clock to power on the box. I also set 
>>>myth to power on 120 secs before recording since the box boots in 
>>>about 1 min.
>> 
>> 
>> Ehm isn't poweroff a 'hard' thing. Like, it doesn't shutdown 
>services 
>> and the
>> such? My system runs "/sbin/shutdown -h now".
>> 
>> That boottime is about what I get too, but I never clocked 
>it after I 
>> enabled
>> the parallel rc stuff genoo has. Edit /etc/conf.d/rc and set 
>> RC_PARALLEL_STARTUP="yes", don't know if it helps anything 
>though. :-P
>> 
>> 
>>>nvram-wakeup didn't automatically recognise the pundit but 
>the latest 
>>>release (0.95) do support it so one just have to specify it on the 
>>>command line. Also there was a wake-up-before margin of 5 min in one 
>>>of the .h files that I set 0 zero before compiling.
>> 
>> 
>> Hehe, I think I have a little advantage that I can read the German
>> nvram-wakeup forums. There's stated that you can download 
>the CVS version, or 
>> just the definitions header file, and it would work after a 
>recompile.
>> 
>> btw, I think that it might be possible to directly write in 
>UNIX epoch
>> to /proc/acpi/alarm and have it work, though I never tried 
>that. Obviously 
>> you would need to have the wake-up feature enabled in the 
>BIOS already 
>> (nvram-wakeup does that for you).
>> 
>> 	Henk Poley <>< _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>



More information about the mythtv-users mailing list