Hacker News new | ask | show | jobs
by vespakoen 3694 days ago
Webcam works now, thanks for that!

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.

1 comments

Awesome that the webcam is working!

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?

Typing the commands manually didn't work either, I also tried disabling LID0 (sudo sh -c 'echo LID0 > /proc/acpi/wakeup')

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

Oh, right. That's a different issue. I've had my laptop do that a couple of times, closing the lid again and re-opening it has fixed it each time, so I never dug into it. I'll have a poke about and see if I can find anything.

Note: You want LID0 to be enabled, so that opening the lid wakes it up.

After a bit of poking around, this is perhaps a kernel bug that is fixed in 4.4.8

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.

Cool, I'll wait it out as it isn't really an issue for me, thanks for helping out though, it's really appreciated!