IVI/Tizen-IVI 3.0-M2-March2014

From Tizen Wiki
< IVI
Jump to: navigation, search

On the 22th of April, the IVI team released Tizen IVI 3.0-M2-March2014 Release for In-Vehicle Infotainment (IVI).

This release features kernel 3.13.3, Wayland 1.4 and sample HomeScreen (ICO) version 0.9, which is uses the GENIVI layer management engine. It is expected to be the last release using the webkit-efl based Tizen Web Runtime (WRT). Future Tizen IVI releases will include Crosswalk as the WRT engine. Crosswalk is based on Chromium/Blink which are well-established projects with a proven track record of providing top-level performance and strong community support. Light Media Scanner (LMS) provides a fast and lightweight media indexing service. Cowhide adds a web technology framework allowing access to UI buttons and widgets, offering day/night mode properties that are exposed by Automotive Message Broker. SMACK based 3-domain security framework was added to enable restricted information sharing among system processes.

Quick Start

Tizen-IVI 3.0-M2-March2014 downloads

Three types of images that are created currently: one for HW platforms with legacy BIOS, one for platforms with UEFI and a third image for the Tizen SDK emulator.

See the Tizen IVI hardware platforms wiki page for more details on the various supported platforms.

Additional details available here:

Highlighted features and Core applications

  • 2G/3G Modem Support for Nexcom VTC1010
  • Automotive Message Broker: a vehicle network abstraction framework that brokers information from the vehicle (e.g. from the CAN bus) to applications. Detailed documentation available here
  • Cowhide: a Web UI framework library
  • GENIVI Layer Management
  • Light Media Scanner: provides lightweight media indexing API
  • Murphy:System Resource (memory, CPU) management
  • Settings: Configure network connectivity and change system locale configuration on the fly.

All features available in this release: IVI-3.0-M2 March2014 all features

Incremental features enabled in this release: IVI 3.0-M2 March2014 incremental features

Note: The engineering name for this release in JIRA is M14.1 but its official name is Tizen IVI 3.0-M2-March2014

Supported platforms

Hardware platforms

The Tizen IVI hardware platforms wiki page has the most up-to-date information regarding the various Tizen IVI supported HW platforms.

Virtual Machine

See the Running Tizen IVI 3.0 in VMware wiki page for more information on running Tizen IVI 3.0 images under VMware®.

Tizen IVI SDK

The newly-introduced Tizen SDK for IVI includes an emulator (based on QEMU) image. New features are “Kernel upgrade to 3.12 with SMACK support”, “Image upgrade based on Tizen 3.0 IVI M14.1 (20140415.5) release”, “Web UI components development support on IDE”, “Virtual keyboard on emulator”, and “Wiki for How to custom emulator image and integrate into SDK". See the Tizen IVI SDK wiki page for more information on the Tizen SDK for IVI.

Top Known Issues & Workarounds

  • TIVI-2799 [3.0 M2] Enable audio for VTC1010
  • TIVI-2798 [3.0 M2] Two displays are detected by kernel while only DisplayPort is present on VTC1010
  • TIVI-2912 [3.0 M2] Disable VGA Output on VTC1010
  • TIVI-2543 [3.0 M2] Disabling the LVDS for the Nexcom VTC7120
  • TIVI-2848 [3.0 M2] Enable/Disable WIFI Tethering
  • TIVI-2837 [3.0 M2] How to pair&connect your Bluetooth device

Find complete Q&A reports for platforms here:

How-Tos

Tweaking your screen settings

Tweak your screen settings by editing the /etc/xdg/weston/weston.ini file. The key section(s) are the [output].

The first thing you need is the name of the output your screen is attached to. This varies from device to device, and also based on the type of connector that is used on the platform (HDMI, DP, VGA, etc.). If you are not sure about the exact name (as detected by Weston), then check the journalctl -b output (as root) and look for weston. Take a note of the output name and also the various resolutions that are advertised.

You can then construct your [output] section based on that, the main keywords to use are:

  1. name: name of the output, e.g. HDMI3, VGA1, LVDS1, etc.
  2. mode: this is the resolution you want to use. You can use a resolution that's advertised directly (e.g. 1024x768 or use a complete modeline if you need a custom resolution.
  3. transform: this is how you rotate or flip your screen.

Here is an example of a modified section for an HD screen attached to HDMI1 and which is physically rotated to be in portrait mode:

[output]
name=HDMI1
mode=1920x1080
transform=90

Tuning screen resolution and orientation in VMware

See specific screen orientation configuration examples on the Tizen IVI in VMware wiki page.

Disable VGA output on VTC1010

The hardware design of the Nexcom VTC1010 reports an active VGA port even if none is connected. Add the following to the boot loader kernel option command line to disable this 'ghost' screen: video=VGA-1:d

  • Open /boot/extlinux/extlinux.conf for the MBR image
  • Open /boot/loader/entries/vmlinuz-<VERSION>-x86-ivi.conf for the EFI image

Enable touch on VTC1010

