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

Michael Biebl biebl at debian.org
Fri Apr 27 15:42:42 UTC 2007


severity 421251 minor
thanks

Steinar H. Gunderson wrote:
> On Fri, Apr 27, 2007 at 03:47:54PM +0200, Michael Biebl wrote:
>> 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
> 
> I assume you mean "suspend" and not "sleep" here. Also, it expects a value on
> stdin. I fixed that.

yeah, this was a typo.

What happens if you leave out the hal-system-power-sleep-linux call and
simply put NM into sleep and wake it up again?
What happens if you unload/load the ipw3945 module in between?

>> dbus-send --system                        \
>>         --dest=org.freedesktop.NetworkManager \
>>         /org/freedesktop/NetworkManager       \
>>         org.freedesktop.NetworkManager.wake
> 
> This sequence (after correction) kills network-manager just like closing the
> lid does. OTOH, if I add a "sleep 5" before the wake, it works. IOW, there's:
> a race condition here somewhere.

I don't own a ipw3945, so unfortunately I can't really debug this any
further. My guess is that the ipw3954 driver is not immediately ready
after suspend/resume. You could try and setup your wireless card with
ifupdown and ifdown the interface before suspend and ifup it again on
resume. Would be interesting to know what happens then.


>> I'm guessing that you are running gnome-power-manager.
> 
> That is correct.

As a workaround, you can tell g-p-m to not notify NetworkManager.
Edit the gconf key (via gconf-editor)
/apps/gnome-power-manager/networkmanager_sleep and set it to false.

As there is a working workaround and it seems to be a ipw3954 specific
problem, I'm setting the severity to minor.

Cheers,
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/be2559a1/signature-0001.pgp


More information about the Pkg-utopia-maintainers mailing list