i'm having a weird, weird bug that's been haunting me since 11.10. if i listen to music or watch a video and my computer automatically goes to sleep at night, it won't properly resume in the morning. otherwise, suspend and resume works just fine.
what happens is that the wi-fi and bluetooth indicator (that turns from white to orange when suspending) stays orange, the display doesn't turn on, and the only option i have is to hard reset the machine.
here's what i've tried so far:
- installing (and uninstalling and reinstalling) laptop-mode-tools
- switching the proprietary wireless driver (broadcom-wl) to the open source one (brcmsmac & bcma) and back
- unloading (and blacklisting) all bluetooth modules (rfcomm, btusb, bnep, bluetooth) and stopping the bluetooth service (
# stop bluetooth) and disabling (
# echo 'manual' > /etc/init/bluetooth.override) the bluetooth service
- creating a custom pm sleep action as suggested here: http://ubuntuforums.org/showthread.php?p=11926504
- not watching youtube / any stuff that uses flash before going to sleep (i have flashblock, and i checked
$ ps aux | grep flash) because i suspected flash to be the culprit
trying out different versions of fglrx (the one from the repos, then installing the latest one from amd's site via generated .deb files, then back to the official ones)
looking at /var/log/pm-suspend.log, which reveals that networkmanager failed at putting all network interfaces to sleep, but nothing more.
none of these revealed the exact problem. i remember back in the days of 10.04, there was a gconf key called network sleep: i thought about disabling that, since re-enabling the wireless card seems to be the problem (according to the indicator led), but the option appears to be missing from gnome 3 (unity-2d, whatever).
does anyone have any ideas?
EDIT: here's my dmesg after the hang, after suspending with
# sync; echo 1 > /sys/power/pm_trace; pm-suspend (according to https://wiki.ubuntu.com/DebuggingKernelSuspend): http://pastebin.com/uxzt7XP6
EDIT 2: it seems that i'm not alone: http://ubuntuforums.org/showthread.php?t=2005943