I added that script to echo XHC1 to wakeup here: /usr/lib/pm-utils/sleep.d/100macfix without any luck (made it executable)
I also removed light-locker (that was the cause wakeup problems on my old macbook pro (6,1), but no luck with that either.
I will play with it another time and report back here if I make progress.
For suspend: did typing the commands manually work at all? (it should basically work until your next reboot)
I was assuming the issue is that when you close the lid, it sleeps for a few seconds, then wakes again. Is that what happens, or is it something else?
No luck with that too, I verified the command working with
cat /proc/acpi/wakeup
It shows XHC1 S3 *disabled pci:0000:00:14.0
When I close the lid it suspends, when I open it again I just get a black screen (fans still on, no way to get to another tty)I also tried suspending via the menu / power button: same results
Note: You want LID0 to be enabled, so that opening the lid wakes it up.
You could try upgrading your kernel if you're feeling adventurous. If that is the issue, it will probably be backported at some point though.
It seems to have loaded bdc_pci by default, will try your suggestions and report back.
Just follow the instructions exactly. If it doesn't work first time, try `sudo modprobe -r bdc_pci` and then retry `sudo modprobe facetimehd` and see if it creates `/dev/video0` (which means it's working)
For suspend, is it waking up after you close the lid? I fixed this with:
Then give it a test. If it works, pop it into a startup service somewhere.