Commit b5038031 authored by Laércio de Sousa's avatar Laércio de Sousa
Browse files

Renomeados os terminais secundários para seat-{V,L}{0,1}.

parent 707c2ad9
[Seat:seat-usb-pci-*-usb-*_1]
[Seat:seat-V0]
xserver-command=env DISPLAY=:90.0 Xephyr -dpi 96 -xkb-rules evdev -xkb-layout br -xkb-model abnt2 -output VGA
[Seat:seat-usb-pci-*-usb-*_2]
[Seat:seat-L0]
xserver-command=env DISPLAY=:90.0 Xephyr -dpi 96 -xkb-rules evdev -xkb-layout br -xkb-model abnt2 -output LVDS
[Seat:seat-usb-pci-*-usb-*_3]
[Seat:seat-V1]
xserver-command=env DISPLAY=:90.1 Xephyr -dpi 96 -xkb-rules evdev -xkb-layout br -xkb-model abnt2 -output VGA
[Seat:seat-usb-pci-*-usb-*_4]
[Seat:seat-L1]
xserver-command=env DISPLAY=:90.1 Xephyr -dpi 96 -xkb-rules evdev -xkb-layout br -xkb-model abnt2 -output LVDS
......@@ -4,14 +4,14 @@ autologin-user-timeout=60
[Seat:seat0]
autologin-user=aluno0
[Seat:seat-usb-pci-*-usb-*_1]
[Seat:seat-V0]
autologin-user=aluno1
[Seat:seat-usb-pci-*-usb-*_2]
[Seat:seat-L0]
autologin-user=aluno2
[Seat:seat-usb-pci-*-usb-*_3]
[Seat:seat-V1]
autologin-user=aluno3
[Seat:seat-usb-pci-*-usb-*_4]
[Seat:seat-L1]
autologin-user=aluno4
# ThinNetworks Audio Hub USB
SUBSYSTEM=="usb", ATTR{idVendor}=="05e3", ATTR{idProduct}=="0608", TAG+="master-of-seat", ENV{ID_AUTOSEAT}="1"
TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-*-usb-*_[34]", PROGRAM="/bin/sh -c '/usr/bin/lspci | /bin/grep -c SM501'", RESULT=="1", ENV{ID_SEAT}="seat0", TAG-="master-of-seat"
# Seat naming conventions:
#
# seat name | TN-502 card order | video output
#---------------------------------------------
# seat-V0 | first | VGA
# seat-L0 | first | LVDS
# seat-V1 | second | VGA
# seat-L1 | second | LVDS
TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-*-usb-*_1", ENV{ID_SEAT}="seat-V0"
TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-*-usb-*_2", ENV{ID_SEAT}="seat-L0"
TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-*-usb-*_3", ENV{ID_SEAT}="seat-V1"
TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-*-usb-*_4", ENV{ID_SEAT}="seat-L1"
# If there's only a single TN-502 card, give the associated USB hubs back to seat0.
TAG=="seat", ENV{ID_SEAT}=="seat-[LV]1", PROGRAM="/bin/sh -c '/usr/bin/lspci | /bin/grep -c SM501'", RESULT=="1", ENV{ID_SEAT}="seat0", TAG-="master-of-seat"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment