[systemd-devel] [PATCH] loginctl: add rule for qemu's pci-bridge-seat

Gerd Hoffmann kraxel at redhat.com
Mon Jun 29 00:42:11 PDT 2015


Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/login/71-seat.rules.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in
index ab7b66f..270da71 100644
--- a/src/login/71-seat.rules.in
+++ b/src/login/71-seat.rules.in
@@ -17,6 +17,12 @@ SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"
 # 'Plugable' USB hub, sound, network, graphics adapter
 SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]", ENV{ID_AUTOSEAT}="1"
 
+# qemu (version 2.4+) has a PCI-PCI bridge (-device pci-bridge-seat)
+# to group devices belonging to one seat.
+# see http://git.qemu.org/?p=qemu.git;a=blob;f=docs/multiseat.txt
+SUBSYSTEM=="pci", ATTR{vendor}=="0x1b36", ATTR{device}=="0x000a", \
+	TAG+="seat", ENV{ID_AUTOSEAT}="1"
+
 # Mimo 720, with integrated USB hub, displaylink graphics, and e2i
 # touchscreen. This device carries no proper VID/PID in the USB hub,
 # but it does carry good ID data in the graphics component, hence we
-- 
1.8.3.1



More information about the systemd-devel mailing list