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?
signature.asc
Description: OpenPGP digital signature