Support sending AT commnad by mbim-cli for Compal WWAN module

Bug #2071877 reported by Kai-Chuan Hsieh
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Undecided
Unassigned
libmbim (Ubuntu)
Fix Released
High
Kai-Chuan Hsieh
Noble
Incomplete
Undecided
Unassigned

Bug Description

[ Impact ]

 * Add a service to make mbim-cli be able to send AT command to Compal WWAN module DW5826e through mbimcli

[ Test Plan ]

 * On the platform with Compal SDX12 WWAN module with ID:
   usb:v413Cp8217
   usb:v413Cp8218
 * Open terminal Ctrl + Alt + t
 * Try command $ sudo mbimcli -d /dev/cdc-wdm0 -p --compal-query-at-command=AT
 * Output:
   AT
   OK
 * Without the patch it will show
   error: Unknown options --compal-query-at-command=AT

[ Where problems could occur ]

 * It adds new mbim service for supporting Compal module, there is no existing service modification.

 * The mbim relies on transaction task to handle sending AT command to the modem. It will send the command asynchronously, if there is a bug or system issue in GLib, the AT command may not send to modem successfully.

[ Other Info ]

 * Upstream commit: https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/commit/c275e4f1422291b933464880c37bd9cfd14b5bca

description: updated
description: updated
tags: added: oem-priority originate-from-2054378 somerville
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

Upload debdiff of 24.04

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, I've uploaded that version to Oracular first (SRU requirement) then did a ubuntu3.1 which I uploaded to Noble's review queue

Changed in libmbim (Ubuntu):
assignee: nobody → Kai-Chuan Hsieh (kchsieh)
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libmbim - 1.31.2-0ubuntu4

---------------
libmbim (1.31.2-0ubuntu4) oracular; urgency=medium

  * mbimcli,qmbe: AT over mbim support for Compal module (LP: #2071877)
    d/p/0001-mbimcli-qmbe-add-qmbe-mbim-service-and-cid-1-to-send.patch

 -- Kai-Chuan Hsieh <email address hidden> Fri, 28 Jun 2024 14:47:00 +0800

Changed in libmbim (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote (last edit ):

What's the user impact here please? Does this hardware not work at all in Noble? Just in specific regions? Or in some other specific circumstances?

> * Install Compal's WWAN services which is maintained in https://github.com/palcomwireless/linux_pkgs

Is this external software required? If so, then why must we modify Ubuntu to support this, instead of also supplying the software changes required from external sources? If Ubuntu in itself is being enabled in some way to support this hardware, then I'd expect the test plan to function exclusively from Ubuntu's default software sources. It is not a hardware enablement in Ubuntu to still require software from outside Ubuntu to make it work. Please explain.

> * The service can finish FCC unlock with patched libmbim successfully after system boot up

What does this mean? How are you determining this? What steps is someone following the Test Plan supposed to follow?

> * The Modem can work with Internet access after valid SIM is inserted

Please be more specific about what the tester should to to verify this. For example, "Access https://www.google.com/ in Firefox and verify it loads as expected" would be fine. Or if you think that just pinging an IP address successfully is sufficient, then maybe that's fine. But please be specific, so that if there is a regression then we will later be able to consider what the QA process actually was.

Changed in libmbim (Ubuntu Noble):
status: New → Incomplete
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Robie Basak (racb) wrote :

As discussed elsewhere, we need the full hardware enablement to be completed in Oracular first, and then presented for SRU all together please. The user impact needs to be presented in a form that an actual user would recognise, and the test plan needs adjusting to validate that full story.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.