<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [CHT] Screen remains black after opening lid on Asus T102HA"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102343#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [CHT] Screen remains black after opening lid on Asus T102HA"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102343">bug 102343</a>
              from <span class="vcard"><a class="email" href="mailto:ambrop7@gmail.com" title="Ambroz Bizjak <ambrop7@gmail.com>"> <span class="fn">Ambroz Bizjak</span></a>
</span></b>
        <pre>I think it is not a duplicate of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CHV] Backlight init fails on Surface 3 if module load order is wrong"
   href="show_bug.cgi?id=96571">bug 96571</a>. Backlight control works for me, and
there is no "Failed to own the PWM chip" error.

Note, to get backlight control and battery monitor to work I made these kernel
config changes (to default NixOS kernel):

I2C y
ACPI_I2C_OPREGION y
PWM y
PWM_CRC y
PWM_SYSFS y
PWM_LPSS y
PWM_LPSS_PCI y
PWM_LPSS_PLATFORM y
PWM_PCA9685 y
I2C_DESIGNWARE_PLATFORM y
I2C_DESIGNWARE_PCI y
INTEL_SOC_PMIC y

I used to get the "failed to own the PWM chip" error but not after these config
changes. Actually, if I do not do these changes then in addition to backlight
and battery control not working, the screen also does not turn off when the lid
is closed and remains on when it is reopened.

I do however see these errors in the kernel log (with the modified kernel
config):
ACPI Exception: Could not find/resolve named package element:
\_SB_.PCI0.I2C7.BATC (20170728/dspkginit-381)
ACPI Exception: Could not find/resolve named package element:
\_SB_.PCI0.I2C7.BATC (20170728/dspkginit-381)
ACPI Exception: Could not find/resolve named package element:
\_SB_.PCI0.I2C3.TIDR (20170728/dspkginit-381)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>