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

Simon Lundell simon at ida.his.se
Tue Apr 6 03:25:27 EDT 2004


I've tried the nvram-wakeup-thing but my mythbox don't want to shut
down. The mythuser can shutdown and wakeup from the command line, but
mythtv-shutdown does not work. Any hints?
//Simon

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Boyd II, Willy
Sent: den 5 april 2004 21:43
To: Discussion about mythtv
Subject: RE: [mythtv-users] sleep/wake with Jarod's guide



>-----Original Message-----
>From: mythtv-users-bounces at mythtv.org
>[mailto:mythtv-users-bounces at mythtv.org] 
>Sent: Monday, April 05, 2004 2:02 PM
>To: Discussion about mythtv
>Subject: Re: [mythtv-users] sleep/wake with Jarod's guide
>
>
>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".

At least on my machine, poweroff shuts down services properly.  Only
difference I've ever seen, is I once had an old machine that wouldn't
actually "power off" using '/sbin/shutdown -h now'.  Or maybe my problem
was not using '-h'?  I dunno... since then I just use 'poweroff' and it
works like a charm.


>
>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