2007-03-20 16:45:04 |
9johnny |
bug |
|
|
added bug |
2007-03-21 19:54:24 |
9johnny |
title |
ipw3945 nneds to be unloaded before suspend/hibernate, the userspace daemon needs to be stopped before that. |
ipw3945 needs to be unloaded before suspend/hibernate, the userspace daemon needs to be stopped before that. |
|
2007-03-26 02:48:12 |
9johnny |
title |
ipw3945 needs to be unloaded before suspend/hibernate, the userspace daemon needs to be stopped before that. |
ipw3945 wireless doesn't work after resume from suspend |
|
2007-03-26 03:17:43 |
9johnny |
bug |
|
|
added attachment 'ipw3945' (/usr/lib/powersave/scripts/ipw3945) |
2007-03-26 03:18:50 |
9johnny |
description |
I have version0.14.0-6ubuntu1 of powersave, my system is up-to-date. This is a brand new install of feisty.
It's pretty simple: ipw3945 doesn't know how to suspend, so it needs to be unloaded. The problem is, that it has a userspace daemon running too (/sbin/ipw3945d-2.6.20-12-generic), so one needs to first kill that program, then unload the module. I did a google on this problem and it gave me this: http://www.mail-archive.com/freshrpms-list@freshrpms.net/msg01778.html . I adapted it to my system, where /sbin/service is I don't know what, so I used simply killall. Here is the script I put in /usr/lib/powersave/scripts/ipw3945 :
==snip==
#!/bin/sh
case "$1" in
hibernate|suspend)
/sbin/lsmod | grep -q ipw3945 || exit 0
{ killall ipw3945d-2.6.20-12-generic && rm /var/run/ipw3945d.pid ; } 2>/dev/null
;;
thaw|resume)
{ /sbin/modprobe ipw3945 && /sbin/ipw3945d-2.6.20-12-generic ; } 2>/dev/null
;;
*)
;;
esac
exit $?
==snip==
It now works perfectly well. |
I have version0.14.0-6ubuntu1 of powersave, my system is up-to-date. This is a brand new install of feisty.
It's pretty simple: ipw3945 doesn't know how to suspend, so it needs to be unloaded. The problem is, that it has a userspace daemon running too (/sbin/ipw3945d-2.6.20-12-generic), so one needs to first kill that program, then unload the module. I did a google on this problem and it gave me this: http://www.mail-archive.com/freshrpms-list@freshrpms.net/msg01778.html .
The attached script fixes this.
It now works perfectly well. |
|
2007-03-27 17:47:08 |
9johnny |
bug |
|
|
added attachment 'ipw3945' (The new script, the one that works.) |
2007-04-06 13:07:09 |
9johnny |
bug |
|
|
added attachment 'ipw3945-off' (script to unload the ipw3945 module) |
2007-04-06 13:09:02 |
9johnny |
bug |
|
|
added attachment 'ipw3945-on' (script to load the ipw3945 mudule at resume) |
2008-04-10 05:38:36 |
Rick Clark |
marked as duplicate |
|
91645 |
|
2008-04-10 06:24:31 |
David Mandala |
changed duplicate marker |
91645 |
183968 |
|