In a previous post I wrote about using WWAN (UMTS/3G) in Plasma Active on Nexus 7. What I forgot to mention there was that there may be problems with suspend/resume when using UMTS. In order to circumvent these issues I created a systemd suspend script that takes care of turning the WWAN device on and off on resume/suspend. Simply place the executable script in “/lib/systemd/system-sleep/wwan-fix.sh”:
#!/bin/sh case $1/$2 in pre/*) echo 0 > /sys/devices/platform/baseband_xmm_power/xmm_onoff ;; post/*) echo 1 > /sys/devices/platform/baseband_xmm_power/xmm_onoff ;; esac