public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Dino Klein" <zagzag-lists-zY4eFNvK5D9If6P1QZMOBw@public.gmane.org>
To: Jarek Zuk <j.zuk-QYlicCNJNu5TzFIbWlesCw@public.gmane.org>,
	Dino Klein <zagzag-lists-zY4eFNvK5D9If6P1QZMOBw@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re:  ACPI wake up event (alarm)
Date: Thu, 15 Apr 2004 19:22:45 +0000	[thread overview]
Message-ID: <W566957239156241082056965@webmail1> (raw)

You can check the specs from Intel as to whether the 845 supports S3 or S4. If it does, then the motherboard mfg. must have slacked; also check for BIOS updates for your motherboard.

> -----Original Message-----
> From: Jarek Zuk [mailto:j.zuk-QYlicCNJNu5TzFIbWlesCw@public.gmane.org]
> Sent: Thursday, April 15, 2004 07:03 PM
> To: 'Dino Klein'
> Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] ACPI wake up event (alarm)
> 
> 
> I have Intel 845 . S2 S3 S4  dont work , no reaction at all. 
> Only S5 does something.
> Yes my script unmoutns the filesystems before going to S5, to avoid fsck on boot .
> I have noticed also that when i invoke alarm event before  going to S5 it also works, but 
> not always ( i tried scheduling it in rc.local , but this workaroud doesnt help) .
> Any ideas why S3 or S4 doesnt work for me ?
> 
> Jarek Zuk 
> 
> 
> Dnia czw 15. kwietnia 2004 18:11, napisałeś:
> > According to the specs the RTC must be able to wakeup a system from S1, S2,
> > or S3, S4 is optional, and S5 is not even considered a sleep state, so the
> > RTC is not required to support S5. (check ACPI 2.0c, section 4.7.2.4, and
> > table 5-9) Even still, the chipset might support it, as my Via 686B which
> > treats S4 & S5 the same way.
> >
> > This is just a guess, but perhaps the handling of the wakeup bits in the
> > linux ACPI is inconsistent, so when you transition to S1, it does allow for
> > a wakeup from the RTC, and then doesn't clear it before entering S5 (as
> > specified in the footnote). However, when you go directly to S5, the RTC is
> > not set as wakup source, and that's why it doesn't work. If S3 or S4 work
> > for you, then perhaps you should use them, thus avoiding this whole issue.
> >
> > One sidenote - are you unmounting the filesystems before putting the
> > machine to S5? after all, that's the equivalent of pressing the power
> > button.
> >
> > > -----Original Message-----
> > > From: Jarek Zuk [mailto:j.zuk-QYlicCNJNu5TzFIbWlesCw@public.gmane.org]
> > > Sent: Thursday, April 15, 2004 12:48 PM
> > > To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > Subject: [ACPI] ACPI wake up event (alarm)
> > >
> > >
> > > I have a question about ACPI alarm (/proc/acpi/alarm).
> > >
> > > I have a cron job  that runs early in the morning, so I need my machine
> > > to be up at that time. I dont want to have it up all night, so I want to
> > > use the alarm feature.
> > >
> > > I use kernel 2.4.25 with your corresponding patch. I read everything on
> > > acpi page about /proc/acpi/sleep and /proc/acpi/alarm .
> > > What I want to do is :
> > > echo 2004-04-15 14:40:00 > /proc/acpi/alarm
> > > echo 5 > /proc/acpi/sleep
> > >
> > > and get the computer up when the specified time comes.
> > >
> > > My problem is that it works  sometimes, well what I noticed is that it
> > > works providing that before I put the system into sleep mode (5)  I do :
> > > echo 1 > /proc/acpi/sleep
> > > (the power button starts blinking)
> > > press the button  ( system is awake )
> > >
> > > When I  dont do this  "echo 1 > /proc/acpi/sleep" thing , the computer
> > > doesn't  turn on whet time comes. :(
> > >
> > > Looks like putting system into a sleep mode 1 changes something that
> > > allows later to do proper wakeup.
> > >
> > > Does the system have to be in sleep mode to be woken up by alarm event ?
> > > or it should work also after shutdown ?
> > >
> > > I want to have this procedure in a script and presing the power button 
> > > is kinda difficult from a script.
> > >
> > > Any pointers are welcome.
> > > Jarek Zuk
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: IBM Linux Tutorials
> > > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > > GenToo technologies. Learn everything from fundamentals to system
> > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > > _______________________________________________
> > > Acpi-devel mailing list
> > > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > https://lists.sourceforge.net/lists/listinfo/acpi-devel
> 
> 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

             reply	other threads:[~2004-04-15 19:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 19:22 Dino Klein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-15 16:11 ACPI wake up event (alarm) Dino Klein
     [not found] ` <W4355214192244891082045497-Rg38Kg9s258@public.gmane.org>
2004-04-15 19:03   ` Jarek Zuk
2004-04-15 12:48 Jarek Zuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=W566957239156241082056965@webmail1 \
    --to=zagzag-lists-zy4efnvk5d9if6p1qzmobw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=j.zuk-QYlicCNJNu5TzFIbWlesCw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox