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 september. Please use hippie2000@webnmail.de instead.

0
U

Property:bbpd (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> bbpd (avmcmd) @ 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 Gallery

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name bbpd!
bbpd (avmcmd) Broadband frontend state gathering and logging daemon.
bbpd (evsink) Event-Sink of bbpd
bbpd (evsrc) Event-Source of bbpd
bbpd (process) Broadband frontend state gathering daemon.
bbpd (watchdog) Broadband frontend state gathering daemon.

AVM-Command

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

Details

bbpd is a Broadband frontend state gathering and logging daemon, currently part of the VR11 DSL or PRX Fiber subsystems.
Depending on the access technology it either works in conjunction with dsl_monitor and dpm_manager or with fiber_monitor.
AVM calls it a broadband proxy daemon, since it proxies Broadband frontend related events into a state machine.

fw 7.39 help:

root@fritz:/var/mod/root# bbpd -h

Usage: bbpd [-D]

  -D, --daemon   Run as a daemon
  -h, --help     usage help
  -v, --verbose  more debug logging

  --type="fiber" --supportdata="param"    selected commands from fiber_monitor

Examples

On DSL models bbpd is started in E40-dsl like this:

bbpd -D
dsl_monitor -d

It creates 3 log files in /var/log:

root@fritz:/var/mod/root# cat /var/log/bbpd.log

[1970-01-01T12:34:11] [main][FORCE] AVM broadband_proxy v1.0

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2022-11-29 06:37 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 bbpd (evsink) 6* 7.19 - 7.39 Event-Sink of bbpd AVM
Receives event dsl_set 5* 7.27 - 7.39 Set Broadband frontend config AVM
Receives event user_source_notify 6* 7.19 - 7.39 TODO AVM
Source evsrc bbpd (evsrc) 6* 7.19 - 7.39 Event-Source of bbpd AVM
Sends event dsl_connect_status 6* 7.19 - 7.39 Broadband modem sync changes AVM
Sends event dsl_get 6* 7.19 - 7.39 Broadband frontend details AVM
Sends event dsl_status 2* 7.19 - 7.39 Broadband modem sync details AVM
Endpoint sock me_bbpd-dsl.ctl 6* 7.19 - 7.39 avmipc endpoint for bbpd events from dsl_monitor AVM
Listens to avmipc @ 4** 7.29 - 7.39 Special event for listeners of nameless private messages. AVM
Endpoint sock me_bbpd-fiber.ctl 3* 7.19 - 7.39 avmipc endpoint for bbpd events from fiber_monitor AVM
Listens to avmipc @ 1** 7.29 Special event for listeners of nameless private messages. AVM
Endpoint sock me_bbpd-independent.ctl 5* 7.27 - 7.39 avmipc endpoint for bbpd events from libbbeventlog.so AVM
Listens to avmipc @ 4** 7.29 - 7.39 Special event for listeners of nameless private messages. AVM
Command cmd bbpd (avmcmd) 17 7.21 - 7.39 Broadband frontend state gathering daemon. AVM
Sends avmipc BBPD_EVENT_DSL_RESET_MINMAX_SNRBIT - 7.39 Trigger event requesting reset of the SNR min / max recording. AVM
Sends avmipc BBPD_EVENT_DSL_RETRAIN - 7.39 Trigger event requesting Broadband modem retraining / resync. AVM
Sends avmipc BBPD_STATE_PARAMS_DSL - 7.29 - 7.39 State of the DSL frontend in JSON format. AVM
Sends avmipc BBPD_STATE_PARAMS_FIBER - 7.29 - 7.39 State of the Fiber frontend in JSON format. AVM
Sends avmipc BBPD_STATE_PARAMS_SFP - 7.29 - 7.39 State of the currently plugged in SFP module in JSON format. AVM
19 event relations for this command

The user_source_notify event seems to come from dsl_monitor.

bbpd in fact is an event proxy providing Broadband frontend state information.
It also uses libdslutils.so and libbb.so so it is informed about the Broadband interface.

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /usr/sbin/bbpd | grep -e '\.c$' -e '\.cpp$'

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2022-11-29 07:19 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Started by serv bbpd.service 6 7.39 supervisor service for bbpd. AVM
Runs as proc bbpd (process) 6* 7.19 - 7.39 Broadband frontend state gathering daemon. AVM
Registers wdog bbpd (watchdog) 6* 7.19 - 7.39 Broadband frontend state gathering daemon. AVM
Serving sock me_bbpd-dsl.ctl 6* 7.19 - 7.39 avmipc endpoint for bbpd events from dsl_monitor AVM
Serving sock me_bbpd-fiber.ctl 3* 7.19 - 7.39 avmipc endpoint for bbpd events from fiber_monitor AVM
Serving sock me_bbpd-independent.ctl 5* 7.27 - 7.39 avmipc endpoint for bbpd events from libbbeventlog.so AVM
Depends on lib ld.so 3 7.39 Dynamic linker / loader Linux
Depends on lib lib_bb_serialize.so 16 7.27 - 7.39 Structures for Brodband messages AVM
Depends on lib libannexctl.so 1 7.27 - 7.30 Annex changer for FIT-Image models FIT
Depends on lib libavm_event.so 17 7.21 - 7.39 AVM-Events management API AVM
Depends on lib libavmcsock.so 17 7.21 - 7.39 Networking, I/O and helper functions AVM
Depends on lib libbacktrace.so 17 7.21 - 7.39 Crash handler and logger AVM
Depends on lib libbb.so 16 7.27 - 7.39 Broadband connection information helpers AVM
Depends on lib libboxlib.so 17 7.21 - 7.39 Box status, logging and statistics functions AVM
Depends on lib libc.so 17 7.21 - 7.39 Standard C library Linux
Depends on lib libdslutils.so 16 7.27 - 7.39 Broadband frontend information helpers AVM
Depends on lib libewnwlinux.so 15 7.39 Linux networking functions AVM
Depends on lib libgcc_s.so 17 7.21 - 7.39 GCC low-level runtime library Linux
Depends on lib libled2.so 17 7.21 - 7.39 LED API - second+third generation AVM
Depends on lib libm.so 7 7.39 C math library Linux
Depends on lib libstdc++.so 17 7.21 - 7.39 GNU C++ library Linux
21 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2022-11-29 05:54 GMT.
Showing all models using this command. 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
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 /usr/sbin 22.6k - 22.7k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.30 /usr/sbin 45.6k
FRITZ!Box 6591 Cable (arm) 7.39 /usr/sbin 41.7k
FRITZ!Box 6591 Cable (atom) 7.39 /usr/sbin 41.7k
FRITZ!Box 6660 Cable (arm) 7.39 /usr/sbin 41.7k
FRITZ!Box 6660 Cable (atom) 7.39 /usr/sbin 41.7k
FRITZ!Box 6690 Cable (arm) 7.39 /usr/sbin 41.7k
FRITZ!Box 6690 Cable (atom) 7.39 /usr/sbin 41.7k
FRITZ!Box 6850 LTE 7.39 /usr/sbin 43.9k
FRITZ!Box 6890 LTE 7.39 /usr/sbin 43.9k - 47.6k
FRITZ!Box 6890 LTE v1 7.39 /usr/sbin 43.9k - 47.6k
FRITZ!Box 6890 LTE v2 7.39 /usr/sbin 43.9k - 47.6k
FRITZ!Box 7490 (main) 7.39 /usr/sbin 40.1k
FRITZ!Box 7530 7.39 /usr/sbin 17.5k - 37.7k
FRITZ!Box 7530 AX 7.39 /usr/sbin 33.7k - 37.7k
FRITZ!Box 7590 7.39 /usr/sbin 22.6k - 48.0k
FRITZ!Box 7590 AX 7.39 /usr/sbin 22.6k - 48.0k
17 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2022-11-29 07:19 GMT.

Firmware Symbol
7.39 bbp::Bbp::check_arch_ready
7.39 bbp::Bbp::create_stat_file
7.21 - 7.39 bbp::Bbp::on_avm_event_receive
7.39 bbp::Bbp::on_exit
7.21 - 7.39 bbp::Bbp::on_init
7.21 - 7.39 bbp::Bbp::on_update_leds
7.39 bbp::Bbp::print_supportdata
7.39 bbp::Bbp::run
7.21 - 7.39 bbp::Bbp::usage
7.21 - 7.39 bbp::Bbp::~Bbp
7.21 - 7.39 bbp::Monitor::Monitor
7.39 bbp::Monitor::count_ipc_recv_event
7.39 bbp::Monitor::count_ipc_send_event
7.39 bbp::Monitor::event_send
7.39 bbp::Monitor::is_newest_ipc_event
7.21 - 7.39 bbp::Monitor::msg_send
7.21 - 7.39 bbp::Monitor::on_avmipc_receive
7.39 bbp::Monitor::state_set
7.39 bbp::Monitor::write_arch_status_to_file
7.21 - 7.39 bbp::Monitor::~Monitor
7.21 - 7.39 main
21 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.