If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:avm power.ko
BoxMatrix >> Shell-Commands >> avm_power.ko | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Kernel-Module
Note that Kernel 2.4 and builtin *.o
modules have been renamed to *.ko
for an easier comparison.
Command: | avm_power.ko - type Mod | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Kernel-Modules - Origin: AVM | ||||||
Path: | Release: ./kernel/drivers/char/avm_power Lab+Rel: ./kernel/drivers/char/avm_power | ||||||
Properties: | Size: <builtin> - Firmware: 7.61 - 8.00 | ||||||
Function: | Power management module (GPL) |
Goto: Events - Configuration - Calculation - GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
avm_power.ko is a (virtual) power management module by AVM.
It sends information about the CPU load and power consumption to the system.
It provides the /dev/avm_power
device for Configuration of its power calculations.
This is a virtual module to have an article about it. It is part of the kernel source at:
drivers/char/avm_power/
On Puma6 and Puma7 models avm_power.ko runs in dual Linux mode, see the explanation of the powermanagment_remote event.
Events
Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this module. Last update: 2023-12-10 05:13 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
A **
in the Mod
column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A -
in the Mod
column marks manual research, the Firmware
then shows where the item occurs, not the Relation
.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Sink | evsink | powermanagment_remote_sink | 7* | 6.24 - 7.50 | Event-Sink of avm_power.ko | AVM |
Receives | event | powermanagment_remote (event) | 7* | 6.24 - 7.50 | Remote power saving status | AVM |
Source | evsrc | cpu_idle (evsrc) | 74* | 6.20 - 7.57 | Event-Source of avm_power.ko | AVM |
Sends | event | cpu_idle (event) | 74* | 6.20 - 7.57 | CPU, DSP and memory consumption | AVM |
Sends | event | remote_notifier | 12* | 6.24 - 7.50 | Remote Event-Source notify | AVM |
Source | evsrc | cpu_run (evsrc) | 68* | 6.80 - 7.57 | Event-Source of avm_power.ko | AVM |
Sends | event | cpu_run (event) | 68* | 6.80 - 7.57 | Per core CPU load | AVM |
Sends | event | remote_notifier | 12* | 6.87 - 7.50 | Remote Event-Source notify | AVM |
Source | evsrc | pm_info_stat | 74* | 6.20 - 7.57 | Event-Source of avm_power.ko | AVM |
Sends | event | pm_ressourceinfo_status | 69* | 6.20 - 7.57 | Power consumption and system temperature | AVM |
Sends | event | remote_notifier | 7* | 6.24 - 7.50 | Remote Event-Source notify | AVM |
Source | evsrc | powermanagment_remote (evsrc) | 12* | 6.24 - 7.50 | Event-Source of avm_power.ko / extswitch_watch | AVM |
Sends | event | powermanagment_remote (event) | 7* | 6.24 - 7.50 | Remote power saving status | AVM |
Sends | event | remote_notifier | 7* | 6.24 - 7.50 | Remote Event-Source notify | AVM |
Source | evsrc | powermanagment_status (evsrc) | 74* | 6.20 - 7.57 | Event-Source of avm_power.ko | AVM |
Sends | event | powermanagment_status (event) | 69* | 6.20 - 7.57 | DSL power saving status | AVM |
Sends | event | remote_notifier | 7* | 6.24 - 7.50 | Remote Event-Source notify | AVM |
Source | evsrc | telefonprofile (evsrc) | 74* | 6.20 - 7.57 | Event-Source of avm_power.ko | AVM |
Sends | event | remote_notifier | 7* | 6.24 - 7.50 | Remote Event-Source notify | AVM |
Sends | event | telefonprofile (event) | 69* | 6.20 - 7.57 | Telephony power saving change | AVM |
Source | evsrc | temperature (evsrc) | 74* | 6.20 - 7.57 | Event-Source of avm_power.ko | AVM |
Sends | event | remote_notifier | 7* | 6.24 - 7.50 | Remote Event-Source notify | AVM |
Sends | event | temperature (event) | 69* | 6.20 - 7.57 | System temperature | AVM |
23 event relations for this module |
Configuration
Configurartion is done at boot time using the write only /dev/avm_power
device. Excerpt from files fw 7.39:
cat /lib/modules/pm_info.in >/dev/avm_power
Let's have a look at the config file:
cat lib/modules/pm_info.in PMINFO_MODE=7,100,141,10,100 PMINFO_MODE=4,100,130,10,100 PMINFO_MODE=1,100,0,1,0 PMINFO_MODE=14,100,29,10,-17 PMINFO_MODE=2,100,0,1,1500 PMINFO_MODE=3,100,0,1,2500 PMINFO_MODE=8,100,200,78,150 PMINFO_MODE=11,900,5,1,0 PMINFO_MODE=10,100,15,1,0 PMINFO_MODE=9,2267,1,1,50
Possible commands from the usage help debug output in avm_power_file.c
:
PMINFO_MODE = device, norm_rate, multiplier, divider, offset PMINFO_SET = device, power_rate ETH_MODE = port, state LOAD_MODE = mode (0 auto, 1 off, > 1 Level) IDLE_MODE = mode
The device also allows to set PowerMode
scripts:
echo MODE="name" >/dev/avm_power
Here the list of scripts from power.h
, not all of these work from userland:
* te_active * dsl * LTE * ata * vdsl * update * dect_trace_on * dect_trace_off * telefon_profile_on * telefon_profile_off * multicast_profile_on * multicast_profile_off * voip_profile_on * voip_profile_off * usb_current_req * pcmlink_bus_off * pcmlink_bus_on * pots_load * te_load * te_reload * pots_reload * tepots_switchauto * tepots_switchmanu * lock_governor * unlock_governor * e1_active * e1_inactive
Commands which open the device in fw 7.39 are:
- ISDN: telefon, dtrace, mobiled, capiotcp_server
- DSL: dsl_monitor
- WLAN: wland
- ctlmgr: libcmapi.so
Calculation
Here caculation findings will be collected. The source also contains an excel file explaining the calculation.
Ethernet power consumption from the source of avm_cpmac.ko fw 7.29:
/******************************************************************************\ * Powermanagement * * * * To report reasonable values to the powermanagement module there has to be * * distinguished between products with different hardware capabilities. As an * * example and base for the chosen values, here is an overview of values for * * the 7320 with two Gigabit PHYs. The values were obtained in the urloader. * * * * two links with overall power derived values * * for one port * * 1 GiBits/s 4,6 W 550 mW * * 100 MiBits/s 3,7 W 100 mW * * 10 MiBits/s 3,6 W 50 mW * * no link 3,5 W 0 mW * * * \******************************************************************************/
GPL-Browser
Daily updated index of all avm_power.ko code findings on the GPL-Browser. Last update: 2024-11-15 05:07 GMT.
The Files
header attempts to list the files which belong to this module. Useful if a directory contains multiple modules.
The Browse
column points to the Path
of the Makefile
referring this code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Note that this list matches module names with hyphen (-
) and underscore (_
) exchangeable, same as modprobe does.
Files: avm_cpu_process.c, avm_power.c, avm_power_cpuidle.c, avm_power_dsl.c, avm_power_file.c, avm_power_if.c, avm_power_loadcontrol.c, avm_power_main.c, avm_power_pm_qos.c, avm_power_pminfo.c, avm_power_remote_sink.c, avm_power_remote_source.c, avm_power_speedstep.c, avm_power_telefon.c, avm_power_temperature.c, avm_power_usb.c, avm_power_wlan.c, dectsync.c, i2c.c, temperature_policy.c, we_ethernet.c, we_isdn.c, we_led.c, we_usb.c, we_wlan.c, we_xilinx.c, wyatt_earp.c, wyatt_earp_vx180.c | ||||||||
---|---|---|---|---|---|---|---|---|
Browse | Path | Makefile | SoC | Arch | Model | Firmw | Diff | Download |
alder-5690pro-762 | linux-5.4.213/drivers/char/avm_power | Kbuild | Alder | ARM | 5690pro | 7.62 | 5.4.213 | Download |
ar10-7272-687 | linux-2.6.32.61/drivers/char/avm_power | Makefile.26 | AR10 | MIPS | 7272 | 6.87 | 2.6.32.61 | Download |
ar9-7330-650 | linux-2.6.32.61/drivers/char/avm_power | Makefile | AR9 | MIPS | 7330 | 6.50 | 2.6.32.61 | Download |
bcm63-7530ax-731 | linux-4.1.52/drivers/char/avm_power | Kbuild | BCM63 | ARM | 7530ax | 7.31 | 4.1.52 | Download |
bcm63-7530ax-756 | linux-4.19.183/drivers/char/avm_power | Kbuild | BCM63 | ARM | 7530ax | 7.56 | 4.19.183 | Download |
bcm63-7530ax-800 | linux-4.19.183/drivers/char/avm_power | Kbuild | BCM63 | ARM | 7530ax | 8.00 | 4.19.183 | Download |
bcm63-7582-715 | linux-4.1.38/drivers/char/avm_power | Makefile | BCM63 | ARM | 7582 | 7.15 | 4.1.38 | Download |
dakota-7530ac-750 | linux-4.4.271/drivers/char/avm_power | Kbuild | Dakota | ARM | 7530ac | 7.50 | 4.4.271 | Download |
dragonfly-4020-701 | linux-4.4.60/drivers/char/avm_power | Makefile | Dragonfly | MIPS | 4020 | 7.01 | 4.4.60 | Download |
falcon-5530-730 | linux-4.9.231/drivers/char/avm_power | Kbuild | Falcon | MIPS | 5530 | 7.30 | 4.9.231 | Download |
falcon-5530-750 | linux-4.9.276/drivers/char/avm_power | Kbuild | Falcon | MIPS | 5530 | 7.50 | 4.9.276 | Download |
falcon-5590-729 | linux-4.9.231/drivers/char/avm_power | Kbuild | Falcon | MIPS | 5590 | 7.29 | 4.9.231 | - |
falcon-5590-750 | linux-4.9.276/drivers/char/avm_power | Kbuild | Falcon | MIPS | 5590 | 7.50 | 4.9.276 | Download |
fusiv-7390-686 | linux-2.6.28.10/drivers/char/avm_power | Makefile.26 | Fusiv | MIPS | 7390 | 6.86 | 2.6.28.10 | Download |
hawkeye-5590-729 | linux-4.4.60/drivers/char/avm_power | Kbuild | Hawkeye | ARM | 5590 | 7.29 | 4.4.60 | - |
hawkeye-5590-750 | linux-4.4.271/drivers/char/avm_power | Kbuild | Hawkeye | ARM | 5590 | 7.50 | 4.4.271 | Download |
honeybee-1240e-714 | linux-4.4.60/drivers/char/avm_power | Makefile | Honeybee | MIPS | 1240e | 7.14 | 4.4.60 | Download |
jet-2400-727 | linux-4.4.60/drivers/char/avm_power | Kbuild | Jet | MIPS | 2400 | 7.27 | 4.4.60 | - |
maple-7510-730 | linux-4.4.60/drivers/char/avm_power | Kbuild | Maple | ARM | 7510 | 7.30 | 4.4.60 | Download |
maple-fsgw-759 | linux-4.4.271/drivers/char/avm_power | Kbuild | Maple | ARM | fsgw | 7.59 | 4.4.271 | Download |
miami-7690-761 | linux-5.4.213/drivers/char/avm_power | Kbuild | Miami | ARM | 7690 | 7.61 | 5.4.213 | Download |
ohio-7170-487 | linux-2.6.13.1/drivers/char/avm_power | Makefile.26 | Ohio | MIPS | 7170 | 4.87 | 2.6.13.1 | Download |
puma5-6360-529 | linux-2.6.28.10/drivers/char/avm_power | Makefile | Puma5 | ARM | 6360 | 5.29 | 2.6.28.10 | Download |
puma6-arm-6490-729 | linux-2.6.39.4/drivers/char/avm_power | Kbuild | Puma6 | ARM | 6490 | 7.29 | 2.6.39.4 | Download |
puma6-atom-6490-729 | linux-2.6.39.4/drivers/char/avm_power | Kbuild | Puma6 | ATOM | 6490 | 7.29 | 2.6.39.4 | Download |
puma7-arm-6591-750 | linux-4.9.279/drivers/char/avm_power | Kbuild | Puma7 | ARM | 6591 | 7.50 | 4.9.279 | Download |
puma7-arm-6591-800 | linux-5.15.153/drivers/char/avm_power | Kbuild | Puma7 | ARM | 6591 | 8.00 | 5.15.153 | Download |
puma7-arm-6670-761 | linux-5.15.111/drivers/char/avm_power | Kbuild | Puma7 | ARM | 6670 | 7.61 | 5.15.111 | Download |
puma7-atom-6591-750 | linux-4.9.279/drivers/char/avm_power | Kbuild | Puma7 | ATOM | 6591 | 7.50 | 4.9.279 | Download |
puma7-atom-6591-800 | linux-5.15.153/drivers/char/avm_power | Kbuild | Puma7 | ATOM | 6591 | 8.00 | 5.15.153 | Download |
puma7-atom-6670-761 | linux-5.15.111/drivers/char/avm_power | Kbuild | Puma7 | ATOM | 6670 | 7.61 | 5.15.111 | Download |
rtl96-5690pro-762 | linux-3.18.24/drivers/char/avm_power | Kbuild | RTL96 | MIPS | 5690pro | 7.62 | 3.18.24 | Download |
scorpion-1750e-727 | linux-4.4.60/drivers/char/avm_power | Kbuild | Scorpion | MIPS | 1750e | 7.27 | 4.4.60 | Download |
scorpion-7490-727 | linux-4.4.60/drivers/char/avm_power | Kbuild | Scorpion | MIPS | 7490 | 7.27 | 4.4.60 | Download |
seale-7590ac-750 | linux-4.9.218/drivers/char/avm_power | Kbuild | Seale | MIPS | 7590ac | 7.50 | 4.9.218 | Download |
seale-7590ax-750 | linux-4.9.218/drivers/char/avm_power | Kbuild | Seale | MIPS | 7590ax | 7.50 | 4.9.218 | Download |
seale-7590ax-800 | linux-4.9.325/drivers/char/avm_power | Kbuild | Seale | MIPS | 7590ax | 8.00 | 4.9.325 | Download |
ur8-7270-606 | linux-2.6.32.60/drivers/char/avm_power | Makefile | UR8 | MIPS | 7270 | 6.06 | 2.6.32.60 | Download |
virian-300e-630 | linux-2.6.32.61/drivers/char/avm_power | Makefile | Virian | MIPS | 300e | 6.30 | 2.6.32.61 | Download |
vr9-7490-729 | linux-3.10.107/drivers/char/avm_power | Kbuild | VR9 | MIPS | 7490 | 7.29 | 3.10.107 | Download |
wasp-540e-714 | linux-4.4.60/drivers/char/avm_power | Makefile | Wasp | MIPS | 540e | 7.14 | 4.4.60 | Download |
41 directories containing avm_power.ko source code |
Dependencies
Daily updated index of all dependencies of this module. Last update: 2024-11-15 07:54 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Enabled by | kcfg | CONFIG_AVM_POWER | 60 | 4.68 - 8.00 | AVM power managment support (avm_power.ko, cpu_temperature.ko) | Linux |
Enabled by | kcfg | CONFIG_AVM_POWER_REMOTE_SINK | 5 | 7.04 - 8.00 | Powermanagment Remote-Sink (avm_power.ko) | Linux |
2 dependencies for this module |
Model-Matrix
Daily updated index of the presence, path and size of this module for each model. Last update: 2024-11-15 05:54 GMT.
Showing all models using this module. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 6591 Cable (atom) | 8.00 | ./kernel/drivers/char/avm_power | <builtin> |
FRITZ!Box 6660 Cable (atom) | 7.90 - 8.00 | ./kernel/drivers/char/avm_power | <builtin> |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | ./kernel/drivers/char/avm_power | <builtin> |
FRITZ!Box 6690 Cable (atom) | 7.90 | ./kernel/drivers/char/avm_power | <builtin> |
4 models use this module |
Symbols
Daily updated index of all symbols of this module. Last update: 2024-11-15 07:54 GMT.
Firmware | Symbol |
---|---|
0 symbols for this module |