Comment 11 for bug 1495043

Revision history for this message
Mark Pointing (mp035) wrote :

Further information, it turns out that pm-suspend is no longer used, and systemd-sleep is the new system. The scripts section of pm-suspend is still there, but it is broken as per https://launchpad.net/ubuntu/+source/pm-utils/+bug/1455097 (why does everything I look into seem to be broken????).

To fix the problem, I created the script (make it executable) /lib/systemd/system-sleep/broadcom_wl_suspend

with the contents
[code]
#! /bin/sh
#mp035: unload buggy broadcom sta driver during suspend.

case $1 in
     pre)
 modprobe -r wl
        ;;
     post)
 modprobe wl
        ;;
esac
[/code]

This has fixed the problem. I'm not sure where to push this from here, either the 1) the broadcom package should add ths script, or 2) or the broadcom sta driver needs fixing. Perhaps (1) immediately while we are waiting for broadcom to fix (2)?