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: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 Media

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-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 ptestd (evsink) 12* 6.24 - 7.50 Event-Sink of ptestd AVM
Receives event rpc (event) 12* 6.24 - 7.50 ptestd remote commands AVM
Source evsrc ptestd_source 12* 6.24 - 7.50 Event-Source of ptestd AVM
Sends event remote_notifier 12* 6.24 - 7.50 Remote Event-Source notify AVM
Sends event rpc (event) 12* 6.24 - 7.50 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: 2024-04-26 07:29 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) 14* 6.08 - 7.61 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 14* 6.87 - 7.61 TODO AVM
Serving sock ptestd_pipe 14* 6.08 - 7.61 TODO AVM
Depends on lib ld.so 6 7.08 - 7.90 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 44 6.20 - 7.90 AVM-Events management API AVM
Depends on lib libavmcsock.so 44 6.20 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libc.so 44 6.20 - 7.90 Standard C library Linux
Depends on lib libcrypto.so 8 7.61 - 7.90 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 8 7.61 - 7.90 Dynamic linking library Linux
Depends on lib libgcc_s.so 6 6.20 - 6.110 GCC low-level runtime library Linux
Depends on lib libm.so 41 7.39 - 7.90 C math library Linux
Depends on lib libmxml.so 12 7.14 - 7.29 Mini-XML parser / generator Linux
Depends on lib libpthread.so 44 6.50 - 7.90 POSIX threading library Linux
Depends on lib librt.so 44 6.20 - 7.90 POSIX realtime extensions library Linux
16 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-26 05:10 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 4020 7.39 /usr/bin 342k
FRITZ!Box 4040 7.39 /usr/bin 342k
FRITZ!Box 4060 7.39 /usr/bin 342k
FRITZ!Box 5530 Fiber (main) 7.39 /usr/bin 342k
FRITZ!Box 5590 Fiber (arm) 7.39 /usr/bin 342k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /usr/bin 50.3k - 342k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /usr/bin 65.9k - 277k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.57 /usr/bin 49.9k - 342k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /usr/bin 49.9k - 333k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /usr/bin 50.3k - 342k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /usr/bin 65.9k - 333k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.90 /usr/bin 157k - 396k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.90 /usr/bin 159k - 396k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.90 /usr/bin 162k - 396k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.90 /usr/bin 230k - 396k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /usr/bin 214k - 396k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /usr/bin 392k - 396k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.90 /usr/bin 190k - 396k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /usr/bin 301k - 396k
FRITZ!Box 6820 LTE v1 7.39 /usr/bin 342k
FRITZ!Box 6820 LTE v2 7.39 /usr/bin 342k
FRITZ!Box 6840 LTE 7.39 /usr/bin 342k
FRITZ!Box 6850 LTE 7.39 /usr/bin 342k
FRITZ!Box 6850 5G 7.39 /usr/bin 342k
FRITZ!Box 6890 LTE 7.39 /usr/bin 342k
FRITZ!Box 6890 LTE v1 7.39 /usr/bin 342k
FRITZ!Box 6890 LTE v2 7.39 /usr/bin 342k
FRITZ!Box 7272 7.39 /usr/bin 342k
FRITZ!Box Fon WLAN 7390 /usr/bin 542
FRITZ!Box 7430 7.39 /usr/bin 342k
FRITZ!Box 7490 (main) 7.39 - 7.57 /usr/bin 342k
FRITZ!Box 7520 7.39 /usr/bin 342k
FRITZ!Box 7520 v2 (arm) 7.39 /usr/bin 342k
FRITZ!Box 7530 7.39 /usr/bin 342k
FRITZ!Box 7530 AX 7.39 /usr/bin 342k
FRITZ!Box 7560 7.39 /usr/bin 342k
FRITZ!Box 7590 7.39 /usr/bin 342k
FRITZ!Box 7590 AX 7.39 /usr/bin 342k
FRITZ!Repeater 600 7.39 /usr/bin 342k
FRITZ!Repeater 1200 7.39 /usr/bin 342k
FRITZ!WLAN Repeater 1750E 7.39 /usr/bin 342k
FRITZ!Repeater 2400 7.39 /usr/bin 342k
FRITZ!Repeater 3000 7.39 /usr/bin 342k
FRITZ!Repeater 3000 AX 7.39 /usr/bin 342k
FRITZ!Powerline 1260E 7.39 /usr/bin 342k
45 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-26 07:29 GMT.

Firmware Symbol
7.19 - 7.51 lfcActorRef_tell
7.08 - 7.51 lfcHashmap_hash_int
7.19 - 7.29 lfcHashmap_hash_ptr
7.39 - 7.51 lfcHashmap_hash_string
7.08 - 7.51 lfcIIterable_count
7.08 - 7.51 lfcIIterable_exists
7.08 - 7.51 lfcIIterable_filter
7.08 - 7.51 lfcIIterable_filterNot
7.08 - 7.51 lfcIIterable_find
7.08 - 7.51 lfcIIterable_foreach
7.08 - 7.51 lfcIIterable_head
7.08 - 7.51 lfcIIterable_isEmpty
7.08 - 7.51 lfcIIterable_last
7.08 - 7.51 lfcIIterable_map
7.08 - 7.51 lfcIIterable_next
7.08 - 7.51 lfcIIterable_nonEmpty
7.19 - 7.51 lfcLogAppender_print
7.08 - 7.51 lfcObject_ctor
7.08 - 7.51 lfcObject_dtor
7.08 - 7.51 lfcObject_puto
7.08 - 7.51 lfcSocketJob_doWork
7.08 - 7.51 lfcSocketJob_reset
7.08 - 7.51 main
7.39 - 7.51 mxml_opaque_cb
7.19 - 7.51 private_test_wlan_finaliize_forIntel_parseXml
7.39 - 7.51 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.