Skip to content
Snippets Groups Projects
Commit b359ed18 authored by Misanthropos's avatar Misanthropos Committed by David Bauer
Browse files

gluon-setup-mode: add DECT button to enter setup mode

many AVM devices do not have RESET/WPS buttons. So use the otherwise unused DECT/PHONE button to boot the device into setup mode.

This patch allows to enter the setup-mode by pressing the phone button
(often labeled as DECT) in addition to WPS and reset button.

This patch is necessary to allow supporting boards without a WPS and reset
button (e.g. AVM FRITZ!Box 7312).
parent 7f858b1c
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ Activating Config Mode ...@@ -14,7 +14,7 @@ Activating Config Mode
---------------------- ----------------------
Config Mode is automatically entered at the first boot. You can re-enter Config Mode is automatically entered at the first boot. You can re-enter
Config Mode by pressing and holding the RESET/WPS button for about three Config Mode by pressing and holding the RESET/WPS/DECT button for about three
seconds. The device should reboot (all LEDs will turn off briefly) and seconds. The device should reboot (all LEDs will turn off briefly) and
Config Mode will be available. Config Mode will be available.
......
...@@ -12,7 +12,7 @@ wait_setup_mode() { ...@@ -12,7 +12,7 @@ wait_setup_mode() {
} }
if [ "$BUTTON" = wps -o "$BUTTON" = reset ]; then if [ "$BUTTON" = wps -o "$BUTTON" = reset -o "$BUTTON" = phone ]; then
case "$ACTION" in case "$ACTION" in
pressed) pressed)
wait_setup_mode & wait_setup_mode &
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment