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:ptestd (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> ptestd (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 ptestd!
ptestd (avmcmd) Production test helper daemon for Puma6 / Puma7 models.
ptestd (evsink) Event-Sink of ptestd
ptestd (process) Production test helper daemon for Puma6 / Puma7 models.
ptestd (tmpdir) TODO

AVM-Command

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

Details

ptestd is a production test helper daemon for Puma6 / Puma7 cable models, a platform specific variant of psupportd
It distributes all tests and calibrations to the ARM or ATOM CPU depending on where the respective hardware is located.

It runs on both CPUs in 2 instances each, both instances with same arguments each:

ATOM: ptestd --client_ip=192.168.178.20 -c1    # listens on 169.254.1.1:7358 tcp / lan:0 emerg. ip
ARM:  ptestd --client_ip=192.168.178.20 -c2    # listens on 169.254.1.2:7358 tcp / ip of acc0

Thr communication between both instances is explained in the rpc event article.

fw 7.29 help - no help function provided:

root@fritz2:/var/mod/root# ptestd -?

[PTESTD] AVM ptest daemon (protocol version: 1.40)

[PTESTD] configuration: PRODTEST=n POSIX_MQUEUE=y RPC_OVER_EVENTS=y CAPI=n
[PTESTD]                TEST_WLAN=y TEST_DECT=y TEST_DSL=n TEST_LTE=n TEST_DOCSIS=y TEST_GPON=n

[PTESTD] parse ARG '-?'
[PTESTD] ERROR (errno 0): no event source id found (argument '-c1' or '-c2' needed)

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-01-30 06:34 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 ptestd (evsink) 12* 6.24 - 7.29 Event-Sink of ptestd AVM
Receives event rpc (event) 12* 6.24 - 7.29 ptestd remote commands AVM
Source evsrc ptestd_source 12* 6.24 - 7.29 Event-Source of ptestd AVM
Sends event remote_notifier 12* 6.24 - 7.29 Remote Event-Source notify AVM
Sends event rpc (event) 12* 6.24 - 7.29 ptestd remote commands AVM
5 event relations for this command

Source

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

$ strings /usr/bin/ptestd | grep -e '\.c$' -e '\.cpp$'

libForC/src/main/mem/lfcMemPool.c
ptestd.c
logging.c
socket.c
connection.c
message.c
message_handler.c
file_exchange.c
async_script_exec.c
execute.c
test_usbhost.c
test_temp.c
test_wlan_finalize_forIntel.c
test_dect_cal.c
test_dect_finalize.c
test_environment_variable.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-01-30 18:58 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Runs as proc ptestd (process) 12* 6.08 - 7.29 Production test helper daemon for Puma6 / Puma7 models. AVM
Serving port Port-7357-tcp 2* 6.08 - 6.66 TODO AVM
Serving port Port-7358-tcp 12* 6.87 - 7.29 TODO AVM
Serving sock ptestd_pipe 12* 6.08 - 7.29 TODO AVM
Depends on lib ld.so 4 7.08 - 7.13 Dynamic linker / loader Linux
Depends on lib libacsrpc.so 2 6.20 - 6.64 RPC endpoint communication API. AVM
Depends on lib libavm_event.so 12 6.20 - 7.50 AVM-Events management API AVM
Depends on lib libavmcsock.so 12 6.20 - 7.50 Networking, I/O and helper functions AVM
Depends on lib libc.so 12 6.20 - 7.50 Standard C library Linux
Depends on lib libgcc_s.so 6 6.20 - 6.110 GCC low-level runtime library Linux
Depends on lib libm.so 8 7.39 - 7.50 C math library Linux
Depends on lib libmxml.so 12 7.14 - 7.29 Mini-XML parser / generator Linux
Depends on lib libpthread.so 12 6.50 - 7.50 POSIX threading library Linux
Depends on lib librt.so 12 6.20 - 7.50 POSIX realtime extensions library Linux
14 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-01-30 16:58 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 6430 Cable (arm) 6.84 - 7.29 /usr/bin 50.3k - 277k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /usr/bin 65.9k - 277k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.39 /usr/bin 49.9k - 333k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.39 /usr/bin 49.9k - 333k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.39 /usr/bin 50.3k - 333k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.39 /usr/bin 65.9k - 333k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /usr/bin 157k - 342k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /usr/bin 159k - 342k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /usr/bin 162k - 342k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /usr/bin 230k - 342k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /usr/bin 190k - 342k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /usr/bin 301k - 342k
FRITZ!Box Fon WLAN 7390 /usr/bin 542
13 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-01-30 18:58 GMT.

Firmware Symbol
7.19 - 7.39 lfcActorRef_tell
7.08 - 7.39 lfcHashmap_hash_int
7.19 - 7.29 lfcHashmap_hash_ptr
7.39 lfcHashmap_hash_string
7.08 - 7.39 lfcIIterable_count
7.08 - 7.39 lfcIIterable_exists
7.08 - 7.39 lfcIIterable_filter
7.08 - 7.39 lfcIIterable_filterNot
7.08 - 7.39 lfcIIterable_find
7.08 - 7.39 lfcIIterable_foreach
7.08 - 7.39 lfcIIterable_head
7.08 - 7.39 lfcIIterable_isEmpty
7.08 - 7.39 lfcIIterable_last
7.08 - 7.39 lfcIIterable_map
7.08 - 7.39 lfcIIterable_next
7.08 - 7.39 lfcIIterable_nonEmpty
7.19 - 7.39 lfcLogAppender_print
7.08 - 7.39 lfcObject_ctor
7.08 - 7.39 lfcObject_dtor
7.08 - 7.39 lfcObject_puto
7.08 - 7.39 lfcSocketJob_doWork
7.08 - 7.39 lfcSocketJob_reset
7.08 - 7.39 main
7.39 mxml_opaque_cb
7.19 - 7.39 private_test_wlan_finaliize_forIntel_parseXml
7.39 putDescriptionBackend_toAPIVersionInfo
7.08 - 7.13 tests_test_start
7.08 - 7.13 tests_test_status
7.08 - 7.13 tests_test_stop
29 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.