Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fix suspend / wake #2

Open
pandeiro opened this issue Jan 30, 2015 · 8 comments
Open

How to fix suspend / wake #2

pandeiro opened this issue Jan 30, 2015 · 8 comments

Comments

@pandeiro
Copy link
Owner

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.

@bandali
Copy link

bandali commented Feb 25, 2015

@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 😞

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

@dnohales
Copy link
Contributor

dnohales commented Apr 8, 2015

FYI, I copy here the related upstream ticket:

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

@pandeiro
Copy link
Owner Author

pandeiro commented Apr 8, 2015

@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?

@dnohales
Copy link
Contributor

dnohales commented Apr 8, 2015

@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.

@bandali
Copy link

bandali commented Apr 11, 2015

@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.

@fszf
Copy link

fszf commented Sep 18, 2015

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

@WhyNotHugo
Copy link

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

@pandeiro
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants