<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - After suspend/resume, screen is black for all but the highest levels with i915 driver on MacBook Air 6,2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=67454#c78">Comment # 78</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - After suspend/resume, screen is black for all but the highest levels with i915 driver on MacBook Air 6,2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=67454">bug 67454</a>
              from <span class="vcard"><a class="email" href="mailto:patrik.r.jakobsson@gmail.com" title="Patrik Jakobsson <patrik.r.jakobsson@gmail.com>"> <span class="fn">Patrik Jakobsson</span></a>
</span></b>
        <pre>I've managed to work around the issue by programming the backlight driver
directly. This is not an optimal solution but consider it a workaround for now.
I've written a driver and tested it on my MBA 6,2 but the 6,1 should work as
well. Use it at your own risk, I take no responsibility. Don't try to load this
driver unless you have a MacBook Air (mid 2013) 6,1 or 6,2.

To get it running you need to download and build the driver:

# git clone <a href="https://github.com/patjak/mba6x_bl">https://github.com/patjak/mba6x_bl</a>
# cd mba6x_bl/ && make && make install

Make sure the module is loaded at boot time. E.g add "mba6x_bl" to /etc/modules
You also need to configure i915 to hand over the backlight control to mba6x_bl.
I added this to my /etc/X11/xorg.conf:

Section "Device"
        Identifier      "Intel Graphics"
        Driver          "intel"
        Option          "Backlight"     "mba6x_backlight"
EndSection

Now reboot and you should have working brightness even after suspend/resume.
Unloading the module (modprobe -r mba6x_bl) will restore the backlight to
whatever state we had when loading it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>