Bug#421251: [Pkg-utopia-maintainers] Bug#421251: dies across suspend

Michael Biebl biebl at debian.org
Fri Apr 27 13:47:54 UTC 2007


Steinar H. Gunderson wrote:
> On Fri, Apr 27, 2007 at 02:33:20PM +0200, Michael Biebl wrote:
>> IIRC, the ipw3945 uses a separate regulatory daemon. Have you checked if
>> this daemon is still running after hibernate/resume? Maybe the suspend
>> scripts you are using are stopping this daemon.
> 
> Yes, it is. Note that this works fine if network-manager doesn't get notified
> of the wakeup cycle, as described in my bug report.
> 
>> Btw, which one do you use, acpi-support, hibernate or powersaved?
> 
> None. uswsusp directly.
> 
>> Check the file /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux
>> (You can also run it manually as root).
> 
> I don't hibernate, I suspend. hal-system-power-suspend-linux calls s2ram and
> nothing else. If I run the script as root, everything comes up nicely again
> on resume.

Does it still work if you run:
dbus-send --system                         \
        --dest=org.freedesktop.NetworkManager  \
        /org/freedesktop/NetworkManager        \
        org.freedesktop.NetworkManager.sleep

sleep 1

/usr/lib/hal/scripts/linux/hal-system-power-sleep-linux

dbus-send --system                        \
        --dest=org.freedesktop.NetworkManager \
        /org/freedesktop/NetworkManager       \
        org.freedesktop.NetworkManager.wake


I'm guessing that you are running gnome-power-manager.
On a suspend request (like closing the lid) g-p-m only calls the HAL
Suspend() method, which in turn simply executes
/usr/lib/hal/scripts/linux/hal-system-power-sleep-linux, which you said
works for you.
Afaik the only difference is, that g-p-m in advance also tells NM to
prepare the network interfaces for suspend via the above method.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20070427/2bb56b4e/signature.pgp


More information about the Pkg-utopia-maintainers mailing list