Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
341 stars 52 forks source link

MediaAccess TG789vac Xtream 35b #1030

Open lorenzocanalelc opened 3 years ago

lorenzocanalelc commented 3 years ago

Device Model: MediaAccess TG789vac Xtream 35b Firmware 16.3.7446 Gui Version: 9.6.50-a5f2b677

Description of problems: -Missing Gateway Immage --> transformer-cli get uci.env.var.prod_friendly_name: uci.env.var.prod_friendly_name [string] = MediaAccess TG789vac Xtream 35b

-Info Button not working --> The ECO-Led option works but the info button doesn't turn on the leds

FrancYescO commented 3 years ago

uci show button logread -f than press the info button

lorenzocanalelc commented 3 years ago
root@OpenWrt:~# uci show button
button.reset=button
button.reset.button='BTN_0'
button.reset.action='released'
button.reset.handler='rtfd'
button.reset.min='5'
button.reset.max='30'
button.eco=button
button.eco.button='BTN_1'
button.eco.action='released'
button.eco.handler='wifionoff.sh'
button.eco.min='3'
button.eco.max='8'
button.acl=button
button.acl.button='BTN_1'
button.acl.action='released'
button.acl.handler='acl_button_pressed.sh'
button.acl.min='8'
button.acl.max='20'
button.dect_paging=button
button.dect_paging.button='BTN_2'
button.dect_paging.action='released'
button.dect_paging.handler='ubus call mmpbxbrcmdect.paging toggle'
button.dect_paging.min='0'
button.dect_paging.max='3'
button.dect_registration=button
button.dect_registration.button='BTN_2'
button.dect_registration.action='released'
button.dect_registration.handler='ubus call mmpbxbrcmdect.registration open'
button.dect_registration.min='3'
button.dect_registration.max='30'
button.info=button
button.info.button='BTN_3'
button.info.action='released'
button.info.handler='logger INFO button pressed ; ubus send infobutton '\''{"state":"active"}'\'''
button.info.min='0'
button.info.max='3'
button.wps=button
button.wps.button='BTN_4'
button.wps.action='released'
button.wps.min='0'
button.wps.max='3'
button.qeo_registration=button
button.qeo_registration.button='BTN_4'
button.qeo_registration.action='released'
button.qeo_registration.handler='qeo_registration_button_pressed.sh'
button.qeo_registration.min='0'
button.qeo_registration.max='3'
button.qeo_unregistration=button
button.qeo_unregistration.button='BTN_4'
button.qeo_unregistration.action='released'
button.qeo_unregistration.handler='qeo_unregistration_button_pressed.sh'
button.qeo_unregistration.min='5'
button.qeo_unregistration.max='20'

root@OpenWrt:~# logread -f
Tue Dec 15 11:41:13 2020 user.notice [Buttons]: pressed BTN_1
Tue Dec 15 11:41:13 2020 user.notice [Buttons]: released BTN_1

root@OpenWrt:/rom/etc/config# logger INFO button pressed ; ubus send infobutton \'{\"state\":\"active
\"}\'
Failed to parse message data

EDIT: As Suggested in the forum uci set button.info.button="BTN_1" ; uci commit fixed the problem