arch-on-air icon indicating copy to clipboard operation
arch-on-air copied to clipboard

How to fix suspend / wake

Open pandeiro opened this issue 10 years ago • 8 comments

Currently suspend works but when woken, the laptop screen and cover light come on and immediately go dark, leaving the computer working but difficult/impossible to use.

It would be nice to include instructions for how to fix this.

pandeiro avatar Jan 30 '15 22:01 pandeiro

@pandeiro I think we have mba6x_bl (by @patjak) for this.

However, there's an issue I (and I think everyone else using this) have, and that's using this backlight driver, the screen is dark on startup. And this is weird, because the initial brightness is supposed to be 150.

Also, since this driver creates a custom device (/sys/class/backlight/mba6x_backlight), it's not recognized by default for saving and loading the brightness value.

So, I've tried to write a systemd unit file (here) based on the [email protected] for doing that, but it's failing on me for some reason :disappointed:

Can you help with this? If we get this going, I'll gladly submit a PR.

bandali avatar Feb 25 '15 02:02 bandali

FYI, I copy here the related upstream ticket:

https://bugs.freedesktop.org/show_bug.cgi?id=67454

dnohales avatar Apr 08 '15 14:04 dnohales

@aminb Apologies for not getting back to you. I only have limited access to a Macbook Air presently so I'm hesitant to jump in and vouch for any particular solution without being able to test it myself. @eagleoneraptor Thanks for the link. Hopefully there will be a conclusive fix for this soon?

pandeiro avatar Apr 08 '15 19:04 pandeiro

@pandeiro I hope so, but I'm following the upstream ticket since Linux 3.12.9 and we have no solution yet. I used to have mba6x_bl module installed too, it's better than nothing, but it's not perfect.

Anyway, I'm planning to install ArchLinux on my MBA again in these days and I can tell you how is going and maybe we can add a note to this issue in the tutorial.

dnohales avatar Apr 08 '15 19:04 dnohales

@pandeiro No problems. In the mean time, I've found out that mba6x_bl works nicely and since I also use Powerdown it automatically sets brightness on startup and when plugging/unplugging from AC, I haven't had any issues recently. Feel free to add it to the README if you want.

@eagleoneraptor Yeah it's been forever sigh but at least we have mba6x_bl, which is much better than nothing.

bandali avatar Apr 11 '15 14:04 bandali

Add i915 to modules and rebuild mkcpinit. That should prevent the black screen on boot. And use mba6x. Done n done.

fszf avatar Sep 18 '15 00:09 fszf

FWIW, the mba6x_bl-dkms package includes a few workarounds for the above mentioned issues.

WhyNotHugo avatar Mar 31 '16 00:03 WhyNotHugo

Thanks @hobarrera, for this and for much of the information in this repo, which was derived from your prior work.

pandeiro avatar Mar 31 '16 00:03 pandeiro