All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petros Kolyvas <pkolyvas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Using the SLPB button for MEM state (suspend to ram)
Date: Mon, 10 Oct 2005 23:10:25 -0400	[thread overview]
Message-ID: <BAYC1-PASMTP03F4CB11CD595EA2BC0C07D6780@CEZ.ICE> (raw)
Message-ID: <434B2D21.1090709@gmail.com> (raw)

Hi folks,

I've been using ACPI4Linux's suspend to RAM for some time. Until a
recent reinstall of gentoo, I had been using the lid button (LID0), and
a script which polled its state (/proc/acpi/button/lid/LID0/state) and
consequently, depending on whether the lid was up or down, the laptop
would either come out of or go into the "mem" state.

Now the thing is that I've begun to use my laptop in the car quite a
bit; got myself an inverter and I keep it tucked under the front
passenger seat - anyway, the why and hows don't matter.

Basically I want to keep the screen down and keep the laptop powered
up... no problem... just remove the lid button acpi script. The thing is
that I would like to be able to put it into the "mem" state when I so
desire.

I noticed that the Sleep Button, (/proc/acpi/button/sleep/SLPB) is
present but that there is no state (/proc/acpi/button/sleep/SLPB/state)
to poll in a script and therefore I'm unsure if I can use the button at
all.

If anyone has any idea on how to possibly use this button, if it can be
used, or if there's a HOWTO out there that I missed, I'd greatly
appreciate it.

All the best for those celebrating Canadian thanksgiving.

Pk


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

             reply	other threads:[~2005-10-11  3:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11  3:10 Petros Kolyvas [this message]
2005-10-11  3:10 ` Using the SLPB button for MEM state (suspend to ram) Petros Kolyvas
     [not found]   ` <BAYC1-PASMTP03F4CB11CD595EA2BC0C07D6780-NW7P6tAEKYY@public.gmane.org>
2005-10-11  3:22     ` Petros Kolyvas
2005-10-11  3:22       ` Petros Kolyvas
2005-10-11  4:07 ` Neil Brown

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=BAYC1-PASMTP03F4CB11CD595EA2BC0C07D6780@CEZ.ICE \
    --to=pkolyvas-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.