it works, I have the new script attached.

** Attachment added: "/usr/lib/powersave/scripts/ipw3945"
   http://librarian.launchpad.net/6935565/ipw3945

** Description changed:

  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'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.

-- 
ipw3945 wireless doesn't work after resume from suspend
https://launchpad.net/bugs/94133

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to