<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Brightness control becomes binary after suspend on haswell"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72976">72976</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Brightness control becomes binary after suspend on haswell
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lionel.g.landwerlin@linux.intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm using Linux on my macbook air 2013 (haswell) (using Debian).
After a suspend cycle, the brightness will just go binary, full brightness for
the 91-100%, and then completely blank under 91%.

I've noticed the behavior while using Gnome, then tried to reproduce 
by poking at
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness directly.

Then I tried poking at
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness
where the range is 0-2777. And I found the same kind of behavior, except that
at the values 2303/2304, the screen would just keep going up/down in brightness
without any interection on the /sys interface. Otherwise 2302 and below would
be blank and 2305 and above would be full brightness 

It's using the following relevant components :

 xserver-xorg 7.7+4 
 xserver-xorg-video-intel 2.21.15-1+b2
 kernel 3.12.3

I guess the bug is more likely to be somewhere in the kernel than in the X
driver.

Folks have reported the bug in other places already :

<a href="https://bugzilla.redhat.com/show_bug.cgi?id=989555">https://bugzilla.redhat.com/show_bug.cgi?id=989555</a>

<a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1197482">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1197482</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>