<div dir="ltr">Hi there!<div><br></div><div>For anyone interested in tagging NVIDIA graphics devices with proprietary drivers as "master-of-seat" for use with logind, I suggest the following udev rule:</div><div><br></div><div><div>SUBSYSTEM=="drm", KERNEL=="card[0-9]*", ATTRS{vendor}=="0x10de", DRIVERS=="nvidia", TAG+="master-of-seat"<br></div><div><br></div><div>If no /dev/dri/card* kernel devices are available in the system (e.g. if linux drm module is not loaded), the following alternative works, too:</div><div><br></div><div>SUBSYSTEM=="pci", ATTRS{vendor}=="0x10de", DRIVER=="nvidia", TAG+="seat", TAG+="master-of-seat"<br></div><div><br></div><div>NOTE: These rules can be adapted for AMD proprietary drivers. Just replace "0x10de" with "0x1002" and "nvidia" with "fglrx".</div><div><br></div><div>I don't know if there's any upstream interest in shipping these rules with systemd (I guess not), but at least one downstream (Ubuntu) already ships them (with NVIDIA/AMD driver packages). I've already posted these rules in NVIDIA Developer Forums.</div><div><br></div><div>Hope it may be useful.</div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Laércio de Sousa</b><br></div><div style="text-align:center"><div style="text-align:left"><i>Orientador de Informática</i></div><div style="text-align:left"><u>Escola Municipal "Professor Eulálio Gruppi"</u></div><div style="text-align:left"><i>Rua Ismael da Silva Mello, 559, Mogi Moderno</i></div><i><div style="text-align:left"><i>Mogi das Cruzes - SP</i></div><div style="text-align:left"><i>CEP 08717-390</i></div></i></div><div><span style="font-family:arial;font-size:small">Telefone: (11) 4726-8313</span></div></div></div>
</div></div>