On Mon 2014-10-20, Dimstar / Dominique Leuenberger wrote: > Thanks! The CDC got me on track of a current work-in-progress bug > report with ModemManager; there was a firmware issue identified which > is currently attempted to be worked around.
Cool, happy I reported this here. :) > We can try to add a restart-script in /usr/lib/systemd/system-sleep > > 50-restart_MM > >>> - SNIP HERE - <<< > #!/bin/sh > case $1 in > resume|thaw|post) > /usr/bin/systemctl restart ModemManager.service > /dev/null > ;; > esac > >>> - SNIP HERE - <<< Something interesting is going on here: I put that script in place, and indeed after waking up from suspend-to-RAM now there always is a new instance of ModemManager running. However, when selecting the Mobile Broadband connection from the system menu, nothing happens visually, and /var/log/NetworkManager only has NetworkManager[897]: <warn> Failed to activate 'Vodafone': Connection 'Vodafone' is not available on the device ttyACM0 at this time. NetworkManager[897]: <info> NetworkManager state is now DISCONNECTING NetworkManager[897]: <info> NetworkManager state is now DISCONNECTED When I invoke /usr/bin/systemctl restart ModemManager.service manually, however, I can then establish the connection after a second or two usually. Adding a `sleep 10` to the script did not change the picture, that is, it still does not work after suspend, and still works (not surprisingly, a sleep would not change that) when invoked directly. Gerald -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
