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.

0
U

Property:avm event.ko

From BoxMatrix
(Redirected from avm event.ko)


BoxMatrix >> Shell-Commands >> avm_event.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.

Goto:   Examples  -  Events  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

avm_event.ko is the kernel driver implementing AVM-Events, Event-Sources and Event-Sinks.

It provides the /dev/avm_event device which is maintained by libavm_event.so in userspace.

This is a virtual module to have an article about it. It is part of the avm.ko bundle at:

drivers/char/avm_new/avm_event*

The advantage of managing all events in kernel is that both user space programs and Kernel-Modules can use the system.
See the piglet event as an example for kernel usage and supportdata.basis to see how to get infos about all running
Event-Sources, Event-Sinks and AVM-Events, these 3 sections are built from this part of Supportdata-Probes.

On Puma6 and Puma7 models avm_event.ko runs in dual Linux mode, using a remote device, which has to be explained.

To find sinks in the kernel search for avm_event_sink_register for sources search for avm_event_source_register. It is
impossible to search for AVM-Events in binaries since these are numerical IDs, but Event-Sources and Event-Sinks are always
textual.

Examples

avm_event.ko provides a procfs statistic interface which is used in supportdata.basis like this:

# Event-Statistic
cat /proc/avm/event/events
cat /proc/avm/event/sink
cat /proc/avm/event/source

fw 7.29 example:

fritz3:/var/mod/root $ cat /proc/avm/event/events

Summary: 23 user and 0 pending events

fritz3:/var/mod/root $ cat /proc/avm/event/sink

[avm_event] list Event Sink
Sink: dect_manager                    : receive:    4 Functions: avm_event_id_dsl_connect_status avm_event_id_firmware_update_available avm_event_id_fax_status_change avm_event_id_fax_file 
Sink: ctlmgr_pairing_module           : receive:    0 Functions: avm_event_id_push_button 
Sink: plc_ui_module                   : receive:    0 Functions: avm_event_id_push_button 
Sink: providerlist                    : receive:   12 Functions: avm_event_id_dsl_connect_status 
Sink: ctlmgr_capiotcp                 : receive:    1 Functions: avm_event_id_capiotcp_startstop avm_event_id_telefon_up avm_event_id_reboot_req 
Sink: dect                            : receive:    0 Functions: avm_event_id_push_button 
Sink: aha                             : receive:    0 Functions: 
Sink: dect                            : receive:    0 Functions: avm_event_id_push_button 
Sink: wlan                            : receive:    0 Functions: avm_event_id_wlan_client_status avm_event_id_autoprov avm_event_id_push_button avm_event_id_telefon_wlan_command 
Sink: ctlmgr_cpu_stats                : receive: 1460 Functions: avm_event_id_temperature avm_event_id_cpu_idle 
Sink: ctlmgr_button                   : receive:    0 Functions: avm_event_id_push_button 
Sink: ctlmgr_led                      : receive:  494 Functions: avm_event_id_led_status 
Sink: ctlmgr_dslparam                 : receive:    1 Functions: avm_event_id_dsl_get 
Sink: ctlmgr_sar                      : receive:   16 Functions: avm_event_id_dsl_connect_status 
Sink: eth_status                      : receive:   13 Functions: avm_event_id_ethernet_connect_status 
Sink: dsl_manager_stat                : receive:    9 Functions: avm_event_id_dsl_get_arch avm_event_id_user_source_notify 
Sink: dsl_manager                     : receive:   12 Functions: avm_event_id_dsl_get_arch avm_event_id_dsl_set avm_event_id_powermanagment_status avm_event_id_user_source_notify 
Sink: avmnexus_button                 : receive:    0 Functions: avm_event_id_push_button 
Sink: piglet_ready_sink               : receive:    1 Functions: avm_event_id_piglet 
Sink: led_dim_notify                  : receive:  507 Functions: avm_event_id_led_status 
Sink: avm_led_event_push_button_notify: receive:    0 Functions: avm_event_id_push_button 
Sink: avm_led_event_notify            : receive:  508 Functions: avm_event_id_led_status 
Sink: factory_reset_kernel            : receive:    0 Functions: avm_event_id_push_button 

