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.