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.
Property:avmspeechd (avmcmd)
BoxMatrix >> Shell-Commands >> avmspeechd (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 |
Name-Collision - multiple objects in this wiki use the name avmspeechd!
|
AVM-Command
Command: | avmspeechd (avmcmd) - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /bin, /lib/supportdata.d Lab+Rel: /bin, /lib/supportdata.d | ||||||
Properties: | Size: 401 - 39.8k - Firmware: 7.24 - 8.00 | ||||||
Function: | Online Speech-Service dispatcher daemon. |
Goto: Endpoints - Events - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
avmspeechd is a Text-to-Speech online synthesizer daemon, AVM calls it AVM Speech-Service
.
It is a frontend to the online speech synthesis API running on AVM servers. Features:
- 7 languages - de, en, it, es, pl, nl, fr
- 2 genders - male / female
- 2 channel mixer - speech can be mixed with a Ringtone
- 3 codecs - WAV, G.722, Speex
- Creates an OAuth 2.0 device token derived from avm_root_ca.pem
- Creates an OAuth 2.0 MyFRITZ! token which implies it requires registration
The last 2 assumptions are based on these error strings:
[AVM Speech - E] Could not register oauth2 state callback for MyFRITZ! [AVM Speech - E] Could not register oauth2 state callback for device certificate!
avmspeechd is triggered by its client api libavmspeech_client.so, which is used by dect_manager and the shell tool tts_conv.
tts_conv is used by the telefon plugin libtam.so to improve the speech quality of the TAM messages.
AVM also improved the offline speech synthesis Audio-Files in 7.39 so avmspeechd is likely an opt-in service.
fw 7.39 help:
root@fritz:/var/mod/root# avmspeechd -? usage: avmspeechd [options] options: -? - print this help -d - run service as daemon. (NOTSET) -s - stop service. (NOTSET)
Endpoints
aicmd endpoint(s) provided by avmspeechd, with these functions: (fw 7.90)
root@fritz:/var/mod/root# aicmd avmspeechd # provided by avmspeechd: - fw 7.90+ HELP - show help SLABDUMP - show slab allocation SLABSHOW - show slab information QUIT - disconnect # provided by libewnwlinux.so: - fw 7.01+ ewnwlinux show csockshell - show shells running ewnwlinux show genetlink - show gerneric netlink families # provided by libewnwlinux.so: - fw 7.90+ ewnwlinux netlink show - show internal information ewnwlinux netlink getroute [address] - get route for inet address ewnwlinux netlink interfaces - show interfaces ewnwlinux netlink routes [ 4 | 6 ] - show routes # provided by libavmcsock.so: - fw 7.01+ avmcsock show csock - show all csock avmcsock show dnsconfig - show all dns context avmcsock show timercb - show all timer avmcsock show debughandles - show all debughandles avmcsock show cprocess - show all processes avmcsock set debug - set debug flags # provided by libavmcsock.so: - fw 7.29+ avmcsock show cbcontext - show all cbdata avmcsock show daemon - show daemon status avmcsock show cbuf - show cbuf status # provided by libavmcsock.so: - fw 7.39+ avmcsock getsymbol <address> - get symbol for address avmcsock show dnsglobal - show all dns global values avmcsock show dnscache - show cache avmcsock show dnsqueries - show all pending queries avmcsock show avmipc [endpoint shmatch] - show avmipc events and states avmcsock ctimer show - show all timer avmcsock ctimer overview - show ctimer overview avmcsock iotrace format unctrl|hexdump - set format for csock iotrace avmcsock iotrace file - enable iotrace to file avmcsock iotrace enable - enable iotrace via debugmsg avmcsock iotrace disable - disable iotrace avmcsock iotrace match help|<match> - show allowed matches or set match avmcsock iotrace reset - remove all matches avmcsock iotrace show - show configuration # provided by libavmcsock.so: - fw 7.90+ avmcsock show signals - show signal handler avmcsock show connector [cache|stats] - show connector information avmcsock show clogger - show clogger information avmcsock set clogmod [ <module> [ '.' <submodule ] ... ] [ '=' <level> ] - set clogmod log level avmcsock slab check - red zone/free check avmcsock slab reap [heavy] - call slab_reap/slab_reap_heavy avmcsock slab dump [long] - show slab allocation avmcsock slab show - show slab information avmcsock slab ewma [show|activate|deactivate|reset] - show average allocates/freed per second avmcsock avmipc notifier [endpoint shmatch] - show registered notifier avmcsock avmipc set [endpoint shmatch] - show states/events sent avmcsock avmipc csv [endpoint shmatch] - show states/events sent and listing as csv
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 |
---|---|---|---|---|---|---|
Endpoint | sock | me_avmspeechd_ipc_oauth2.ctl | 12* | 7.24 - 7.57 | avmipc endpoint of avmspeechd | AVM |
Listens to | avmipc | NW_IPC_EVT_OAUTH_COM_CONTROLLER | 10** | 7.39 - 7.57 | TODO | AVM |
Listens to | avmipc | NW_IPC_STA_OAUTH_SERVICE_STATES | 10** | 7.39 - 7.57 | TODO | AVM |
3 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.39 source files:
$ strings /bin/avmspeechd | grep -e '\.c$' -e '\.cpp$' src/cache/cache.c src/server/server.c src/server/packet_handler/service_info.c src/server/packet_handler/text_conversion.c src/service_api/request.c src/service_api/request_url_generator.c src/utils/url_utils.c
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-12-21 07:44 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 | avmspeechd.service | 29 | 7.24 - 8.00 | supervisor service for avmspeechd. | AVM |
Runs as | proc | avmspeechd (process) | 18* | 7.24 - 8.00 | Process running avmspeechd | AVM |
Serving | sock | avmspeechd_sock_if_0 | 18* | 7.24 - 8.00 | TODO | AVM |
Serving | sock | me_avmspeechd.ctl | 4* | 7.90 - 8.00 | avmipc_command endpoint of avmspeechd | AVM |
Serving | sock | me_avmspeechd_ipc_oauth2.ctl | 18* | 7.24 - 8.00 | avmipc endpoint of avmspeechd | AVM |
Depends on | lib | ld.so | 8 | 7.39 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | libavmcsock.so | 29 | 7.24 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmhmac.so | 29 | 7.24 - 8.00 | HMAC / SHA / MD5 hashing. | AVM |
Depends on | lib | libc.so | 29 | 7.24 - 8.00 | Standard C library | Linux |
Depends on | lib | libewnwlinux.so | 29 | 7.24 - 8.00 | Linux networking functions | AVM |
Depends on | lib | liboauth2.so | 29 | 7.24 - 8.00 | OAuth v2.0 authentificator | Linux |
Depends on | lib | libpthread.so | 5 | 7.28 - 8.00 | POSIX threading library | Linux |
Depends on | lib | libsvctl.so | 29 | 7.24 - 8.00 | supervisor notification library | AVM |
Depends on | lib | libwebsrv.so | 29 | 7.24 - 8.00 | HTTP / HTTPS webserver and tools. | AVM |
14 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-21 05:44 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/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
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 4040 | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 4050 | 7.58 - 7.90 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 4060 | 7.39 - 7.90 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 5530 Fiber (main) | 7.24 - 8.00 | /bin, /lib/supportdata.d | 401 - 39.8k |
FRITZ!Box 5590 Fiber (main) | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 5690 Pro (main) | 7.62 | /bin, /lib/supportdata.d | 401 - 29.3k |
FRITZ!Box 6490 Cable (atom) | 7.39 - 7.51 | /bin, /lib/supportdata.d | 401 - 25.3k |
FRITZ!Box 6590 Cable (atom) | 7.39 - 7.51 | /bin, /lib/supportdata.d | 401 - 25.3k |
FRITZ!Box 6591 Cable (atom) | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 37.6k |
FRITZ!Box 6660 Cable (atom) | 7.28 - 8.00 | /bin, /lib/supportdata.d | 401 - 37.6k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /bin, /lib/supportdata.d | 401 - 37.7k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /bin, /lib/supportdata.d | 401 - 37.6k |
FRITZ!Box 6850 LTE | 7.39 - 7.90 | /bin, /lib/supportdata.d | 401 - 35.4k |
FRITZ!Box 6850 5G | 7.39 - 7.90 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 6890 LTE (main) | 7.39 - 7.57 | /bin, /lib/supportdata.d | 401 - 35.4k |
FRITZ!Box 6890 LTE v1 (main) | 7.39 - 7.57 | /bin, /lib/supportdata.d | 401 - 35.4k |
FRITZ!Box 6890 LTE v2 (main) | 7.39 - 7.57 | /bin, /lib/supportdata.d | 401 - 35.4k |
FRITZ!Box 7490 (main) | 7.51 | /bin, /lib/supportdata.d | 401 - 31.4k |
FRITZ!Box 7510 | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 7520 | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 7520 v2 (main) | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 7530 | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Box 7530 AX | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 33.7k |
FRITZ!Box 7583 (main) | 7.50 - 7.59 | /bin, /lib/supportdata.d | 401 - 35.4k |
FRITZ!Box 7583 VDSL (main) | 7.59 - 8.00 | /bin, /lib/supportdata.d | 401 - 39.8k |
FRITZ!Box 7590 (main) | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 39.8k |
FRITZ!Box 7590 AX (main) | 7.39 - 8.00 | /bin, /lib/supportdata.d | 401 - 39.8k |
FRITZ!Box 7690 | 7.61 - 7.90 | /bin, /lib/supportdata.d | 401 - 33.5k |
FRITZ!Smart Gateway | 7.52 - 7.63 | /bin, /lib/supportdata.d | 401 - 29.4k |
29 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-21 07:44 GMT.
Firmware | Symbol |
---|---|
7.24 - 8.00 | cache_create_entry |
7.24 - 8.00 | cache_get_count_entries |
7.24 - 8.00 | cache_get_entry |
7.24 - 8.00 | cache_get_memory_stats |
7.24 - 8.00 | cache_initialize |
7.24 - 8.00 | cache_shutdown |
7.90 - 8.00 | client_connection_registry_add |
7.90 - 8.00 | client_connection_registry_destroy |
7.90 - 8.00 | client_connection_registry_exists |
7.90 - 8.00 | client_connection_registry_remove |
7.24 - 8.00 | generate_request_url |
7.24 - 8.00 | handle_packet_service_info |
7.24 - 8.00 | handle_packet_text_conversion |
7.39 - 8.00 | is_authentication_ready |
7.24 | is_myfritz_ready |
7.24 - 8.00 | main |
7.24 - 8.00 | request_text_to_speech |
7.24 - 8.00 | server_start |
7.24 - 8.00 | server_stop |
7.24 - 8.00 | server_update |
7.24 - 8.00 | url_encode_utf8_string |
21 symbols for this command |