public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Power on at specified time.
@ 2003-02-18 23:12 Nigel Cunningham
  0 siblings, 0 replies; 5+ messages in thread
From: Nigel Cunningham @ 2003-02-18 23:12 UTC (permalink / raw)
  To: ACPI List

Hi all.

For a while now I've been wanting to get my laptop to automatically
power on at a particular time of day. I know it's capable of it because
when I do a BIOS upgrade, it powers off and then powers back up a few
seconds later. Would you expect this functionality to be activated
through ACPI, and in particular through the /proc/acpi/alarm interface?
I've tried writing a date & time to /proc/acpi/alarm, but the computer
just freezes (and doesn't unfreeze at the time I chose!).

Regards,

Nigel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Power on at specified time.
@ 2003-02-19  0:09 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A847138089-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Grover, Andrew @ 2003-02-19  0:09 UTC (permalink / raw)
  To: Nigel Cunningham, ACPI List

> From: Nigel Cunningham [mailto:ncunningham-oKK1aGe2n869koe0gwxAeg@public.gmane.org] 
> For a while now I've been wanting to get my laptop to automatically
> power on at a particular time of day. I know it's capable of 
> it because
> when I do a BIOS upgrade, it powers off and then powers back up a few
> seconds later. Would you expect this functionality to be activated
> through ACPI, and in particular through the /proc/acpi/alarm 
> interface?
> I've tried writing a date & time to /proc/acpi/alarm, but the computer
> just freezes (and doesn't unfreeze at the time I chose!).

Well, go fix it and send me a patch! :)

Seriously, Pat roughed-in the alarm support a long long time ago, but it
needs someone to take another look at it and get it fully functional.

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Power on at specified time.
       [not found] ` <F760B14C9561B941B89469F59BA3A847138089-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
@ 2003-02-19  0:55   ` Nigel Cunningham
  0 siblings, 0 replies; 5+ messages in thread
From: Nigel Cunningham @ 2003-02-19  0:55 UTC (permalink / raw)
  To: Grover, Andrew; +Cc: ACPI List

On Wed, 2003-02-19 at 13:09, Grover, Andrew wrote:
> Well, go fix it and send me a patch! :)
> 
> Seriously, Pat roughed-in the alarm support a long long time ago, but it
> needs someone to take another look at it and get it fully functional.

Gladly, but I wanted to make sure I wasn't barking up the wrong tree
first, and then I need a push in right direction (toward some
documentation!).

Regards,

Nigel



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Power on at specified time.
@ 2003-03-14  1:02 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A847E96D01-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Grover, Andrew @ 2003-03-14  1:02 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: ACPI List

> From: Nigel Cunningham [mailto:ncunningham-oKK1aGe2n869koe0gwxAeg@public.gmane.org] 
> On Wed, 2003-02-19 at 13:09, Grover, Andrew wrote:
> > Well, go fix it and send me a patch! :)
> > 
> > Seriously, Pat roughed-in the alarm support a long long 
> time ago, but it
> > needs someone to take another look at it and get it fully 
> functional.
> 
> Gladly, but I wanted to make sure I wasn't barking up the wrong tree
> first, and then I need a push in right direction (toward some
> documentation!).

Go check out include/linux/mc146818rtc.h. Using this plus the existing
code plus a recent ICH datasheet available on developer.intel.com (I
recommend ICH3m's - section 9.6 is "Real Time Clock Registers") you
should be able to get started.

Hope this helps -- Regards -- Andy


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Power on at specified time.
       [not found] ` <F760B14C9561B941B89469F59BA3A847E96D01-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
@ 2003-03-14  1:21   ` Nigel Cunningham
  0 siblings, 0 replies; 5+ messages in thread
From: Nigel Cunningham @ 2003-03-14  1:21 UTC (permalink / raw)
  To: Grover, Andrew; +Cc: ACPI List

Thanks, Andy.

I'd just about forgotten about this topic :> I'll give it a go after I
finish the port of Florent's swsusp to 2.5.

Regards,

Nigel

On Fri, 2003-03-14 at 14:02, Grover, Andrew wrote:
> > From: Nigel Cunningham [mailto:ncunningham-oKK1aGe2n869koe0gwxAeg@public.gmane.org] 
> > On Wed, 2003-02-19 at 13:09, Grover, Andrew wrote:
> > > Well, go fix it and send me a patch! :)
> > > 
> > > Seriously, Pat roughed-in the alarm support a long long 
> > time ago, but it
> > > needs someone to take another look at it and get it fully 
> > functional.
> > 
> > Gladly, but I wanted to make sure I wasn't barking up the wrong tree
> > first, and then I need a push in right direction (toward some
> > documentation!).
> 
> Go check out include/linux/mc146818rtc.h. Using this plus the existing
> code plus a recent ICH datasheet available on developer.intel.com (I
> recommend ICH3m's - section 9.6 is "Real Time Clock Registers") you
> should be able to get started.
> 
> Hope this helps -- Regards -- Andy



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-14  1:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-14  1:02 Power on at specified time Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E96D01-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-14  1:21   ` Nigel Cunningham
  -- strict thread matches above, loose matches on Subject: below --
2003-02-19  0:09 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847138089-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-02-19  0:55   ` Nigel Cunningham
2003-02-18 23:12 Nigel Cunningham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox