← Back to team overview

ubuntu-multiseat team mailing list archive

Re: new ubuntu multiseat wiki page

 

Em 18/02/2014 21:01, "Richard Hansen" <ubuntu-a7x@xxxxxxxxxxxxxxx> escreveu:
>
> On 2014-02-18 06:05, Laércio de Sousa wrote:
> > Because my card can't be handled by logind at all, I can't tag it as
> > "master-of-seat", so the best solution in my case is tagging my USB hub
> > as "master-of-seat", using the following udev rule:
> >
> > # ThinNetworks Audio Hub
> > SUBSYSTEM=="usb", ATTR{idVendor}=="05e3", ATTR{idProduct}=="0608",
> > TAG+="master-of-seat", ENV{ID_AUTOSEAT}="1", ENV{ID_FOR_SEAT}="XXXX"
> >
> > In this example, a new seat named "seat-XXXX" is automatically created
> > when I plug the USB hub, in a semi-Plugable fashion.
>
> Oh, I think I understand what you're doing.  Correct me if I'm wrong:
> You want a seat to be activated whenever you plug in your audio hub
> device, and you want that seat to be deactivated whenever you unplug the
> audio hub device.  The hardware that should be associated with the seat
> is the audio hub device and the SM501 video card.  Is that right?
>
Well, not exactly.

When I say a device can be handled by logind, I mean it's listed in the
output of command "loginctl seat-status seat0" - in other words, it's
tagged as "seat" in udev.

My SM501 card is not tagged as "seat" by default, and I've never considered
the possibility to tag it manually, so I've tagged the next relevant piece
of hardware in my multiseat setup - the USB hub - as "master-of-seat". The
autoseat stuff is just for convenience.

It seems we have adopted different approaches to deal with seat assignments
- while you write your own udev rules, I rely on loginctl helper to create
them for me.

> Try setting up your video card as follows:
>
>   * tag it with 'seat' (if it isn't already)
>   * tag it with 'seat-XXXX'
>   * set ID_SEAT to 'seat-XXXX'
>   * do NOT tag it with 'master-of-seat'
>
> Then configure your audio hub as follows:
>
>   * tag it with 'seat' (if it isn't already)
>   * tag it with 'seat-XXXX'
>   * set ID_SEAT to 'seat-XXXX'
>   * tag it with 'master-of-seat'
>   * do NOT set ID_AUTOSEAT or ID_FOR_SEAT
>
> If you do the above, then I think it will work without requiring any
> changes to /etc/X11/xorg.conf.
>

I can try it tomorrow. Anyway, since my siliconmotion driver is not loaded
automatically, some entries in xorg.conf are still needed - and MatchSeat
key will prevent X server from trying to apply my SM501 config to my Intel
onboard graphics card.

> -Richard
>
> --
> Mailing list: https://launchpad.net/~ubuntu-multiseat
> Post to     : ubuntu-multiseat@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-multiseat
> More help   : https://help.launchpad.net/ListHelp

Follow ups

References