usb_config.md updated from https://stackedit.io/

This commit is contained in:
noon92 2025-01-25 02:18:28 +02:00
parent 59f7e85ed7
commit da9f61fd38

View file

@ -69,6 +69,8 @@ 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.
![LEDs](assets/images/leds.png)
| LED blink pattern | Meaning | Possible causes | Solutions |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| LED blink pattern ai ilessoution | Failed to mount USB drive. Ignoring.| Invalid filesystem<>Corrupted partition table<>Defective USB drive<>Defective USB OTG adapter | Use a supported partition (FAT32, exFAT, NTFS, ext4)<>Repair partition table<>Try another USB drive<>Try another USB OTG adapter |
| <center">⚠️<br>**_\_\__**\_<br>2 long blinks, each lasting .5 seconds | 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 driveremove `dont_run_if_log_exists` line from femtofox-config.txt |
|<center>⚠️<br>**_\_\_**\_\__\_<br>3 long blinks, each lasting 1.5 seconds | USB drive mounted successfully but femtofox-config.txt was not found. Ignoring. | Config file missing. | Create configuration file as described above. || <center>⚠️<br─\\_\_\__\_\__\_\_**\_\__\_\_\_<br>5 long blinks, each lasting 1.5 seconds | 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. |
@ -76,8 +78,9 @@ When the Femtofox is finished booting, it will blink its User LED (see below) in
| <center>✅<br>. . . . . . . . . .<br>10 very fast blinks, each lasting 1/8th of a second</r> | 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. | |
|<center>✅<br>\_\_;<br>5 medium blinks, each lasting 0.5 seconds | Boot complete. Appears on every successful boot and always appears last. | | \_\_&nbsp;&nbsp;\_\_<br>5 medium blinks, each lasting 0.5 seconds | Boot complete. Appears on every successful boot and always appears last.| | |
> \[!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:
eyJoaXN0b3J5IjpbMTA1MDMwODEwNyw1NDc4NzEyNDFdfQ==
eyJoaXN0b3J5IjpbMTQ3MTUyNjMxNSw1NDc4NzEyNDFdfQ==
-->