ModemManager: enable all available FCC-unlock scripts #3549
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FCC-locked modems are in disabled state and in low-power mode. ModemManager is not able to use locked modem unless a suitable FCC-unlock procedure is triggered. For some widely used modems, MM provides FCC-unlock scripts. However, in some cases, these scripts are a result of reverse engineering of proprietary unlock utilities and may not work correctly. Therefore, these scripts are disabled by default.
We already had a situation where FCC unlock was required by an EVE user. We will therefore enable all FCC unlock scripts and then potentially disable only those for which issues will be reported. More info in the documentation that was added.
Additionally in this PR, there is a small improvement in terms of errors reported for failed connectivity setup. mmagent tries to find more useful reason for failure than
context.DeadlineExceeded
.