[Bug 614274] Re: modem-manager fails to recognize 3G modem after suspend/resume

Torsten Spindler torsten at canonical.com
Tue Aug 31 08:44:33 UTC 2010


Unfortunately the results are mixed when killing the modem upon
suspend/resume:

150 suspend/resumes, modem there
200 suspend/resumes, modem gone
86 suspend/resumes, modem gone

Here's the modified script /etc/pm/power.d/20_wwan:


#!/bin/sh

WWANSTATE=$(cat /proc/acpi/ibm/wan|awk '/status:/ {print $2}')
if [ "x${WWANSTATE}" = "xdisabled" ]; then
	echo "enable" >/proc/acpi/ibm/wan
fi

WWANINDEX=$(rfkill list | grep tpacpi_wwan_sw | cut -f1 -d:)
rfkill block $WWANINDEX
sleep 1
rfkill unblock $WWANINDEX

-- 
modem-manager fails to recognize 3G modem after suspend/resume
https://bugs.launchpad.net/bugs/614274
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list