[Dev] Multi-seat/multi-user setup in IVI: Questions

Zaman, Imran imran.zaman at intel.com
Wed Aug 27 13:57:30 GMT 2014


Hi,

We are trying to setup multi-seat on IVI box VTC1010. We manage to setup two seats (seat0, and seat1) using tlm (and some modifications to udev rules file for seat; please see end of email). 

In this context, we came across couple of questions:

1- Who should be "master of seat" as it is mandatory? we have set usb-hub as master-of-seat.
2- How could separate monitor be attached to a seat (as one is connected on VGA and other on DP)? we have done that using weston.ini but it does not seem to work.

BR
imran

Setup
====
- Two usb hubs connected to usb port 1 (front) and port 2 (back)
- Each usb hub has mouse and keyboard connected (one of them also has USB mass storage which contains the IVI image)
- One screen is connected to DP
- Another screen is connected to VGA

weston.ini
======
[output]
name=VGA1
seat=seat0

[output]
name=DP1
seat=seat1

/etc/udev/rules.d/multi-touch.rules
=====================
ENV{ID_VENDOR_ID}=="0eef",ENV{ID_MODEL_ID}=="7200",DEVPATH=="/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2.4/*",ENV{WL_OUTPUT}="DP1"

/usr/lib/udev/rules.d/71-seat.rules (added following lines as per two usb hubs)
====================
SUBSYSTEM=="usb", ATTR{idVendor}=="05e3", ATTR{idProduct}=="0608", ENV{ID_AUTOSEAT}="1", ENV{ID_SEAT}="seat0", TAG+="master-of-seat"
SUBSYSTEM=="usb", ATTR{idVendor}=="1a40", ATTR{idProduct}=="0101", ENV{ID_AUTOSEAT}="1", ENV{ID_SEAT}="seat1", TAG+="master-of-seat"

Tizen IVI image
=========
BUILD_ID=tizen-ivi_20140826.1_ivi-mbr-i586

multi-user/multi-seat sessions
==================
root at ivi_box:~# loginctl
   SESSION        UID USER             SEAT            
        c1       5000 app              seat0           
        c2       2003 guest_1          seat1           
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the Dev mailing list