<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:g.djavadyan@gmail.com" title="Garri <g.djavadyan@gmail.com>"> <span class="fn">Garri</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Laptop not suspending when lid is closed."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76267">bug 76267</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Laptop not suspending when lid is closed."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76267#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Laptop not suspending when lid is closed."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76267">bug 76267</a>
              from <span class="vcard"><a class="email" href="mailto:g.djavadyan@gmail.com" title="Garri <g.djavadyan@gmail.com>"> <span class="fn">Garri</span></a>
</span></b>
        <pre>Hello developers!

The problem still exists in hybrid VGA configuration. For example, my laptop
has discrete ATI HD 5650 card and integrated Intel card. There are 2 external
outputs, VGA and HDMI, but they are not used. Following is the report from
kernel:

---
# cat /sys/class/drm/card0/card0-LVDS-1/status 
connected

# cat /sys/class/drm/card0/card0-VGA-1/status 
disconnected

# cat /sys/class/drm/card1/card1-LVDS-2/status 
connected

# cat /sys/class/drm/card1/card1-VGA-2/status 
connected

# cat /sys/class/drm/card1/card1-HDMI-A-1/status 
disconnected
---

card0 - Integrated Intel (i915 module)
card1 - Discrete AMD (radeon module)


As you can see, kernel reports about 3 connected monitors, although only
integrated laptop's LCD is used and AMD card is disabled via vgaswitcheroo:

---
cat /sys/kernel/debug/vgaswitcheroo/switch 
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Off:0000:01:00.0
2:DIS-Audio: :Off:0000:01:00.1
---


By blacklisting radeon kernel module I can workaround the problem because
kernel reports only one card, but a drawback is the vgaswitcheroo interface no
longer available. Therefore I can't completely switch off discrete card.

Thank you!

Installed software:
 Kernel: 3.15.2
 systemd: 214</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>