All touch events will be drawn on the primary Wayland output monitor (VGA1 even if none exists) unless the VGA port has been disabled (see here). Use the following udev rule to map touch events to the correct Wayland output. See the following bug for more details: TIVI-2798

 
 /usr/lib/udev/rules.d/99-egalax.rules 
 # NOTE: setting the WL_OUTPUT lets Weston know which display to associate the touch device with
 ATTRS{idVendor}=="0eef", ATTRS{idProduct}=="7200", ENV{WL_OUTPUT}="DP1"
 Reboot the system after creating this file.
 

Enable Multiple Touchscreen Displays

See Mapping Touchscreen to Wayland Output to enable more than one touch screen panel.

Install ICO Homescreen

From a weston-terminal:

$su(password is tizen)
#zypper rm weston-ivi-config

Install UI pattern:

#zypper install -t pattern ivi-ux-ico
#systemctl reboot

Note: The ICO HomeScreen is designed and configured to fit nicely on a 1920 x 1080 screen in portrait mode. The HomeScreen will not fit other screen sizes correctly.

The red "forbidden" sign on the "list all apps" button means the system is in driving mode. Change this mode by:

 #zypper install murphy-tests
 #murphy-console "db replace into amb_drivingmode values (0, 0)"

Install and start Modello UI

Modello is a sample UI entirely written using HTML5/JS technologies. It is a Proof-of-Concept and is not yet fully functional; treat this as alpha quality for now. There are several applications that form Modello: a HomeScreen, Dashboard, HVAC, Hands-Free Dialer, Multimedia Player, Smart Device Link, Navigation, App Manager, AMB Simulator and Settings. It is designed to fit nicely in a 720p (or 1080p) screen in portrait mode; manually adjust your /etc/xdg/weston/weston.ini configuration file as needed.

To install the Modello UI (as root):

#zypper in -t pattern ivi-ux-modello-ui

Add the following configuration lines to /etc/xdg/weston/weston.ini

[output]
name=DP1 
mode=1280x720
transform=90

Note: Update the output interface depending on the platform used. This configuration example is based on Nexcom VTC1010. To start the Modello UI (normal 'app' user):

$wrt-launcher –s html5POC05.Homescreen

Dual-Screen Configuration

Setting up dual screen requires a VGA and DisplayPort (DP) monitor. A HDMI monitor can be substituted for the DP if an active HDMI to DP port adapter is available.

Disabling the LVDS output for the Nexcom VTC7120 platforms

The LVDS output is active by default; Weston uses it even if no screen is attached, making part of the desktop invisible. We recommend disabling the LVDS output by adding the following section to weston.ini:

[output]
name=LVDS1
mode=off

How to start a WebApp

To start a WebApp (such as GhostCluster, MediaPlayer, Settings, Saythis):

 # Launch weston-terminal
 # Run wrt-launcher -l to list all the WebApps that are available (i.e. installed)
 # Run the app of your choice using the App ID: wrt-launcher –s <app_ID>

How to start a WebApp via SSH

To start a WebApp (such as GhostCluster, MediaPlayer) remotely using SSH:

  1. Login as user 'root' (password: 'tizen')
  2. Set a password for the app user: #passwd app
  3. Login as user 'app': $ssh app@ivi_box
  4. Run $wrt-launcher -l to list all the WebApps that are available (i.e. installed)
  5. Run the app of your choice using the App ID: $wrt-launcher –s <app_ID>

How to start Native App (launch_app)

$su (password is 'tizen')
#pkgcmd –l  //to list all applications available
#exit  //root privileges are only required to list all applications

Note: both native and web applications will appear on this list. The respective pkg_type are [rpm] and [wgt] and the command-line argument to start one or the other is slightly different (this inconsistent behaviour is tracked in TIVI-2667).

Launching a native app (i.e. pkg_type == [rpm])
$launch_app <pkgid>
E.g.: $launch_app org.tizen.dialer
Launching a Web app (i.e. pkg_type == [wgt])
Concatenate the pkgid and name with a dot in between, i.e. [pkgid].[name]. For example:
$launch_app <pkgid>.<name>
E.g: $launch_app GV3ySIINq7.GhostCluster

How to start MiniBrowser

  1. Standard weston desktop (default), from a weston-terminal: MiniBrowser
  2. ICO HomeScreen:
#zypper install ico-uxf-homescreen-sample-apps
#systemctl reboot

Locate and launch the MiniBrowser icon.

Adding content for media player

To update the list of multimedia files for MediaPlayer:

  1. Copy the new media files to /opt/usr/media/
  2. Refresh the media database (as 'root'): #mediadb-update -r /opt/usr/media/
  3. Update the SMACK security label media content

How to enable boot splash

This is only supported on the Nexcom VTC1010 when running the EFI image

  1. Disable the fastboot option in the BIOS: "Device Manager->System Setup->Boot-> Fast Boot ->Disabled"
  2. Then edit the boot loader configuration as follows:
sed -i 's/\(^default .*\)/\1-splash/'  /boot/loader/loader.conf
systemctl reboot

Note: Disable fastboot first so Gummiboot assumes the display is turned on by the BIOS (in LCD default mode). This does not happen when the fastboot option is enabled.

See TIVI-2177 for more details.

Unmuting sound

Sound might be muted at startup. Unmute from the weston terminal inside the session. Then run:

 pacmd set-sink-mute 0 false

Feedback and support