nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   multiseat with systemd (http://www.nvnews.net/vbulletin/showthread.php?t=206076)

jkfloris 05-30-13 10:44 AM

multiseat with systemd
 
Hey,

I already know that the nvidia driver creates the framebuffer after the X server is started, so I have to create an udev rule to make a "seat-master" (or is it "master-of-seat")

on http://www.freedesktop.org/wiki/Soft...emd/multiseat/
Quote:

...

Tag "master-of-seat": if set this device is enough for a seat to be considered existent. This tag is
usually set for the framebuffer device of graphics cards. A seat hence consists of an arbitrary
number of devices marked with the "seat" tag, but (at least) one of these devices needs to be
tagged with "master-of-seat" before the seat is actually considered to be around.

...
Can someone give me an example to set this tag in an udev rule?

thanks,

jkfloris

jkfloris 06-03-13 07:11 AM

Re: multiseat with systemd
 
The people of systemd where so kind to give me an example:
Code:

SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat", TAG+="master-of-seat"
Unfortunately, Nvidia doesn't create a SUBSYSTEM==graphics or a KERNEL==fb0

Code:

$sudo udevadm info -a -p /sys/devices/pci0000\:00/0000\:00\:03.0/0000\:01\:00.0/

 looking at device '/devices/pci0000:00/0000:00:03.0/0000:01:00.0':
 KERNEL=="0000:01:00.0"
 SUBSYSTEM=="pci"
 DRIVER=="nvidia"
 ATTR{vendor}=="0x10de"
 ATTR{device}=="0x0615"
 ATTR{subsystem_vendor}=="0x1043"
 ATTR{subsystem_device}=="0x82fb"
 ATTR{class}=="0x030000"
 ATTR{irq}=="16"
 ATTR{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
 ATTR{local_cpulist}=="0-3"
 ATTR{numa_node}=="-1"
 ATTR{dma_mask_bits}=="40"
 ATTR{consistent_dma_mask_bits}=="32"
 ATTR{enable}=="1"
 ATTR{broken_parity_status}=="0"
 ATTR{msi_bus}==""
 ATTR{boot_vga}=="1"

so I tried
Code:

SUBSYSTEM=="pci", KERNEL=="0000:02:00.0", TAG+="seat", TAG+="master-of-seat"
but without success,

some more tips?

thanks


All times are GMT -5. The time now is 09:20 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.