[systemd-devel] loginctl - multi-seats
Andrei Borzenkov
arvidjaar at gmail.com
Sat Aug 23 08:09:24 PDT 2014
В Sat, 23 Aug 2014 16:50:31 +0200
arnaud gaboury <arnaud.gaboury at gmail.com> пишет:
> >
> > You probably want graphic device under it, something like
> >
> > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
>
>
> # loginctl attach seat1 /sys/bus/pci/devices/0000:01:00.0/drm/card0
> No error thrown, but:
>
> # loginctl list-seats
> SEAT
> seat0
>
> 1 seats listed.
> No new seat1 !
>
>
> % udevadm info --query=all --path=/sys/bus/pci/devices/0000:01:00.0
> P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
> E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0
> E: DRIVER=nvidia
> E: ID_MODEL_FROM_DATABASE=GK104 [GeForce GTX 770]
> E: ID_PCI_CLASS_FROM_DATABASE=Display controller
> E: ID_PCI_INTERFACE_FROM_DATABASE=VGA controller
> E: ID_PCI_SUBCLASS_FROM_DATABASE=VGA compatible controller
> E: ID_VENDOR_FROM_DATABASE=NVIDIA Corporation
> E: MODALIAS=pci:v000010DEd00001184sv000010B0sd00001184bc03sc00i00
> E: PCI_CLASS=30000
> E: PCI_ID=10DE:1184
> E: PCI_SLOT_NAME=0000:01:00.0
> E: PCI_SUBSYS_ID=10B0:1184
> E: SUBSYSTEM=pci
> E: USEC_INITIALIZED=53240
>
> I guess I am on the right device directory.
>
>
> >
> > You can only add devices that have udev tag seat (those with
> > TAGS=...:seat:... in properties).
>
> Will learn how to read TAGS. It is new to me for now.
>
>
>
P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
N: dri/card0
E: DEVNAME=/dev/dri/card0
E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
E: DEVTYPE=drm_minor
E: ID_FOR_SEAT=drm-pci-0000_01_00_0
E: ID_PATH=pci-0000:01:00.0
E: ID_PATH_TAG=pci-0000_01_00_0
E: MAJOR=226
E: MINOR=0
E: SUBSYSTEM=drm
E: TAGS=:seat:uaccess:
E: USEC_INITIALIZED=189616
More information about the systemd-devel
mailing list