Op Sun, 02 Jun 2013 15:32:15 +0200 schreef Tom Gundersen <[email protected]>:

On Sun, Jun 2, 2013 at 3:07 PM, Floris <[email protected]> wrote:
And what should I add if I didn't use a mainline graphics driver or a driver
that taints the kernel?

Then you'll need to add a rule equivalent to

SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat", TAG+="master-of-seat"

but replace fb[0-9] with whatever your device is (which depends on
your hardware/driver). Ideally your distro would ship the correct
rules file with the driver...


after a couple of hours playing around your example isn't that clear.

udevadm info -a -p /sys/devices/pci0000\:00/0000\:00\:03.0/0000\:01\:00.0/
doesn't show a "graphics" neither a "framebuffer" so I tried:

$ cat /etc/udev/rules.d/99-seat.rules
SUBSYSTEM=="pci", KERNEL=="0000:02:00.0", TAG+="seat", TAG+="master-of-seat" SUBSYSTEM=="pci", KERNEL=="0000:01:00.0", TAG+="seat", TAG+="master-of-seat"

$ systemd-loginctl seat-status seat0
 does show the devices, but there isn't another seat created.

thanks,

floris
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to