support unmounting wifi modules to reduce wattage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
laptop-mode-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: laptop-mode-tools
unmounting ath5k and mac80211 by issuing sudo rmmod ath5k and sudo rmmod mac80211 reduces wattage consumption of laptop/netbooks. powertop shows 12.9w consumption while these modules are mounted and when I issue the commands above powertop shows a gradual decrease in wattage up to 11.1 watts. can this be integrated in laptop-mode-tools? it would be nice if laptop-mode-tools can automate this like unmount modules when not in use for x seconds.
ProblemType: Bug
Architecture: i386
Date: Tue Feb 2 13:11:14 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu-
Package: laptop-mode-tools 1.47-1ubuntu2 [modified: usr/share/
PackageArchitec
ProcEnviron:
LANG=en_PH.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: laptop-mode-tools
Tags: ubuntu-unr
Uname: Linux 2.6.31-17-generic i686
On Tuesday 02 Feb 2010 11:42:02 Severity1 wrote:
> Public bug reported:
>
> Binary package hint: laptop-mode-tools
>
> unmounting ath5k and mac80211 by issuing sudo rmmod ath5k and sudo rmmod
> mac80211 reduces wattage consumption of laptop/netbooks. powertop shows
> 12.9w consumption while these modules are mounted and when I issue the
> commands above powertop shows a gradual decrease in wattage up to 11.1
> watts. can this be integrated in laptop-mode-tools? it would be nice if
> laptop-mode-tools can automate this like unmount modules when not in use
> for x seconds.
I think what we need here is a new module, something like exec_cmd.
It definitely will not be a start/stop kind of thing.
In it we can use a variety of things (but all surrounded to general-purpose-
command-execution):
* kill processes (example: nspluginviewer. It generates a lot of wakeups. But
at the same time, it is the killer app for flash. So its mention should be
explicit)
* Your example of module unloads. Instead of creating a separate module, which
would just do module unloads, I want a generic and flexible module to do things
like these and many more (which might be specific to particular devices).
Regards, www.researchut. com
Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT - http://
"Necessity is the mother of invention."