dlink dwm221-B1 failed regression test - time out

Dan Williams dcbw at redhat.com
Fri Apr 14 16:59:23 UTC 2017


On Fri, 2017-04-14 at 18:09 +0200, Thomas Schäfer wrote:
> Hi,
> 
> despite the modem is not new I would be happy to get it working
> again.
> 
> Since my last tests a lot of things changed: all linux things, the
> firmware by 
> dlink, and surprise: windows 10 runs with it. (ipv4v6 Deutsche
> Telekom)

ModemManager[5437]: <debug> [1492184637.474356] [mm-broadband-modem-
qmi.c:1411] modem_load_own_numbers(): loading own numbers...
ModemManager[5437]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:01:00:0D:00:24:00:00:00
ModemManager[5437]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 13
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get MSISDN" (0x0024)
ModemManager[5437]: <warn>  [1492184642.717370] [mm-iface-modem.c:4130] 
load_own_numbers_ready(): couldn't load list of Own Numbers: 'QMI
operation failed: Transaction timed out'

Everything goes fine until here; then MM asks for the MSISDN and the
device just stops responding.  Any chance you could try NULLing that
function out and see if it's that one request, or something else?

diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index bd8ff3f..cd3c6e0 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -11400,8 +11400,8 @@ iface_modem_init (MMIfaceModem *iface)
     iface->load_equipment_identifier_finish = modem_load_equipment_identifier_finish;
     iface->load_device_identifier = modem_load_device_identifier;
     iface->load_device_identifier_finish = modem_load_device_identifier_finish;
-    iface->load_own_numbers = modem_load_own_numbers;
-    iface->load_own_numbers_finish = modem_load_own_numbers_finish;
+    iface->load_own_numbers = NULL;
+    iface->load_own_numbers_finish = NULL;
     iface->load_unlock_required = modem_load_unlock_required;
     iface->load_unlock_required_finish = modem_load_unlock_required_finish;
     iface->load_unlock_retries = modem_load_unlock_retries;

Dan


More information about the libqmi-devel mailing list