public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: ACPI + Laptop Power Management
@ 2003-12-01  1:20 Ow Mun Heng
       [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA0338650A-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ow Mun Heng @ 2003-12-01  1:20 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: Micha Feigin, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f



> -----Original Message-----
> From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org]
> Sent: Friday, November 28, 2003 11:47 PM
> To: Ow Mun Heng
> Cc: Micha Feigin; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] ACPI + Laptop Power Management
> 
> 
> > I took a look at laptop mode. However, as the author said "it adds a
> > non-significant" amount of battery time.
> 
> Where have you read that?
> Have you looked at linux/Documentation/laptop-mode.txt?

I took another look at the kernel docs. It _does_ say it adds like 10% of
batt time. The initial post about the "NON-significant ..etc" was actually
gathered from one website that had the laptop-mode's author email.

 
> 
> > The thing here is, even though it's flushing the buffers 
> when there are
> > others to flush, it makes not difference if the drive is 
> still spinning and
> > not in standby-mode! I can't figure out what is making the 
> HD _not_ spin
> > down.
> 
> man hdparm, hdparm -S something.

That's just for power savings. eg: power management of the HD.. I spin the
HD down manually using hdparm -y /dev/hda




> 
> > BTW, Laptop_mode is merged into the 2.4.23-rc5 kernel (based on the
> > changelogs)
> 
> As already said.

I took a swipe at kernel 2.4.23 yesterday night. Laptop mode is in..
_however_ cpu frequency scaling is not in there and that's most certainly
something that I _need_ ton conserve batt life. I used to get it from the
-ac branch but seems like Alan is busy and heven't released anything after
2.4.22-ac4.

BTW, anyone know how to get cpufreq into the main kernel. Where can I find a
diff or is there another method of cpu freq scaling now??


> 
> > With regard to ACPId events, can you tell me how yo get it 
> to work? I'm
> > having problems getting it running. It gets lodaded up 
> during init, and it's
> > running as root, but after logging in (GDM desktop), the 
> events won't fire
> > until I kill the acpid process and re-run it again. (once I 
> logged in)
> > I can't figure out how to get it to work. I read in one 
> page where the
> > auther said to put xhost +local somewhere at the end of 
> /etc/X11/xinitrc.
> > That didn't work either.
> 
> I don't know.  All my scripts for power managements via acpid 
> certainly
> do not use X.  I am wondering what is inside yours, but if they come
> as default with a distribution, it is probably better to use another
> distribution.
> 

Fudge that.. I found out how to use xhost properly (finally) yesterday. It
seems I missed the ":" in "xhost +local:"

Now screen blanking works great and so does acpid and it's events.

 BTW, I use RedHat 9

Cheers 

OW


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

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

* Re: ACPI + Laptop Power Management (cpufreq patch)
       [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA0338650A-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
@ 2003-12-08 11:26   ` Sebastian Henschel
       [not found]     ` <20031208112607.GA3941-5sK/Rx+du8M@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Henschel @ 2003-12-08 11:26 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 941 bytes --]

salute ow..

* Ow Mun Heng <ow.mun.heng-Sjgp3cTcYWE@public.gmane.org> [2003-12-01 11:53 +0100]:

> I took a swipe at kernel 2.4.23 yesterday night. Laptop mode is in..
> _however_ cpu frequency scaling is not in there and that's most certainly
> something that I _need_ ton conserve batt life. I used to get it from the
> -ac branch but seems like Alan is busy and heven't released anything after
> 2.4.22-ac4.
> 
> BTW, anyone know how to get cpufreq into the main kernel. Where can I find a
> diff or is there another method of cpu freq scaling now??

i  created a patch against vanilla 2.4.23 last week and it seemed to work
on the computer it was applied to. no guarantees, though. :)
btw, bruno ducrot, are you the one responsible for patchin.sh? i would
like to ask you some questions about that.

hth,
 sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import

[-- Attachment #1.2: cpufreq-20031201-2.4.23.bz2 --]
[-- Type: application/octet-stream, Size: 57419 bytes --]

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: ACPI + Laptop Power Management (cpufreq patch)
       [not found]     ` <20031208112607.GA3941-5sK/Rx+du8M@public.gmane.org>
@ 2003-12-08 13:44       ` Luca Capello
  0 siblings, 0 replies; 4+ messages in thread
From: Luca Capello @ 2003-12-08 13:44 UTC (permalink / raw)
  To: ML ACPI-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

on 12/08/03 12:26, Sebastian Henschel wrote:
| i  created a patch against vanilla 2.4.23 last week and it seemed to work
| on the computer it was applied to. no guarantees, though. :)
I just tried this patch on a fresh 2.4.23 (from kernerl.org) and it
seems to work: now 'cpufreqd' works even on 2.4.23 :-)

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE/1IBTVAp7Xm10JmkRAtMhAJ9OTNf+8DF4WGVY6BYLZfoaNfmMogCfY+uj
ez8VDKVb2COVVIz26h1Xo+s=
=Ehmp
-----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/

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

* RE: ACPI + Laptop Power Management (cpufreq patch)
@ 2003-12-09  1:31 Ow Mun Heng
  0 siblings, 0 replies; 4+ messages in thread
From: Ow Mun Heng @ 2003-12-09  1:31 UTC (permalink / raw)
  To: Sebastian Henschel, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f



> -----Original Message-----
> From: Sebastian Henschel [mailto:acpi-1rjuZeEg9oEb1SvskN2V4Q@public.gmane.org]
> Sent: Monday, December 08, 2003 7:26 PM
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] ACPI + Laptop Power Management (cpufreq patch)
> 
> i  created a patch against vanilla 2.4.23 last week and it 
> seemed to work
> on the computer it was applied to. no guarantees, though. :)
> btw, bruno ducrot, are you the one responsible for patchin.sh? i would
> like to ask you some questions about that.


hehe.. I actually went and made that patch myself the very day after I sent
that email out. (I was desperate). and I did send a note out to Shrike-list
and fedora-list.

It's working fine for me now.. 

Err.. anyone knows how to tweak cpudyn?? I find its kinda too-reacting to
loads. and I;m not sure how to tune it via the -> cpudyn -x -x 0.5 0.9 
						    ^^  ^^  These 2. I don't
really understand the manual


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

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

end of thread, other threads:[~2003-12-09  1:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-01  1:20 ACPI + Laptop Power Management Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA0338650A-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2003-12-08 11:26   ` ACPI + Laptop Power Management (cpufreq patch) Sebastian Henschel
     [not found]     ` <20031208112607.GA3941-5sK/Rx+du8M@public.gmane.org>
2003-12-08 13:44       ` Luca Capello
  -- strict thread matches above, loose matches on Subject: below --
2003-12-09  1:31 Ow Mun Heng

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