[systemd-devel] help : loginctl won't add new seat

Floris jkfloris at dds.nl
Thu Sep 3 06:29:59 PDT 2015


Op Thu, 03 Sep 2015 14:44:57 +0200 schreef Benoit Barthelet  
<benoit.barthelet at gmail.com>:

> I'm at a loss figuring out why I can't succeed in attaching a card per  
> seat.

>
> ➜  ~  cat /etc/udev/rules.d/71-ati.rules
> SUBSYSTEM=="pci",
> DEVPATH=="/devices/pci0000:00/0000:00:07.0/0000:03:00.0", TAG+="seat",
> TAG+="master-of-seat"i, ENV{ID_AUTOSEAT}="1", ENV{ID_SEAT}="seat1"
> SUBSYSTEM=="pci",
> DEVPATH=="/devices/pci0000:00/0000:00:01.0/0000:01:00.0", TAG+="seat",
> TAG+="master-of-seat"i, ENV{ID_AUTOSEAT}="1", ENV{ID_SEAT}="seat0"
>

Maybe a typo, but why is there an "i" after master-of-seat?
and you do not need a rule for seat0 everything belongs to
seat0 until you attach it to an other.

> ➜  ~  sudo udevadm trigger
>

I had no success with the trigger option. Only a reboot works

> ➜  ~  udevadm info  
> --path=/sys/devices/pci0000:00/0000:00:07.0/0000:03:00.0
> P: /devices/pci0000:00/0000:00:07.0/0000:03:00.0
> E: DEVPATH=/devices/pci0000:00/0000:00:07.0/0000:03:00.0
> E: DRIVER=fglrx_pci
> E: ID_FOR_SEAT=pci-pci-0000_03_00_0
> E: ID_MODEL_FROM_DATABASE=Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
> E: ID_PATH=pci-0000:03:00.0
> E: ID_PATH_TAG=pci-0000_03_00_0
> 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=Advanced Micro Devices, Inc. [AMD/ATI]
> E: MODALIAS=pci:v00001002d0000679Asv0000174Bsd0000E207bc03sc00i00
> E: PCI_CLASS=30000
> E: PCI_ID=1002:679A
> E: PCI_SLOT_NAME=0000:03:00.0
> E: PCI_SUBSYS_ID=174B:E207
> E: SUBSYSTEM=pci
> E: TAGS=:master-of-seat:seat:

There is a tag missing
E: TAGS=:master-of-seat:seat1:seat:
maybe one of the solutions above will solve this


> E: USEC_INITIALIZED=4263907
>

>
> I also have this xorg :
> ➜  ~  cat /etc/X11/xorg.conf.d/90-ati.conf
> Section "Device"
>     Identifier     "Seat0"
>     Driver         "fglrx"
>     BusID          "PCI:1:0:0"
>     Option         "ProbeAllGpus" "FALSE"
>     MatchSeat      "seat0"
> EndSection
>
>
> Section "Device"
>     Identifier     "Seat1"
>     Driver         "fglrx"
>     BusID          "PCI:3:0:0"
>     Option         "ProbeAllGpus" "FALSE"
>     MatchSeat      "seat1"
> EndSection
>

Looks good.

Success,

floris


More information about the systemd-devel mailing list