I realise this is probably unrelated to the bug then, I think my
problem lies within the Intel graphics driver somewhere in the kernel.
But for the benefit of anyone searching, I have found a workaround for
my version of the problem...

For me it only freezes on suspend if X is showing at the time.  If it's on any 
of the virtual terminals, it's fine.  So I created /etc/pm/sleep.d/5_crashfix 
containing:
#! /bin/sh
case $1 in
  suspend|suspend_hybrid|hibernate)
    /bin/chvt 1
    ;;
  resume|thaw)
    /bin/chvt 7
    ;;
esac

Then chmod +x to the 5_crashfix file.

This changes to VT1 on suspend, and changes back to X on resume, which
bypasses the bug.

Unfortunately I don't know "what I'm doing" well enough to try and
report anything upstream, I think it's too vague for them to do anything
useful with.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1299790

Title:
  [Apple Inc. MacBookAir4,1] suspend/resume failure [non-free: wl]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1299790/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to