Suspend/Resume in Plasma Active on Nexus 7 3G with WWAN

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/”:

case $1/$2 in
echo 0 > /sys/devices/platform/baseband_xmm_power/xmm_onoff
echo 1 > /sys/devices/platform/baseband_xmm_power/xmm_onoff
This entry was posted in Snippets and tagged , , , . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.