Bug 91953 - "apmscript start" should call apmcontinue-pre and adjust power settings.
"apmscript start" should call apmcontinue-pre and adjust power settings.
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: apmd (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks: CambridgeTarget
  Show dependency treegraph
 
Reported: 2003-05-30 05:51 EDT by Aleksey Nogin
Modified: 2014-03-16 22:36 EDT (History)
2 users (show)

See Also:
Fixed In Version: 3.0.2-20
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-03-16 17:05:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Aleksey Nogin 2003-05-30 05:51:07 EDT
Currently "apmscript start" only calls "apmcontinue start" and fails to do
anything else. It should:
- Call "apmcontinue-pre start" before doing anything else.
- Check whether we are using A/C or battery power and adjust the settings
(cpufreq, laptop mode, etc) accordingly.

P.S. Is there a reason why each case in the ``case "$PROG" in'' switch has its
own calls to apmcontinue-pre/apmcontinue? Would not it be better to just call
apmcontinue-pre before the ``case'' and call apmcontinue after the esac?
Comment 1 Alexandre Oliva 2003-09-23 15:55:11 EDT
Still a problem with apmd-3.0.2-19
Comment 2 Bill Waddington 2004-11-11 13:39:55 EST
This doesn't seem to have changed in FC2 or 3. I'm a noob, but I think
I have fixed it and a few other things. Since I'm a rookie, I won't
try to post patches here, but if anyone wants to give it a try:
http://www.beezmo.com/ThinkPadR40.htm see the "CPU Frequency scaling
(speedstep) and Laptop Mode" section of the Fedora Core 2 page.

Bill
Comment 3 Bill Nottingham 2005-03-16 17:05:39 EST
This was fixed in -20.

Note You need to log in before you can comment on or make changes to this bug.