No WiFi on resume from suspend Broadcom 43x [Solved]

Kernels & Hardware, configuring network, installing services

Re: No WiFi on resume from suspend

Postby BKJ » 2011-01-12 02:00

@stoat thanks for the link for the solution (post2). I have an 1015PEM-PU17 (eepc netbook) that was doing the same thing as the original poster. The netbook uses the broadcom driver and the following script from the link worked.

01. Simply created a new file called:
Code: Select all
brcm.sh

02. Inserted the below code and save:
Code: Select all
#!/bin/bash
# Simple bash script to fix resume from suspend issues...
# Place this script in /etc/pm/sleep.d/
# then chmod +x /etc/pm/sleep.d/brcm.sh

case $1 in
hibernate)
/sbin/modprobe -r brcm80211
;;
suspend)
/sbin/modprobe -r brcm80211
;;
resume)
/sbin/modprobe brcm80211
;;
thaw)
/sbin/modprobe brcm80211
;;
esac

03. Placed it in the following location:
Code: Select all
/etc/pm/sleep.d/

04. Made it executable:
Code: Select all
sudo chmod +x /etc/pm/sleep.d/brcm.sh


After that all was well after resuming from suspend. Using debian amd64 with WICD as wifi manager.
Debian Testing/Unstable rigs.... amd64
BKJ
 
Posts: 47
Joined: 2009-03-13 12:22

Re: No WiFi on resume from suspend

Postby rdonnelly » 2011-01-12 12:40

stoat wrote:I thought you established that you're using brcm80211. Does this do any good after resuming?

Code: Select all
su
modprobe -r brcm80211
modprobe brcm80211


This worked!
The OS: Linux Mint Debian 64 Gnome
The Hardware: 3.7 GB Memory, Processor x 4 = Intel(R) Core(TM) i5 CPU M430 @ 2.27GHz
The Name: Bob
User avatar
rdonnelly
 
Posts: 56
Joined: 2011-01-10 10:17
Location: New York

Re: No WiFi on resume from suspend

Postby rdonnelly » 2011-01-12 12:44

stoat wrote:Well, that BCM4313 chipset also is known to work with b43 and broadcom-wl. But in this case, the lspci output suggested that brcm80211 is being used. That is the new open source Broadcom driver for Linux announced last September. I haven't been following it though. Today, I learned that it is included with Debian kernel images since 2.6.32-22. I don't use it myself, but it sure enough is listed amongst my Squeeze wireless modules. I guess rdonnelly's Mint system has it, too. It requires firmware, but for Squeeze the firmware is in the non-free repo. So if rdonnelly's card was connected and turned on when Mint was installed, then it's conceivable that the firmware was installed during installation and the brcm80211 module is loaded by the kernel at boot time making the thing "just work" as the saying goes.


Actually WiFi did not work on install, I had to go to the Debian Wiki in order to configure it.
The OS: Linux Mint Debian 64 Gnome
The Hardware: 3.7 GB Memory, Processor x 4 = Intel(R) Core(TM) i5 CPU M430 @ 2.27GHz
The Name: Bob
User avatar
rdonnelly
 
Posts: 56
Joined: 2011-01-10 10:17
Location: New York

Re: No WiFi on resume from suspend

Postby rdonnelly » 2011-01-12 12:51

Woo Hoo!!!!

That was the magic bullet that did the trick!

Thanks for all your help guys we all learned something from this.

BKJ wrote:@stoat thanks for the link for the solution (post2). I have an 1015PEM-PU17 (eepc netbook) that was doing the same thing as the original poster. The netbook uses the broadcom driver and the following script from the link worked.

01. Simply created a new file called:
Code: Select all
brcm.sh

02. Inserted the below code and save:
Code: Select all
#!/bin/bash
# Simple bash script to fix resume from suspend issues...
# Place this script in /etc/pm/sleep.d/
# then chmod +x /etc/pm/sleep.d/brcm.sh

case $1 in
hibernate)
/sbin/modprobe -r brcm80211
;;
suspend)
/sbin/modprobe -r brcm80211
;;
resume)
/sbin/modprobe brcm80211
;;
thaw)
/sbin/modprobe brcm80211
;;
esac

03. Placed it in the following location:
Code: Select all
/etc/pm/sleep.d/

04. Made it executable:
Code: Select all
sudo chmod +x /etc/pm/sleep.d/brcm.sh


After that all was well after resuming from suspend. Using debian amd64 with WICD as wifi manager.
The OS: Linux Mint Debian 64 Gnome
The Hardware: 3.7 GB Memory, Processor x 4 = Intel(R) Core(TM) i5 CPU M430 @ 2.27GHz
The Name: Bob
User avatar
rdonnelly
 
Posts: 56
Joined: 2011-01-10 10:17
Location: New York

Re: No WiFi on resume from suspend Broadcom 43x [Solved]

Postby rdonnelly » 2011-01-12 15:40

Once again thank you all for all your help, the Linux community is a great community with a great OS and fast solutions. :mrgreen:
The OS: Linux Mint Debian 64 Gnome
The Hardware: 3.7 GB Memory, Processor x 4 = Intel(R) Core(TM) i5 CPU M430 @ 2.27GHz
The Name: Bob
User avatar
rdonnelly
 
Posts: 56
Joined: 2011-01-10 10:17
Location: New York

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 19 guests

fashionable