Since switching from Ubuntu to openSUSE, I have been unable to suspend my Macbook Pro. This may seem like a big problem. But really, I just work from my desk in my office. So really it was just annoying.

Closing the laptop or manually suspending correctly suspend the computer, but when I try to wake it up, the screen is just black and the machine is non-responsive. I found this post and decided to try it.

Add a file /etc/pm/config.d/modules (I didn’t have a file there) and place in it:

SUSPEND_MODULES=”button uhci_hcd”
HIBERNATE_METHOD={userspace,kernel} # selects the suspend method.
S2RAM_OPTS=”-f -p -m” # options that are passed to s2ram.

I was a little surprised- it worked. Make sure those comments are all on the same line.