This article is about using the only button of Turris MOX.
It could happen that MOX is not working as expected. In this occasion, you can restart your MOX. If you just press the reset button, it will reset the MOX gracefully. If you hold the button for a while (more than 4 seconds) it will reset the MOX immediately with no respect to running services. Button handling is implemented in software so its function depends on working system. If it seems that MOX is not restarting unplug it from the power supply for a while.
During the boot, the button can be used to select one of the rescue modes of Turris MOX. To do so, hold the button when you plug in the power supply.
The workflow of rescue system is that MOX will be signaling with LED (near the USB port on MOX A) what it is going to do. If you DON'T like, it press the button and MOX will offer you the next mode. If you are satisfied with what is MOX going to do, do nothing, just wait. MOX will be announcing the selected mode twice before it really does it (just in case you miss the fist announcement due to being occupied by pressing the button).
Let's pretend we would like to set mode 4 – USB flashing. Here is the example of MOX communication.
Step | MOX LED | Meaning | Button |
---|---|---|---|
1. | off | MOX is off. Hold the button and plug the power adapter. | Hold |
2. | blink | I know you are holding a button. You can release it now. | Hold |
3. | off | I'm starting kernel. | Released |
4. | on | Kernel started, I'm starting rescue image. Prepare for announcements. | Released |
5. | blink | I'm going to do mode one (reset). Do you like it? | Released |
6. | on (about 3 seconds) | I'm waiting for your opinion. We said that we want the mode 4. We don't like the mode 1 so we will press the button. | Pressed |
7. | Blink blink | Ok, if you don't like the mode one, what about the mode two (btrfs rollback)? | Released |
8. | on | We don't like the mode two so we will press the button. We want the mode four. | Pressed |
9. | Blink blink blink | If you don't like the mode two, what about the mode three. I'm going to do it if you like it. | Released |
10. | on | Let say we miss the announcement and we are not sure in which mode we are now. We can wait a little bit, there will be the second announcement. | Released |
11. | Blink blink blink | I'm saying that if you do nothing I'm going to mode three (factory reset). | Released |
12. | on | MOX is going to run mode three. It's something we don't like. We need to press the button. | Pressed |
13. | Blink blink blink blink | I'm going to mode 4 (USB flashing). Do you like it? | Released |
14. | on (about 3 seconds) | I'm waiting for your opinion.We said that we want mode four. We like that MOX is going to do mode four. We do nothing to interrupt it. | Do nothing |
15. | Blink blink blink blink | I'm saying that I'm going to mode 4 (second announcement). | Do nothing |
16. | on (about 3 seconds) | I'm waiting for your opinion. Everything is fine. Do nothing. | Do nothing |
17. | Slow blinking | Time's up. I'm going to mode 4. | Do nothing |