patjak / mba6x_bl

MacBook Air 6,1 and 6,2 (mid 2013) backlight driver

Repository from Github https://github.compatjak/mba6x_blRepository from Github https://github.compatjak/mba6x_bl

Screen is black after rebooting with this driver

hpe009 opened this issue · comments

The screen is black when i start my machine, have to type in password. log in and turn up brightness to make it work.

http://phoronix.com/forums/showthread.php?50038-Updated-and-Optimized-Ubuntu-Free-Graphics-Drivers
Follow the instructions and install the experimental i915 driver, and all the problems with backlight is solved!

Hi I just tried the latest drivers from Oibaf and kernel 3.18 but I still get broken backlight after resume without mba6x_bl. Are you sure you're not loading mba6x_bl? On the other hand, now I also get the black screen on boot problem which might help me figure out what is wrong.

I have tried many times to install the driver, but only getting the black screen problem. So i think i have installed the drivers in the forum and the mba6x_bl driver. And now for the first time evrything is working and no black screen!

I am on kernel 3.16.0.38 i think

My wifi will not work with the 3.18 kernel. Even if i install the wifi driver.

Wifi won't work on 3.18 because the wireless driver for the broadcom wireless chip in the ubunto repos only works through kernel 3.16 right now. You need to wait for them to update it to one that works with the higher kernels.

Sorry, my mistake still black screen after reboot

Hei Patrik, jeg lurte på om du har funnet noe løsning på svart boot skjerm problemet?

More info, might help understanding this better:
1st option: (fn-)ctrl-alt-f1, (fn-)ctrl-alt-f7 (back to X) and all is good.
2nd option: login in the darkness (unity places you on the password), touch brightness+ key.

The case seems to be that something else (presumably the Intel driver) is fiddling with the backlight either through ACPI or some other method after mba6x_bl is loaded. Whenever mba6x_bl is asked to set a brightness value again it will restore it's state and go back to normal.

So it's more a matter of figuring out what is happening behind out back than trying to harden mba6x_bl.

Is it possible to remove/deactivate the intel backlight driver or is it bundled with other parts of the graphic driver?

It is bundled with the rest of the driver but if you check your Xorg.log you'll see that the Intel driver finds mba6x_bl and picks it for backlight handling. So in theory we should be fine. I think you can unset USE_BACKLIGHT when compiling the Intel driver but don't think it'll help.

I've just pushed a branch called "notify". It's a hack but should take care of the black screen on boot issue. It only works on kernels >= 3.15. Please test and report back.

Is this "hack" for kernels before 3.15 or after 3.15?

It's for 3.15 and newer. For older kernels you can add a manual set of the brightness in your boot scripts.

You can try adding the following line to /etc/rc.local (If you've got one)

echo 200 > /sys/class/backlight/mba6x_backlight/brightness

Works after installing mba6x_bl with fix twice!!

Have to install driver with fix twice to make it work!!

I have dual boot on my mac, and after restarting enter mac os. Shutdown enter Ubuntu. Blacks screen on boot occures. It does not occur if i simply restart from Ubuntu

Closing as I can not reproduce the problem anymore, and it may had something to do with Linux/Ubuntu