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:push button (event)

From BoxMatrix


BoxMatrix >> System >> push_button (event) @ 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

Devices Filesystems Partitions Sockets Netlink Pipes Interfaces Bridges Ports Events Sources Sinks AVMIPC Processes Watchdogs Memory Slab Vmalloc ProcFS SysFS Research

Info
  
Name-Collision - multiple objects in this wiki use the name push_button!
push_button (event) Button pressed or switch turned
push_button (evsrc) Event-Source of hui.ko / avm_led.ko

AVM-Event

Goto:   Structure  -  Dependencies   -   Model-Matrix   -   Missing Supportdata   -   SMW-Browser

Details

The push_button event is sent when a button is pressed or a switch is turned.

// From include/uapi/avm/event/gen-types.h

struct _avm_event_push_button {
	enum _avm_event_id id;
	enum _avm_event_push_button_key key;
	uint32_t pressed;
};

enum _avm_event_push_button_key {
	avm_event_push_button_wlan_on_off = 2,
	avm_event_push_button_wlan_wps = 4,
	avm_event_push_button_wlan_standby = 32,
	avm_event_push_button_wlan_wps_station = 33,
	avm_event_push_button_dect_paging = 11,
	avm_event_push_button_dect_pairing = 13,
	avm_event_push_button_dect_on_off = 42,
	avm_event_push_button_dect_standby = 43,
	avm_event_push_button_power_set_factory = 7,
	avm_event_push_button_power_set_factory_kernel = 8,
	avm_event_push_button_power_on_off = 51,
	avm_event_push_button_power_standby = 52,
	avm_event_push_button_power_socket_on_off = 53,
	avm_event_push_button_tools_profiling = 61,
	avm_event_push_button_plc_on_off = 71,
	avm_event_push_button_plc_pairing = 72,
	avm_event_push_button_led_standby = 81,
	avm_event_push_button_2fa_success = 91,
	avm_event_push_button_lte_wakeup = 92,
	avm_event_push_button_plc_pairing_off = 93,
	avm_event_push_button_wlan_wps_off = 94,
	avm_event_push_button_dect_pairing_off = 95,
	avm_event_push_button_nexus_pairing_off = 96,
	avm_event_push_button_nexus_pairing = 97,
	avm_event_push_button_wlan_wps_station_off = 98,
	avm_event_push_button_nexus_pairing_box = 99,
	avm_event_push_button_wlan_sta_wps_no_connect = 100,
	avm_event_push_button_wlan_sta_wps_no_connect_off = 101,
	avm_event_push_button_connect_methode1 = 102,
	avm_event_push_button_connect_methode2 = 103,
	avm_event_push_button_connect_methode3 = 104,
	avm_event_push_button_connect_methode4 = 105,
	avm_event_push_button_connect_methode5 = 106,
	avm_event_push_button_connect_methode6 = 107,
	avm_event_push_button_connect_off = 108,
	avm_event_push_button_connect_timeout = 109,
	avm_event_push_button_connect_error = 110,
	avm_event_push_button_connect_success = 111,
	avm_event_push_button_connect_started = 112,
	avm_event_push_button_lan_pairing = 113,
	avm_event_push_button_lan_pairing_off = 114,
	avm_event_push_button_last,
};

/*
push_button_gpio_low  = 0
push_button_gpio_high = 1
push_button_key_1     = 2  = button 1: short press   0.25 - 2 secs
push_button_key_2     = 3  = button 1: medium press  2 - 8 secs
push_button_key_3     = 4  = button 1: long press    > 8 secs
push_button_key_4     = 5  = button 2: short press   0.25 - 2 secs
push_button_key_5     = 6  = button 2: medium press  2 - 8 secs
push_button_key_6     = 7  = button 2: long press    > 8 secs
push_button_key_7     = 8  = switch:   off
push_button_key_8     = 9  = switch:   on
push_button_key_9     = 10 = switch:   dummy
push_button_key_10    = 11 = button 4: short press   0.25 - 2 secs
push_button_key_11    = 12 = button 4: medium press  2 - 8 secs
push_button_key_12    = 13 = button 4: long press    > 8 secs
push_button_key_13    = 14 = touch 1:  pressed
push_button_key_14    = 15 = touch 1:  reserved
push_button_key_15    = 16 = touch 2:  pressed
push_button_key_16    = 17 = touch 2:  reserved
push_button_key_17    = 18 = touch 3:  pressed
push_button_key_18    = 19 = touch 3:  reserved
push_button_key_19    = 20 = touch 4:  pressed
push_button_key_20    = 21 = touch 4:  reserved
push_button_key_21    = 22 = button 5: short press   0.25 - 2 secs
push_button_key_22    = 23 = button 5: medium press  2 - 8 secs
push_button_key_23    = 24 = button 5: long press    > 8 secs
*/

Some old models had a switch to enable wlan, the touch screen is fwr.

Dependencies

Daily updated index of all dependencies of this event. Last update: GMT.
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
Source evsrc push_button (evsrc) 58* 6.20 - 7.51 Event-Source of led_module.ko / hui.ko AVM
Sink evsink aflrwpan_gw_app 2* 7.50 - 7.61 Event-Sink of liblrwpan.so AVM
Sink evsink avmnexus_button 58* 6.90 - 7.90 Event-Sink of avmnexusd AVM
Sink evsink avm_led_event_push_button_notify 59* 6.90 - 7.90 Event-Sink of led_module.ko / hui.ko AVM
Sink evsink ctlmgr_button 68* 6.20 - 7.90 Event-Sink of libcmapi.so for ctlmgr AVM
Sink evsink ctlmgr_pairing_module 39* 6.98 - 7.90 Event-Sink of libcmapi.so for ctlmgr AVM
Sink evsink dect (evsink) 41* 6.24 - 7.90 Event-Sink of libdect.so for ctlmgr AVM
Sink evsink factory_reset_kernel 65* 6.98 - 7.90 Event-Sink of avm_factory_reset.ko AVM
Sink evsink plchost (evsink) 4* 6.92 - 7.27 Event-Sink of plchost AVM
Sink evsink plc_ui_module 53* 6.24 - 7.90 Event-Sink of libplcctlmgr.so for ctlmgr AVM
Sink evsink wlan (evsink) 68* 6.20 - 7.90 Event-Sink of libwlan.so for ctlmgr AVM
Sink evsink wland_hal (evsink) 10* 6.25 - 6.66 Event-Sink of libwland_hal.so AVM
12 dependencies for this event

Model-Matrix

Daily updated index of the presence, path and size of this event for each model. Last update: GMT.
Showing all models using this event. 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 comes from Supportdata-Probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata file or just a disabled feature.

Missing Supportdata

The data in this article is incomplete due to missing Supportdata-Probes for the models listed below.
If you own any of these models and would like to help then please get in touch.

SMW-Browser

Information is currently being retrieved from the backend.