Updated /usr/lib/pm-utils/sleep.d/50modules with following and now hibernate is working. Although it takes 2-3 minutes for NetworkManager to see the wifi networks then connect, but it works.<br><br>Still need me to post /var/log/pm-
suspend.log ?<br><br><br>#!/bin/bash<br><br>. /usr/lib/pm-utils/functions<br><br>suspend_modules()<br>{<br> /etc/init.d/NetworkManager stop<br> modprobe -r iwl3945<br> modprobe -r rc80211_simple<br> modprobe -r cfg80211
<br> modprobe -r mac80211<br> [ -z "$SUSPEND_MODULES" ] && return 0<br> for x in $SUSPEND_MODULES ; do<br> modunload $x<br> done<br> return 0<br>}<br><br>
resume_modules()<br>{<br> modprobe iwl3945<br> sleep 3<br> /etc/init.d/NetworkManager start<br> [ -z "$RESUME_MODULES" ] && return 0<br> for x in $RESUME_MODULES ; do<br>
modprobe $x<br> done<br>}<br><br>case "$1" in<br> hibernate|suspend)<br> suspend_modules<br> ;;<br> thaw|resume)<br> resume_modules
<br> ;;<br> *)<br> ;;<br>esac<br><br>exit $?<br><br><div><span class="gmail_quote">On 6/6/07, <b class="gmail_sendername">Stefan Seyfried</b> <<a href="mailto:seife@suse.de">seife@suse.de
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, Jun 06, 2007 at 10:39:50AM -0700, Gilbert wrote:<br>> all i need to do is reload the iwl3945/80211 modules after resuming from
<br>> suspend-to-disk but these new hal sleep quirks don't work. tried adding the<br>> modules to /etc/pm/config.d/unoad_modules as suggested<br>> here<<a href="http://people.freedesktop.org/%7Ehughsient/quirk/quirk-suspend-advanced.html">
http://people.freedesktop.org/%7Ehughsient/quirk/quirk-suspend-advanced.html</a>>but<br>> instead of helping it breaks suspend-to-disk. i was able to do this<br>> similar trick but for snd-hda-intel in fc6 but in f7 the /etc/pm/hooks
<br>> directory is no longer there nor is the /etc/pm/functions file.<br><br>The pm-utils installation moved to /usr/lib/pm-utils/<br><br>Look in the /var/log/pm-suspend.log file, there should be traces in there<br>of the attempt to unload the modules.
<br>Just post that logfile, so we can see what is going on.<br>--<br>Stefan Seyfried<br>QA / R&D Team Mobile Devices | "Any ideas, John?"<br>SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out."
<br><br>This footer brought to you by insane German lawmakers:<br>SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)<br></blockquote></div><br>