Skip to content

fix(driver/mbim): better support for single slot devices#416

Merged
damonto merged 1 commit intoestkme-group:mainfrom
fransklaver:fix-mbim-single-uim-slot-support
Mar 5, 2026
Merged

fix(driver/mbim): better support for single slot devices#416
damonto merged 1 commit intoestkme-group:mainfrom
fransklaver:fix-mbim-single-uim-slot-support

Conversation

@fransklaver
Copy link
Contributor

Modems that only have one sim slot may respond with NO_DEVICE_SUPPORT when we try to request the sim slot mapping in preparation for sim selection. This is (arguably) correct behavior when we're trying to select a sim slot that isn't there, but when we want to access slot 0, we shouldn't complain about it.

So catch the situation where we receive the NO_DEVICE_SUPPORT error and consider the switch action successful if we're trying to access the first and only sim slot.

While we're here, slightly improve two error lines to better indicate what's going wrong.

Tested with EM7590 and EM9291 configured for only a single sim slot (AT!CUSTOM="UIM2ENABLE",0).

Modems that only have one sim slot may respond with NO_DEVICE_SUPPORT
when we try to request the sim slot mapping in preparation for sim
selection. This is (arguably) correct behavior when we're trying to
select a sim slot that isn't there, but when we want to access slot 0,
we shouldn't complain about it.

So catch the situation where we receive the NO_DEVICE_SUPPORT error
and consider the switch action successful if we're trying to access the
first and only sim slot.

While we're here, slightly improve two error lines to better indicate
what's going wrong.

Tested with EM7590 and EM9291 configured for only a single sim slot
(`AT!CUSTOM="UIM2ENABLE",0`).

Signed-off-by: Frans Klaver <frans.klaver@vislink.com>
@damonto damonto merged commit d214738 into estkme-group:main Mar 5, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants