Unfortunately it looks like some modem firmwares (or SIM cards?) need more time until the SIM card shows up in the modem. This means that the SIM card might not get configured, making it look like it was not detected at all. On the other hand, having the previous long wait loop affects _all devices_ when there is really no SIM inserted. The proper solution would be to make it possible to configure SIM cards once they show up (probably in ModemManager). Until then, try to make it possible to workaround this by introducing a configurable delay to wait for the SIM card. It is set to minimal "1 seconds" by default but could be increased by the user if needed to give the modem enough time to detect the SIM card. This reverts commit 683b543a3b65 ("msm-modem-uim-selection: Don't wait for SIM (MR 2470)" but with a new configuration mechanism and a default of 1 second only. [ci:skip-build] already built successfully in CI
7 lines
360 B
Plaintext
7 lines
360 B
Plaintext
# Maximum time to wait for SIM card to appear after starting the modem.
|
|
# Some SIM cards or modem firmwares might take longer to initialize. :(
|
|
# To avoid blocking boot without a SIM card for too long this is fairly short
|
|
# by default (1 second), but you can increase it to e.g. 30 seconds if necessary.
|
|
# Set to 0 to disable waiting entirely.
|
|
sim_wait_time=1
|