[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
*** This bug is a duplicate of bug 183968 *** https://bugs.launchpad.net/bugs/183968 ** This bug is no longer a duplicate of bug 91645 IPW3945 unable to restart after suspend ** This bug has been marked a duplicate of bug 183968 mac80211 "master" interface matches existant persistent network rules -- ipw3945 wireless doesn't work after resume from suspend https://bugs.launchpad.net/bugs/94133 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
*** This bug is a duplicate of bug 91645 *** https://bugs.launchpad.net/bugs/91645 ** This bug has been marked a duplicate of bug 91645 IPW3945 unable to restart after suspend -- ipw3945 wireless doesn't work after resume from suspend https://bugs.launchpad.net/bugs/94133 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
I had the same problem in Gutsy, I can confirm this as looking at /var/log/syslog I noticed a bunch of errors regarding the eth1 (wireless) device. Personally I did not apply any patches indicated in this page, I just added ipw3945 and ieee80201 as modules with forced removal and reinsertion. It worked! I now see no more error messages in the syslog, which is fine and good :) -- ipw3945 wireless doesn't work after resume from suspend https://bugs.launchpad.net/bugs/94133 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
There is additional discussion of this bug on Novell's bug tracker: https://bugzilla.novell.com/show_bug.cgi?id=212696 Also a patch which fixes the script at /usr/lib/powersave/scripts/sleep_helper_functions to use modprobe -r instead of rmmod: https://bugzilla.novell.com/attachment.cgi?id=101724&action=view This patch fixed the problems I was having with wireless after resuming from suspend. -- ipw3945 wireless doesn't work after resume from suspend https://bugs.launchpad.net/bugs/94133 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
This is final, it works 99% of the time, just as suspend does. I hope you can use this for feisty, as a lot of laptops have this wireless chip in them. I understand, that on the long term, it would be nice to patch powersaved to use 'modprobe -r' instead of 'rmmod' , so one only needs to add ipw3945 ro the list of modules to be unloaded. This is yet not of my level of knowlege, hope this still helps someone. Cheers -- ipw3945 wireless doesn't work after resume from suspend https://bugs.launchpad.net/bugs/94133 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
** Attachment added: "script to load the ipw3945 mudule at resume" http://librarian.launchpad.net/7179506/ipw3945-on -- ipw3945 wireless doesn't work after resume from suspend https://bugs.launchpad.net/bugs/94133 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
Okay, I now found out how to make the script exec'd by powersaved. It would be pretty easy to put a case statment for event type, and make one script out of the two I have here, but I am really not big at shellscripting, so here is what I did: in /etc/powersave/events I added to these two lines: EVENT_GLOBAL_SUSPEND2RAM="prepare_suspend_to_ram ipw3945-off screen_saver do_suspend_to_ram" EVENT_GLOBAL_RESUME_SUSPEND2RAM="restore_after_suspend_to_ram ipw3945-on" notice the ipw3945-on and ipw3945-off , these scripts are located in /usr/lib/powersave/scripts , and are attached here. ** Attachment added: "script to unload the ipw3945 module" http://librarian.launchpad.net/7179501/ipw3945-off ** Attachment removed: "/usr/lib/powersave/scripts/ipw3945" http://librarian.launchpad.net/6935565/ipw3945 ** Attachment removed: "The new script, the one that works." http://librarian.launchpad.net/6998501/ipw3945 -- ipw3945 wireless doesn't work after resume from suspend https://bugs.launchpad.net/bugs/94133 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
The strange behaviour is that the wifi resumes fine if the wireless kill switch is turned off (so wifi is turned on) before suspend, but not if the wifi is turned off. -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
So, with the update of acpi and hal right now, I had to add SUSPAND2RAM_FORCE="yes" to /etc/powersave/sleep , and I had to look around in the logs, so I found out how the script needs to be added to /usr/lib/powersave/scripts/sleep_helper_functions somehow . Also, s2ram changed place, it now lives in /sbin/s2ram instead of /usr/sbin/s2ram, for now, I made a symlink, but this is kinda hackish. I'll check sleep_helper_functions when I get home. Also, I'll mail the s2ram mailing list to tell them to add this laptop to the whitelist. Thanks for any help you can give me! -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
Well, this is still not reliably unloading ipw3945 somehow, anyone any ideas?! -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
You should put it in /usr/lib/powersave/scripts/ , so it would be /usr/lib/powersave/scripts/ipw3945 , then you need to ' sudo chmod +x /usr/lib/powersave/scripts/ipw3945 ', hope it works, please confirm if it does. Cheers! -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
I'm also suffering from this problem. Sorry, if this is lame, but where does one place this script ? The first link you gave is about Fedora I think and the folder there doesn't exist in Ubuntu. -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
Okay, this script seems to work, just needed to read file:///usr/share/doc/powersaved/html/Scripts.html , the example script is a good starting point. ** Attachment added: "The new script, the one that works." http://librarian.launchpad.net/6998501/ipw3945 -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
this script doesn't seem to work somehow. I'll try to check what the problem could be, maybe the script doesn't get called by powersaved? -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
Hmm, well, /etc/modprobe.d/ipw3945 should already take care of stopping and starting the daemon, IF you modprobe -r the module first. Try this: make the script 'modprobe -r' and 'modprobe', but not 'killall' the daemon. -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
Hmm, well, /etc/modprobe.d/ipw3945 should already take care of stopping and starting the daemon, IF you modprobe -r the module first. Try this: make the script 'modprobe -r' and 'modprobe', but not 'killall' the daemon. -- 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
[Bug 94133] Re: ipw3945 wireless doesn't work after resume from suspend
** Summary changed: - 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 -- 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