IVI/IVI July 2, 3.0-M1

From Tizen Wiki
Jump to: navigation, search

On the 2nd of July, the IVI team released Tizen 3.0-M1 for In-Vehicle Infotainment (IVI). This is the first milestone image that builds upon the Tizen 3.0 codebase and is paving the way towards the 3.0-M2 (EOY2013) and final 3.0 Tizen IVI releases (H2 2014). This image is based on Wayland and includes the Tizen Web RunTime (WRT) in addition to several automotive components and features such as Bluetooth Hands-Free Profile, Automotive Message Broker, Media sharing (DLNA), Policy manager, dual-display and a few sample applications.

Quick Start

Highlighted features and Core applications

  • Tizen WRT (Web RunTime) on Wayland
  • Automotive Message Broker: A vehicle network abstraction framework that brokers information from the vehicle (e.g. from the CAN bus) to applications. Detailed documentation is provided here
  • Ghostcluster: An HTML5-based dashboard application that connects to AMB (Automotive Message Broker) to access vehicle data.
  • MediaPlayer: An HTML5-based multimedia player application
  • Murphy policy manager: Murphy is a resource policy daemon, designed to do cross domain policy decisions in a configurable way. It is currently focussed on Audio policies.
  • Hands-Free dialer ("lemolo"): A BT HFP (Hands-Free Profile) dialer application that uses oFono and BlueZ to make and receive phone calls through a bluetooth-paired mobile phone.
  • dLeyna: dLeyna is an opensource project that provides high level APIs for creating DLNA enabled applications.
  • Dual-display support

For a complete list of features that have been enabled in this release IVI 3.0-M1 features

Supported hardware

  • NEXCOM NDiS 166
  • NEXCOM VTC 7120-BK
  • NEXCOM VTC 7120-D1K

Top Known Issues

  • TIVI-1133 [3.0] No audio output when playing HTML5 audio OGG
  • TIVI-1017 [3.0] fstab is hard-coded to boot from /dev/sdb
  • TIVI-1104 [3.0] MediaPlayer takes more than 3s to react
  • TIVI-1094 [3.0] Failed to launch web apps
  • TIVI-1119 Security config is preventing wrt_launchpad_daemon from communicating with wrt-client
  • TIVI-1086 [3.0] App does not respond to touch events
  • TIVI-1092 You can't lauch Rygel as a service
  • TIVI-1132 [3.0] No tables show in murphy database when system boot up
  • TIVI-1134 [3.0] pulseaudio crash if disconnect A2DP earphone during playing music
  • TIVI-1082 [3.0] Vaapi driver initial fail
  • TIVI-1065 [3.0] gst-libav integration
  • TIVI-1027 [3.0] Wi-Fi tethering does not work
  • TIVI-1035 [3.0] Bluetooth tethering service is unconnectable
  • TIVI-1088 [3.0] Touch screen needs calibration
  • TIVI-1090 [3.0] Touch events always take effect on one monitor during dual display extend mode

Full Q&A report available here

Tips, tricks and other workarounds

/dev/sdbX is hard-coded in /etc/fstab

The partitions in /etc/fstab are hard-coded to /dev/sdbX. You should change this to /dev/sdaX (where 'X' is the partition number) if you intent to install and run Tizen IVI from the primary HDD. Please check which device letter is assigned to the drive hosting the root filesystem if you have a different set-up.

Running WebApps as 'tizen' user

Web Applications should be run as the 'tizen' user but you need to fix a couple of permissions before being able to do so:

  1. Launch weston-terminal as user 'tizen' (default)
  2. Run su - to become root (password: 'tizen')
  3. Run chgrp users /opt/dbspace/.wrt* /opt/dbspace/.ace*
  4. exit to return to the 'tizen' user
  5. Start the Web App, e.g.:
  • MediaPlayer: wrt-client -l t8j6HTRpuz.MediaPlayer
  • GhostCluster: wrt-client -l GV3ySIINq7.GhostCluster

Running WebApps via SSH

To launch Web Applications remotely as 'tizen' user please follow the steps above and export the following environment variables prior to running the application using wrt-client.

export EGL_PLATFORM=wayland_egl
export ELM_ENGINE=wayland_egl
export ECORE_EVAS_ENGINE=wayland_egl
export XDG_RUNTIME_DIR=/run/user/1000/

Setting up Wi-Fi and Bluetooth

The image does not include a 'settings' application and you will need to set up your Wi-Fi and Bluetooth connections from the command-line. Please install the 'connman-test' and 'bluez-test' packages to that effect

  1. Launch weston-terminal and run su - to become root (password: 'tizen')
  2. Run zypper refresh && zypper in connman-test bluez-test
  3. exit to return to the 'tizen' user
  4. The Connman scripts are located under /usr/lib/connman/test/
  5. The various BlueZ-related scripts are put under /usr/bin

DBus Session Bus address not set

Some components and applications such as 'lemolo', 'dLeyna', 'obexd', etc. need the DBUS_SESSION_BUS_ADDRESS variable to be set before they can run. If that is the case, please follow these steps before running the app:

  1. Launch weston-terminal
  2. export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/dbus/user_bus_socket
  3. Run the app, e.g. Dialer

PulseAudio is not running

PulseAudio is not running by default when the system boots up. You can trigger PulseAudio to start by doing this:

  1. Launch weston-terminal
  2. paplay /usr/share/sounds/alsa/Front_Center.wav

How to use the Hands-Free Dialer ('lemolo')

  1. Make sure PulseAudio is running (see above)
  2. Pair the Bluetooth phone (req: bluez-test): simple-agent hci0 <MAC_OF_BT_phone>
  3. export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/dbus/user_bus_socket
  4. Start lemolo: /usr/apps/org.tizen.dialer/bin/dialer
  5. Wait for a few moments for the dialer to enable the HFP modem and then you will be able to make calls

How to use MiniBrowser

  1. Install glib-networking to support TLS/SSL (as 'root'): zypper in glib-networking
  2. Run MiniBrowser (as 'tizen'), e.g. MiniBrowser http://www.tizen.org

Disabling the LVDS output for the Nexcom VTC7120 platforms

By default, the LVDS output is active and weston will use it even if no screen is attached to it which will make part of the desktop invisible to you. We therefore recommend to disable the LVDS output by adding the following section to weston.ini if you do not use it:


Multimedia indexer

To update the list of multimedia files for 'MediaPlayer'

  1. Copy some new media files to /opt/usr/media/
  2. Refresh the media database (as 'root'): mediadb-update -r /opt/usr/media/
  3. Launch MediaPlayer (as 'tizen'): /opt/usr/apps/t8j6HTRpuz/bin/t8j6HTRpuz.MediaPlayer

Note: You can also launch the MediaPlayer as follows: wrt-client -l t8j6HTRpuz.MediaPlayer

Feedback and support