<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW-M/BYT/BDW/BSW]udevadm unable to monitor HDMI plug/unplug event sporadically"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82593#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW-M/BYT/BDW/BSW]udevadm unable to monitor HDMI plug/unplug event sporadically"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82593">bug 82593</a>
              from <span class="vcard"><a class="email" href="mailto:hugegreenbug@gmail.com" title="Hugh Greenberg <hugegreenbug@gmail.com>"> <span class="fn">Hugh Greenberg</span></a>
</span></b>
        <pre>(In reply to Hugh Greenberg from <a href="show_bug.cgi?id=82593#c19">comment #19</a>)
<span class="quote">> (In reply to Jani Nikula from <a href="show_bug.cgi?id=82593#c18">comment #18</a>)
> > (In reply to Hugh Greenberg from <a href="show_bug.cgi?id=82593#c11">comment #11</a>)
> > > I am experiencing this bug on HSW. udevadm monitor does not show hot plug
> > > events and it only triggers the rule below once:
> > > 
> > > SUBSYSTEM=="drm", ACTION=="change", RUN+="script.sh"
> > > 
> > > I'm using the current drm-intel-nightly and I'm using kernel 3.19.6.
> > 
> > Btw, what's the failure mode you see after the missed event? If I'm
> > interpreting the situation right, you should still have the picture on
> > screen after you replug.

> I'm working on 2 different bugs related to HDMI on Ubuntu Unity. The missed
> events didn't cause any problems, but they prevent me from running a command
> to fix issues when an event occurs.

> 1. Plugging in the HDMI cable does show a picture on the external screen and
> Unity is expanded to both screens, but sometimes, there are corrupted
> graphics on the laptop screen. xrandr --auto will refresh the screen. I
> can't remember the exact Compiz warning, but it couldn't apply a texture.

> 2. Removing the HDMI cable will not trigger Unity to resize the screen
> sometimes. Again xrandr --auto will resize the screen.

> Without your patch, I would need to poll the connector status and I would
> rather not do that.</span >

Actually, xrandr --auto doesn't fix the graphics corruption, but it does force
a resize.

Also, I have found that if I remove the hdmi cable slowly, I do not always see
a udev event with udevadm monitor.</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 on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>