Bug 136354 - powerd(8): Support for maxspeed in adaptive modes
Summary: powerd(8): Support for maxspeed in adaptive modes
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-05 17:10 UTC by Rene Schickbauer
Modified: 2024-10-28 21:36 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (6.60 KB, patch)
2009-07-05 17:10 UTC, Rene Schickbauer
no flags Details | Diff
powerd.8.patch (12.79 KB, patch)
2009-07-20 14:17 UTC, Rene Schickbauer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Schickbauer 2009-07-05 17:10:00 UTC
This patch enables users to use the powerd adaptive modes while still maintaining a cooler/less power hungry system by limiting the max. CPU speed powerd can set.

This patch also includes an update to the powerd manpage. I also moved the description of the available modes to a dedicated section to make them easier to find.

I wrote this patch, to limit my EEE PC's power consumption/heat production without having to fall back to minimum performance.

Fix: See attached patch

Patch attached with submission follows:
How-To-Repeat: Run an Intel Atom based NetBook with powerd set to "adaptive" and "make buildworld". It gets hot enough to get you burned when held in hand or lap (like when debugging FreeBSD while waiting for the bus).
Comment 1 Rene Schickbauer 2009-07-20 14:17:49 UTC
Here is an updated patch that allows setting of minimum and maximum speeds.
Seperately for battery and AC mode, of course.

I also updated the man-page.

(Hope i didn't mess this follow-up up, gnats doesn't like my webmail)
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:16 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:33:55 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>