fritz3:/var/mod/root $ cat /proc/avm/event/source [avm_event] list Event Source Source: temperature sent: 730 notify: 0x803e8280 avmevent_temperature_notify+0x0/0x100  : Function: avm_event_id_temperature Source: powermanagment_status sent: 2 notify: 0x803e6360 avm_event_powermanagment_status_notify+0x0/0xa0  : Function: avm_event_id_powermanagment_status Source: telefonprofile sent: 50 notify: 0x803e7ac0 avmevent_telefonprofile_notify+0x0/0xa0  : Function: avm_event_id_telefonprofile Source: cpu_idle sent: 730 notify: 0x803e5fc0 avmevent_cpu_idle_notify+0x0/0x2e0  : Function: avm_event_id_cpu_idle Source: cpu_run sent:131111 notify: 0x803e5e20 avmevent_cpu_run_notify+0x0/0x1a0  : Function: avm_event_id_cpu_run Source: pm_info_stat sent: 0 notify: 0x803e99e0 pm_ressourceinfo_notify+0x0/0xe0  : Function: avm_event_id_pm_ressourceinfo_status Source: Ethernet status sent: 13 notify: 0x8049dde0 avmnet_links_event_notify+0x0/0x40  : Function: avm_event_id_ethernet_connect_status Source: avm_led_event_notify sent: 508 notify: 0x81211e60 led_event_notify+0x0/0x20 [led_module]  : Function: avm_event_id_led_status avm_event_id_led_info Source: push_button sent: 0 notify: (null)  : Function: avm_event_id_push_button Source: piglet_ready_source sent: 2 notify: 0x8125c080 avm_event_piglet_ready_notify+0x0/0x20 [Piglet_noemif]: Function: avm_event_id_piglet Source: dsl_manager sent: 5 notify: 0x80402740 avm_event_source_user_mode_notify+0x0/0xe0  : Function: avm_event_id_dsl_set_arch avm_event_id_dsl_get avm_event_id_dsl_status Source: dsl_manager_stat sent: 16 notify: 0x80402740 avm_event_source_user_mode_notify+0x0/0xe0  : Function: avm_event_id_dsl_connect_status Source: aha sent: 76 notify: 0x80402740 avm_event_source_user_mode_notify+0x0/0xe0  : Function: avm_event_id_smarthome_switch_status avm_event_id_smarthome

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 log_remote_sink 1* 6.24 - 6.66 Event-Sink of avm_event.ko (obsolete) AVM
Receives event log (event) 1* 6.24 - 6.66 avm_event.ko remote logging AVM
Source evsrc event_log 12* 6.24 - 7.50 Event-Source of avm_event.ko AVM
Sends event log (event) 9* 6.24 - 7.50 avm_event.ko remote logging AVM
Sends event remote_notifier 9* 6.24 - 7.50 Remote Event-Source notify AVM
5 event relations for this module

GPL-Browser

Daily updated index of all avm_event.ko code findings on the GPL-Browser. Last update: 2024-03-28 20: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.

Dependencies

Daily updated index of all dependencies of this module. Last update: 2024-03-28 07:37 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_EVENT 76 3.23 - 7.90 Support for AVM-Events (avm_event.ko, avm_event_alloc.ko, avm_event_file.ko, avm_event_main.ko) Linux
Enabled by kcfg CONFIG_AVM_EVENTNODE_PUMA6 2 7.29 Remote AVM events on Puma6 (avm.ko, avm_event.ko, avm_event_node_pumaX.ko, avm_event_remote.ko, checkpoint_proc.ko, remotecpu_irq.ko) Linux
Enabled by kcfg CONFIG_AVM_EVENTNODE_PUMA7 39 7.04 - 7.57 Remote AVM events on Puma7 (avm.ko, avm_event.ko, avm_event_node_pumaX.ko, avm_event_remote.ko, checkpoint_proc.ko, remotecpu_irq.ko) Linux
3 dependencies for this module

Model-Matrix

Daily updated index of the presence, path and size of this module for each model. Last update: 2024-03-28 15:46 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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
0 models use this module

Symbols

Daily updated index of all symbols of this module. Last update: 2024-03-28 07:37 GMT.

Firmware Symbol
0 symbols for this module

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

a