Suspend and NetworkManager

Bill Nottingham notting at redhat.com
Tue Jan 10 10:01:00 PST 2006


Richard Hughes (hughsient at gmail.com) said: 
> Now that n-m is in common use (not just fedora and redhat) why shouldn't
> we remove the NetworkManager sleep/wake code from pm-suspend and g-p-m,
> and place it directly in the hal-system-power-suspend and
> hal-system-power-hibernate files. e.g.
> 
> dbus-send --system \
>           --dest=org.freedesktop.NetworkManager \
>           /org/freedesktop/NetworkManager \
>           org.freedesktop.NetworkManager.wake
> 
> There is no delay for systems that are not using n-m.
> 
> The other distro-specific bits in pm-suspend should remain (like
> starting and stopping services) but I think the n-m case has to be more
> generic.

What if you're calling pm-suspend directly (as opposed to via
a hal callout, which is somewhat more complicated to do from the command
line)?

Bill


More information about the hal mailing list