summaryrefslogtreecommitdiffstats
path: root/src/login/71-seat.rules.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* login: Don't mark framebuffer devices as master-of-seat devicesMarco Trevisan (Treviño)2018-11-061-1/+1
| | | | | | | | | | | | | | | | Currently we consider any framebuffer device as enough to have a valid graphical session, but this might lead to many false postives like in the case of framebuffer devices that have a linked drm card which is still in the process of being added, or for vesa fb, and so it doesn't ensure us that we can have a proper graphical session. Since these days we normally don't consider anything without a DRM card able to provide a full graphical session, let's not set this at this level. Drivers which can provide a graphical session with the sole fb are still free to mark any device as `master-of-seat` Fixes #10435
* Add SPDX license headers to various assorted filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* treewide: fix typosTorstein Husebø2015-07-061-1/+1
|
* login: add rule for qemu's pci-bridge-seatGerd Hoffmann2015-07-021-0/+5
| | | | | | | | | | | | | | Qemu provides a separate pci-bridge exclusively for multi-seat setups. The normal pci-pci bridge ("-device pci-bridge") has 1b36:0001. The new pci-bridge-seat was specifically added to simplify guest-side multiseat configuration. It is identical to the normal pci-pci bridge, except that it has a different id (1b36:000a) so we can match it and configure multiseating automatically. Make sure we always treat this as separate seat if we detect this, just like other "Pluggable" devices. (David: write commit-message)
* logind: Add a udev rule to tag all DRM cards with master-of-seatPhilip Withnall2015-06-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for generic DRM devices like the VirtualBox vboxvideo driver, which exposes itself as a generic, ID-less DRM device at /dev/dri/card0 (after applying this commit): $ udevadm info --query=all --path \ /sys/devices/pci0000:00/0000:00:02.0/drm/card0 P: /devices/pci0000:00/0000:00:02.0/drm/card0 N: dri/card0 E: DEVNAME=/dev/dri/card0 E: DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0 E: DEVTYPE=drm_minor E: ID_FOR_SEAT=drm-pci-0000_00_02_0 E: ID_PATH=pci-0000:00:02.0 E: ID_PATH_TAG=pci-0000_00_02_0 E: MAJOR=226 E: MINOR=0 E: SUBSYSTEM=drm E: TAGS=:master-of-seat:seat:uaccess: E: USEC_INITIALIZED=59893 Without this patch, the capabilities for a seat on a VirtualBox installation of systemd v219 incorrectly show it as non-graphical, even though I can type these commands from an xterm: $ loginctl show-seat seat0 Id=seat0 CanMultiSession=yes CanTTY=yes CanGraphical=no … https://bugs.freedesktop.org/show_bug.cgi?id=90822
* Move udevadm to rootbindirMichael Biebl2013-03-111-1/+1
| | | | | The udevadm utility is needed during early boot, so move it to rootbindir to support split-/usr configurations.
* logind: rename "seat-master" tag to "master-of-seat"Lennart Poettering2013-02-091-1/+1
| | | | | | | | | | | We currently enforce that seats are to be named in the form of "seatXXX", i.e. need to begin with the 4 characters "seat". Thus, "seat-master" would qualify as a seat name. As seat names are frequently used as tags on devices, the "seat-master" tag might hence confuse logind if the user decides to name a seat "seat-master". Hence, avoid any ambuigity: let's rename the "seat-master" tag to "master-of-seat".
* logind: Capability of making seats without framebuffer devicesOleg Samarin2013-01-071-1/+1
| | | | | file logind.c: The seat is now activated by any device with udev tag "seat-master" file 71-seat.rules.in: All framebuffer devices have this tag
* logind: add new loginctl lock-sessions commandLennart Poettering2012-07-291-0/+2
|
* login: properly detect MIMO USB displaysLennart Poettering2012-05-311-0/+46
MIMO USB displays use a generic VID/PID for the hub component. With a bit of trickery we can detect them by the VID/PID of the graphics component.