mirror of
https://github.com/femtofox/femtofox.git
synced 2026-12-04 05:40:16 -05:00
Update usb_config.md
This commit is contained in:
parent
da13fa5dde
commit
91b0160259
1 changed files with 14 additions and 11 deletions
|
|
@ -11,7 +11,7 @@ Configurable settings are:
|
|||
- Activity LED (blinky light - disable for minor power savings)
|
||||
- Meshtastic:
|
||||
- [LoRa radio model](https://github.com/femtofox/femtofox/blob/main/supported_hardware.md)
|
||||
- [URL](https://meshtastic.org/docs/software/python/cli/#--seturl-seturl) (used to configure LoRa settingschannels and generate the QR code)
|
||||
- [URL](https://meshtastic.org/docs/software/python/cli/#--seturl-seturl) (used to configure LoRa settings/channels and generate the QR code)
|
||||
- Security: [public key](https://meshtastic.org/docs/configuration/radio/security/#public-key)
|
||||
- Security: [private key](https://meshtastic.org/docs/configuration/radio/security/#private-key)
|
||||
- Security: Add [Admin Key](https://meshtastic.org/docs/configuration/radio/security/#admin-key)
|
||||
|
|
@ -69,17 +69,20 @@ A log (`femtofox-config.log`) is saved to `/home/femto` and the USB drive (excep
|
|||
### Boot codes
|
||||
When the Femtofox is finished booting, it will blink its User LED (see below) in a pattern which can be used to gather info on its status or help diagnose issues.
|
||||

|
||||
| LED blink pattern| Meaning| Possible causes| Solutions|
|
||||
| LED blink pattern | Meaning | Possible causes | Solutions |
|
||||
|--|--|--|--|
|
||||
| <p align="center">⚠️<br>**──────────**<br>1 very long blink, lasting 5 seconds</center>| • Failed to mount USB drive. Ignoring.| Invalid filesystem<br>•Corrupted partition table<br>• Defective USB drive<br>• Defective USB OTG adapter| • Use a supported partition (FAT32, exFAT, NTFS, ext4)<br>• Repair partition table<br>• Try another USB drive<br>• Try another USB OTG adapter|
|
||||
| <p align="center">⚠️<br>**─── ───**<br>2 long blinks, each lasting 1.5 seconds</center>|femtofox-config.txt is configured to skip if log exists.| femtofox-config.txt is configured to skip if USB drive mounted successfully but femtofox-config.txt contains `dont_run_if_log_exists="true"` and a log is present on the USB drive. Ignoring.| • Remove log from USB drive.<br>• Remove `dont_run_if_log_exists` line from femtofox-config.txt.|
|
||||
| <p align="center">⚠️<br>**─── ─── ───**<br>3 long blinks, each lasting 1.5 seconds | USB drive mounted successfully but femtofox-config.txt was not found.| Config file missing.| Create configuration file as described above.|
|
||||
| <p align="center">⚠️<br>**─── ─── ─── ─── ───**<br>5 long blinks, each lasting 1.5 seconds</center> | USB drive mounted successfully and femtofox-config.txt was found but did not contain readable configuration data.| Configuration file improperly formatted or contains no data.| Check configuration file contents as described above.|
|
||||
| <p align="center">⚠️<br>**── ── - -**<br>2 long blinks, each lasting 1 second, then 2 short blinks, each lasting 1/4 of a second. Repeats twice | Error while trying to implement a Meshtastic setting after 3 attempts. Some settings may have been implemented successfully.| • The error may be transient.<br>• Configuration file may contain improper data.| • Try again.<br>• Check configuration file contents as described above.<br>• Check the log.<br><br>This pattern may flash before other patterns. The pattern will repeat once for each failed setting. |
|
||||
| <p align="center">✅<br>**· · · · · · · · · ·**<br>10 very fast blinks, each lasting 1/8th of a second</center>| USB drive mounted successfully, and femtofox-config.txt was found and contained configuration data which was sent for deployment. Any affected services will now restart. You can disconnect the USB drive. | This does not mean that the information in the config file is correct - only that it was readable.<br>Note that the "success" boot code will flash if at least one setting is successfully read - even if the setting was not implemented successfully. ||
|
||||
| <p align="center">✅<br>**─ ─ ─ ─ ─**<br> 5 medium blinks, each lasting 0.5 seconds</center>| Boot complete. Appears on every successful boot and always appears last.| | Hooray! |
|
||||
| <p align="center">⚠️<br>**──────────**<br>1 very long blink, lasting 5 seconds</center> | Failed to mount USB drive. Ignoring. | • Invalid filesystem<br>• Corrupted partition table<br>• Defective USB drive<br>• Defective USB OTG adapter | • Use a supported partition (FAT32, exFAT, NTFS, ext4)<br>• Repair partition table<br>• Try another USB drive<br>• Try another USB OTG adapter |
|
||||
| <p align="center">⚠️<br>**─── ───**<br>2 long blinks, each lasting 1.5 seconds</center> | femtofox-config.txt is configured to skip if log exists. | USB drive mounted successfully but femtofox-config.txt contains `dont_run_if_log_exists="true"` and a log is present on the USB drive. Ignoring. | Remove log from USB drive or remove `dont_run_if_log_exists` line from femtofox-config.txt |
|
||||
| <p align="center">⚠️<br>**─── ─── ───**<br>3 long blinks, each lasting 1.5 seconds</center> | USB drive mounted successfully but femtofox-config.txt was not found. Ignoring. | Config file missing. | Create configuration file as described above. |
|
||||
| <p align="center">⚠️<br>**─── ─── ─── ─── ───**<br>5 long blinks, each lasting 1.5 seconds</center> | USB drive mounted successfully and femtofox-config.txt was found but did not contain readable configuration data. Ignoring. | Configuration file improperly formatted or contains no data. | Check configuration file contents as described above. |
|
||||
| <p align="center">⚠️<br>**── ── - -**<br>2 long blinks, each lasting 1 second, then 2 short blinks, each lasting 1/4 of a second. Repeats twice | Error while trying to implement a Meshtastic setting after 3 attempts. Some settings may have been implemented successfully. | • The error may be transient.<br>• Configuration file may contain improper data. | • Try again.<br>• Check configuration file contents as described above.<br>• Check the log.<br><br>This pattern may flash before other patterns. The pattern will repeat once for each failed setting. |
|
||||
| <p align="center">✅<br>**· · · · · · · · · ·**<br>10 very fast blinks, each lasting 1/8th of a second</center> | USB drive mounted successfully, and femtofox-config.txt was found and contained configuration data which was sent for deployment. Any affected services will now restart. You can disconnect the USB drive. | This does not mean that the information in the config file is correct - only that it was readable.<br>Note that the "success" boot code will flash if at least one setting is successfully read - even if the setting was not implemented successfully. | |
|
||||
| <p align="center">✅<br>**─ ─ ─ ─ ─**<br>5 medium blinks, each lasting 0.5 seconds</center> | Boot complete. Appears on every successful boot and always appears last.| | Hooray! |
|
||||
> \[!NOTE\]
|
||||
> Boot codes can appear in sequence - for example: one long (4 second) blink, followed by 5 medium (half second) blinks means the USB drive failed to mount, and that the boot sequence is complete.
|
||||
<!--stackedit_data:
|
||||
eyJoaXN0b3J5IjpbLTU3MDk4NDg4NF19
|
||||
-->
|
||||
eyJoaXN0b3J5IjpbLTE5OTAxODA3OSwtMjYyOTMyNDldfQ==
|
||||
|
||||
|
||||
> \[!NOTE\]
|
||||
> Boot codes can appear in sequence - for example: one long (4 second) blink, followed by 5 medium (half second) blinks means the USB drive failed to mount, and that the boot sequence is complete.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue