<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - logind: Add a udev rule to tag all DRM cards with master-of-seat"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90822#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - logind: Add a udev rule to tag all DRM cards with master-of-seat"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90822">bug 90822</a>
              from <span class="vcard"><a class="email" href="mailto:bugzilla@tecnocode.co.uk" title="Philip Withnall <bugzilla@tecnocode.co.uk>"> <span class="fn">Philip Withnall</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=116247" name="attach_116247" title="logind: Add a udev rule to tag all DRM cards with master-of-seat">attachment 116247</a> <a href="attachment.cgi?id=116247&action=edit" title="logind: Add a udev rule to tag all DRM cards with master-of-seat">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=90822&attachment=116247'>[review]</a>
logind: Add a udev rule to tag all DRM cards with master-of-seat

This is needed for generic DRM devices like the VirtualBox vboxvideo
driver, which exposes itself as a generic, ID-less DRM device at
/dev/dri/card0 (after applying this commit):
   $ udevadm info --query=all --path \
      /sys/devices/pci0000:00/0000:00:02.0/drm/card0
   P: /devices/pci0000:00/0000:00:02.0/drm/card0
   N: dri/card0
   E: DEVNAME=/dev/dri/card0
   E: DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
   E: DEVTYPE=drm_minor
   E: ID_FOR_SEAT=drm-pci-0000_00_02_0
   E: ID_PATH=pci-0000:00:02.0
   E: ID_PATH_TAG=pci-0000_00_02_0
   E: MAJOR=226
   E: MINOR=0
   E: SUBSYSTEM=drm
   E: TAGS=:master-of-seat:seat:uaccess:
   E: USEC_INITIALIZED=59893

Without this patch, the capabilities for a seat on a VirtualBox
installation of systemd v219 incorrectly show it as non-graphical, even
though I can type these commands from an xterm:
   $ loginctl show-seat seat0
   Id=seat0
   CanMultiSession=yes
   CanTTY=yes
   CanGraphical=no
   …</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>