[Pm-utils] [PATCH] sleep.d/55NetworkManager: don't call nonexistent dbus_send
rw at rlworkman.net
Wed Jun 30 23:40:58 PDT 2010
On Wed, 30 Jun 2010 23:04:53 -0700
Uri Okrent <uokrent at gmail.com> wrote:
> On 06/30/2010 02:56 PM, Victor Lowther wrote:
> > On Wed, Jun 30, 2010 at 2:39 AM, Uri Okrent<uokrent at gmail.com>
> > wrote:
> >> dbus provides dbus-send, not dbus_send. This typo means that
> >> NetworkManager was not actually shutting down interfaced or
> >> bringing them back up on suspend/resume.
> >> Signed-off-by: Uri Okrent<uokrent at gmail.com>
> > NAK, we provide dbus_send in the functions file we source at the
> > beginning of the script.
> Ah, fun. Well I actually discovered a fix (or maybe it's a
> workaround) for my problem. I just needed to modify sleep.d/75modules
> to unload my wireless device's kernel module prior to suspend. Seems
> pretty hacky, but then again broadcom wl is a POS, so go figure...
Right idea; wrong approach. Have a look at the pm-utils documentation
with respect to the SUSPEND_MODULES parameter.
More information about the Pm-utils