Package: systemd
Version: 44-11
Severity: normal

Dear Maintainer,

I try to setup a multiseat system with two nvidia cards. Following the only
documentation I found on
http://code.lexarcana.com/blog/2012/06/17/simple-multiseat-setup-on-fedora-17/

Unfortunately the nvdia cards do not create a "drm" or "graphics" device in
sysfs, so the tag "master-of-seat" is needed.
There is no information on how to create such tag so I asked on the systemd-
devel list. The response was:

>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...

I created the next rule:
$cat /etc/udev/rules.d/02-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"

attach a keyboard and a mouse to a seat
#systemd-loginctl attach seat2
/sys/devices/pci0000\:00/0000\:00\:03.0/0000\:01\:00.0
#systemd-loginctl attach seat2
/sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-1/1-1.4/1-1.4\:1.0/input/input1
#systemd-loginctl attach seat2
/sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-1/1-1.3/1-1.3\:1.0/input/input0

systemd create the 72-seat-<device name>.rules in /etc/udev/rules.d

After a restart I expected to have a working multiseat. But without succes

# udevadm info --query=all --path
/sys/devices/pci0000\:00/0000\:00\:03.0/0000\:01\:00.0/
P: /devices/pci0000:00/0000:00:03.0/0000:01:00.0
E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:01:00.0
E: DRIVER=nvidia
E: ID_FOR_SEAT=pci-pci-0000_01_00_0
E: ID_PATH=pci-0000:01:00.0
E: ID_PATH_TAG=pci-0000_01_00_0
E: ID_SEAT=seat2
E: MODALIAS=pci:v000010DEd00000615sv00001043sd000082FBbc03sc00i00
E: PCI_CLASS=30000
E: PCI_ID=10DE:0615
E: PCI_SLOT_NAME=0000:01:00.0
E: PCI_SUBSYS_ID=1043:82FB
E: SUBSYSTEM=pci
E: TAGS=:master-of-seat:seat:seat2:
E: UDEV_LOG=3
E: USEC_INITIALIZED=9061956

All the tags about the seat are present, but the systemd shows only one seat
$ systemd-loginctl list-seats
SEAT
seat0

1 seats listed.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), 
(500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.utf8, LC_CTYPE=nl_NL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  dpkg                 1.16.10
ii  initscripts          2.88dsf-41
ii  libacl1              2.2.52-1
ii  libaudit0            1:1.7.18-1.1
ii  libc6                2.17-3
ii  libcap2              1:2.22-1.2
ii  libcryptsetup4       2:1.4.3-4
ii  libdbus-1-3          1.6.10-1
ii  libkmod2             9-3
ii  liblzma5             5.1.1alpha+20120614-2
ii  libpam0g             1.1.3-9
ii  libselinux1          2.1.13-2
ii  libsystemd-daemon0   44-11
ii  libsystemd-id128-0   44-11
ii  libsystemd-journal0  44-11
ii  libsystemd-login0    44-11
ii  libudev0             175-7.2
ii  libwrap0             7.6.q-24
ii  udev                 175-7.2
ii  util-linux           2.20.1-5.4

Versions of packages systemd recommends:
ii  libpam-systemd  44-11

Versions of packages systemd suggests:
ii  python        2.7.3-5
ii  python-cairo  1.8.8-1+b2
ii  python-dbus   1.2.0-1
ii  systemd-gui   44-11

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to