Updated /usr/lib/pm-utils/sleep.d/50modules&nbsp; with following and now hibernate is working.&nbsp; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /etc/init.d/NetworkManager stop<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modprobe -r iwl3945<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modprobe -r rc80211_simple<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modprobe -r cfg80211
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modprobe -r mac80211<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ -z &quot;$SUSPEND_MODULES&quot; ] &amp;&amp; return 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for x in $SUSPEND_MODULES ; do<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modunload $x<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; done<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 0<br>}<br><br>
resume_modules()<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modprobe iwl3945<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sleep 3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /etc/init.d/NetworkManager start<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ -z &quot;$RESUME_MODULES&quot; ] &amp;&amp; return 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for x in $RESUME_MODULES ; do<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modprobe $x<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; done<br>}<br><br>case &quot;$1&quot; in<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hibernate|suspend)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; suspend_modules<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; thaw|resume)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resume_modules
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>esac<br><br>exit $?<br><br><div><span class="gmail_quote">On 6/6/07, <b class="gmail_sendername">Stefan Seyfried</b> &lt;<a href="mailto:seife@suse.de">seife@suse.de
</a>&gt; 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>&gt; all i need to do is reload the iwl3945/80211 modules after resuming from
<br>&gt; suspend-to-disk but these new hal sleep quirks don&#39;t work. tried adding the<br>&gt; modules to /etc/pm/config.d/unoad_modules as suggested<br>&gt; here&lt;<a href="http://people.freedesktop.org/%7Ehughsient/quirk/quirk-suspend-advanced.html">
http://people.freedesktop.org/%7Ehughsient/quirk/quirk-suspend-advanced.html</a>&gt;but<br>&gt; instead of helping it breaks suspend-to-disk. i was able to do this<br>&gt; similar trick but for snd-hda-intel in fc6 but in f7 the /etc/pm/hooks
<br>&gt; 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&amp;D Team Mobile Devices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Any ideas, John?&quot;<br>SUSE LINUX Products GmbH, Nürnberg&nbsp;&nbsp;| &quot;Well, surrounding them&#39;s out.&quot;
<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>