public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Micha Feigin <michf-+lLcF8/aw9x6auLlOhE+pQ@public.gmane.org>
To: ML ACPI-devel
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: ACPI + Laptop Power Management
Date: Fri, 21 Nov 2003 15:53:21 +0200	[thread overview]
Message-ID: <20031121135321.GF5917@luna.mooo.com> (raw)
In-Reply-To: <3FBE0E02.3080203-wlebWZzHoyE@public.gmane.org>

On Fri, Nov 21, 2003 at 02:07:14PM +0100, Luca Capello wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello Micha,
> 
> on 11/21/03 12:13, Micha Feigin wrote:
> | like said here, laptopmode is what you want since it holds back dirty
> | buffer flushes which is what you are experiencing. It will fire up the
> | disk on reads though. I attached a script that you can use to enter
> | laptopmode (was actually distributed with laptopmode as far as I could
> | tell when googling for the original patch). I call it in responce to
> | ac events from acpid to get it running when the power is disconnected.
> | Will have to make sure that you get those event though since I had to
> | twik my dsdt for that.
> thx for the script, I was searching for but I couldn't find :-(
> On the other hand, what do I search for in my DSDT? I mean, in which way
> can I know if the 'laptop_mode' is supported on my DSDT?

laptopmode has nothing to do with you dsdt. The dsdt is the acpi code in
the bios. Its relevent to look into it if you are using acpi and having
trouble since a lot of the bioses have a buggy dsdt table (acpi code
that is).
If you are using acpi look into acpid to be able to act upon acpi
events.
I this case, with acpid not running do (assuming you do have acpi
support, otherwise you won't see this file)
cat /proc/acpi/event
and pull out your power cord and then reinsert it. If you are getting
ACAD or BAT or somesuch thing messages then everything is ok (I don't
know how to do this with apm) and you can use acpid to run the
laptopmode script whenever your power is connected/disconnected.


> 
> | I could try making such a patch for ext3 if you want.
> Yes, please :-)

Will look into it.

> 
> Thx, bye,
> Gismo / Luca
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
> 
> iD8DBQE/vg4AVAp7Xm10JmkRAmsWAJ928z25MNHuka49V08QWHa0NryAxACdFX8I
> iEg+mpKXPRz2VGqOOmu8y3g=
> =liFy
> -----END PGP SIGNATURE-----
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  parent reply	other threads:[~2003-11-21 13:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-21  4:01 ACPI + Laptop Power Management Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA03386202-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2003-11-21 10:12   ` Ducrot Bruno
     [not found]     ` <20031121101232.GL32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-21 10:57       ` Luca Capello
     [not found]         ` <3FBDEFB3.3060303-wlebWZzHoyE@public.gmane.org>
2003-11-21 13:03           ` Ducrot Bruno
     [not found]             ` <20031121130307.GM32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-22 18:31               ` Luca Capello
     [not found]                 ` <3FBFAB8A.4060001-wlebWZzHoyE@public.gmane.org>
2003-11-22 20:47                   ` Micha Feigin
2003-11-21 11:13       ` Micha Feigin
     [not found]         ` <20031121111323.GB18223-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2003-11-21 13:07           ` Luca Capello
     [not found]             ` <3FBE0E02.3080203-wlebWZzHoyE@public.gmane.org>
2003-11-21 13:21               ` Ducrot Bruno
2003-11-21 13:53               ` Micha Feigin [this message]
     [not found]                 ` <20031121135321.GF5917-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2003-11-21 14:44                   ` Luca Capello
     [not found]                     ` <3FBE24DC.8020203-wlebWZzHoyE@public.gmane.org>
2003-11-24 21:37                       ` Micha Feigin
2003-11-23 19:12       ` Luca Capello
     [not found]         ` <3FC106AE.4040701-wlebWZzHoyE@public.gmane.org>
2003-11-24 12:44           ` Ducrot Bruno
     [not found]             ` <20031124124451.GB7374-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-24 13:52               ` Luca Capello
     [not found]                 ` <3FC20D2F.30305-wlebWZzHoyE@public.gmane.org>
2003-11-25 16:07                   ` Micha Feigin
  -- strict thread matches above, loose matches on Subject: below --
2003-11-28  3:21 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA0338640F-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2003-11-28  9:32   ` Diego SANTA CRUZ
2003-11-28 15:47   ` Ducrot Bruno
     [not found]     ` <20031128154714.GP7374-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-28 18:09       ` Micha Feigin
2003-12-01  1:20 Ow Mun Heng

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=20031121135321.GF5917@luna.mooo.com \
    --to=michf-+llcf8/aw9x6aullohe+pq@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox