Skip to content

modemmanager: enable qrtr for ModemManager on QCOM devices#1722

Open
asusmith-qti wants to merge 1 commit intoqualcomm-linux:masterfrom
asusmith-qti:enable_qrtr
Open

modemmanager: enable qrtr for ModemManager on QCOM devices#1722
asusmith-qti wants to merge 1 commit intoqualcomm-linux:masterfrom
asusmith-qti:enable_qrtr

Conversation

@asusmith-qti
Copy link

Enable the qrtr support in modemmanager and disable mbim.

@anujm1
Copy link
Contributor

anujm1 commented Mar 10, 2026

Enable the qrtr support in modemmanager and disable mbim.

Why? Please include details in commit message.

@@ -0,0 +1,3 @@
PACKAGECONFIG:remove = "mbim"
PACKAGECONFIG:append = " qrtr"
EXTRA_OEMESON:remove = "-Dqrtr=false"
Copy link
Contributor

@anujm1 anujm1 Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed if qrtr is in PACKAGECONFIG. If recipe has a bug, please send fix to meta-oe.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModemManager supports multiple chipset vendors; this change is required only to enable support for QCOM modems. That the reason for adding bbappend.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah the EXTRA_OEMESON:remove = "-Dqrtr=false" is not needed here but because it is hardcoded in the recipe it should be removed upstream in meta-oe. I sugest to spilt it to new commit and add the link of the patch send upstream so we can carry it until it is merged in meta-oe.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Khem is quick to merge, so just submit it straight ahead and let it be merged before merging this PR.

@@ -0,0 +1,3 @@
PACKAGECONFIG:remove = "mbim"
PACKAGECONFIG:append = " qrtr"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs :append:qcom

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified as suggested.

Copy link
Contributor

@anujm1 anujm1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add details and move this to dynamic-layers

ModemManager requires QRTR to communicate with QCOM-based modems.

Signed-off-by: Akula Susmitha <asusmith@qti.qualcomm.com>
@asusmith-qti asusmith-qti changed the title modemmanager: enable qrtr PACKAGECONFIG modemmanager: enable qrtr for ModemManager on QCOM devices Mar 10, 2026
@asusmith-qti
Copy link
Author

Enable the qrtr support in modemmanager and disable mbim.

Why? Please include details in commit message.

Added info in commit msg.

@asusmith-qti
Copy link
Author

Please add details and move this to dynamic-layers

Currently changes were made in same folder
dynamic-layers/openembedded-layer/recipes-connectivity/modemmanager/modemmanager_%.bbappend

@asusmith-qti asusmith-qti requested a review from anujm1 March 10, 2026 10:34
Copy link
Contributor

@lumag lumag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Which products use modems?
  • This is not enough to enable the modem, the fcc unlock script should either be documented somewhere or enabled by the layer.

@@ -0,0 +1,3 @@
PACKAGECONFIG:remove:qcom = "mbim"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? You are disabling a feature, which might be in use by somebody else.

@@ -0,0 +1,3 @@
PACKAGECONFIG:remove:qcom = "mbim"
PACKAGECONFIG:append:qcom = " qrtr"
EXTRA_OEMESON:remove:qcom = "-Dqrtr=false"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be necessary with the PACKAGECONFIG in place. Please fix it upstream.

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.

4 participants