Some modems must be reinitialised from scratch following a resume from suspend. ModemManager can detect that a suspend is taking place, but this functionality isn't enabled in the ModemManager-1.6-0.3.rc3.fc24 build. That means that it might be impossible to reconnect to mobile broadband following a suspend/resume cycle, as described in the external freedesktop.org bug. Could you please enable suspend/resume awareness in the Fedora ModemManager packages? The configure option you'll need is "--with-suspend-resume=systemd".
usb_modeswitch-2.4.0-4.fc24 ModemManager-1.6.0-1.fc24 libmbim-1.14.0-1.fc24 libqmi-1.16.0-1.fc24 usb_modeswitch-data-20160612-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-494a721a73
ModemManager-1.6.0-1.fc24, libmbim-1.14.0-1.fc24, libqmi-1.16.0-1.fc24, usb_modeswitch-2.4.0-4.fc24, usb_modeswitch-data-20160612-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-494a721a73
*** Bug 1352223 has been marked as a duplicate of this bug. ***
After installing the update, I still have to restart ModemManager to get my Huawei ME906s-158 to work.
Sorry it's not working yet, to help narrow this down further could you: mmcli --set-logging=DEBUG then reproduce the problem (without restarting ModemManager!) and when the modem is no longer working: journalctl -b -u ModemManager > /tmp/modem.log and then please attach /tmp/modem.log so we can investigate. Thanks!
(In reply to Dan Williams from comment #5) > Sorry it's not working yet, to help narrow this down further could you: > > mmcli --set-logging=DEBUG > > then reproduce the problem (without restarting ModemManager!) and when the > modem is no longer working: > > journalctl -b -u ModemManager > /tmp/modem.log > > and then please attach /tmp/modem.log so we can investigate. Thanks! Hello, I Have a HP hs2350. It is using CentOS 7.2... I Know it is not the same setup. Nevertheless, I have the same issue from a long time with Suspend/Resume and modem. Initially, I needed a complete poweroff of the laptop to reinitialize the modem. I recompiled and applied patches from here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-494a721a73 I see improvement: * First tests I did Friday last week, everything was OK even after suspend resume.... * Now, after the WE, Monday, After suspend/resume, I get no connection. But effectivelly If I restart ModemManager, it works again! No shutdown required anymore. I do not know what changed.... I attache the log (modem_after_restart_CentOS.log) at 13h49 --> suspend+resume No Connection anymore at 13:56 --> restart Modem Manager; it redetect Modem. at 14:00 --> reconnected Regards, Marc
Created attachment 1188682 [details] ModemManager Debug log HP hs2350 on CentOS 7.2 with ModemManager/libqmi/libmbim patches from here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-494a721a73 ModemManager-glib-1.6.0-1.el7.centos.x86_64 libmbim-1.14.0-1.el7.centos.x86_64 libqmi-1.16.0-1.el7.centos.x86_64 ModemManager-1.6.0-1.el7.centos.x86_64 libqmi-utils-1.16.0-1.el7.centos.x86_64 libmbim-utils-1.14.0-1.el7.centos.x86_64 After suspend/resume, no connection. Restart ModemManager --> it works again at 13h49 --> suspend+resume No Connection anymore at 13:56 --> restart Modem Manager; it redetect Modem. at 14:00 --> reconnected
My modem doesn't even connect anymore now, even after restarting NetworkManager. Will try a cold boot or maybe boot windows in between to reset it to a workable state, then fetching some debug logs.
nope, still not working after cold boot/windows in between (which connected fine). I tested both with the packages in fedora 24 and in updates-testing, same result. So could be a kernel bug.
ModemManager-1.6.0-1.fc24, libmbim-1.14.0-1.fc24, libqmi-1.16.0-1.fc24, usb_modeswitch-2.4.0-4.fc24, usb_modeswitch-data-20160612-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
still getting 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NetworkTimeout: Network timeout' when trying to connect with mmcli on kernel 4.7.2-201