The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Community Workspace/Tegra3/Nexus7

From Mer Wiki
< Community Workspace | Tegra3(Difference between revisions)
Jump to: navigation, search
m (Touchscreen rotation)
(added missing information about enabling accelerometer and gyroscope. formatting changed)
Line 67: Line 67:
 
All files are in /sys/devices/platform/tegra-i2c.2/i2c-2/2-0068/iio:device0
 
All files are in /sys/devices/platform/tegra-i2c.2/i2c-2/2-0068/iio:device0
  
To use mpu6050 (sensor in Nexus 7), set the buffer length ("echo 10 > buffer/length") and enable the buffer ("echo 1 > buffer/enable").
+
mpu6050 (sensor in Nexus 7) configuration:
 +
 
 +
# configure buffer: "# echo 10 > buffer/length". 10 is choosen by me at random. -- [[User:Glueckself|Glueckself]] 23:49, 28 January 2013 (UTC)
 +
# configure desired axes / values: "# echo 1 > scan_elements/in_*_en". This command has to be run on all desired values, "> in_*_en" is not a valid redirection.
 +
# enable buffer: "# echo 1 > buffer/enable"
  
 
The data can then be read from in_{accel,anglvel}_{x,y,z}_raw.
 
The data can then be read from in_{accel,anglvel}_{x,y,z}_raw.

Revision as of 23:49, 28 January 2013

Contents

Mer on Nexus7

DISCLAIMER: This project is not endorsed or supported by any company. This is purely a community based effort.

This page describes the running Mer on Nexus 7 (see Community_Workspace/Tegra3 for commong Tegra3 stuff).

The hardware adaptation is maintained in the project [1]

The Plasma active instructions are quite generic and can be easily adapted to other images as well.

Hardware Adaptation Status

Device Profile Boots Display Touchscreen Wireless Mobile Data H/W Accel. GFX Sensors GPS
Nexus 7 (wifi) Yes Yes Yes Yes N/A Yes kernel, yes unknown
Nexus 7 (gprs) Yes Yes Yes Yes not tested Yes kernel, yes unknown

Plasma Active on Nexus7

Installation

See Community_Workspace/Tegra3/Nexus7/PA_installation.

Known Issues

See Community_Workspace/Tegra3/Nexus7/PA_Known_Issues

Workarounds

Keyboard

If you have issues with the default keyboard you should give this one a try: To install it just:

  zypper ar -G http://repo.pub.meego.com/home:/wonko:/branches:/Project:/KDE:/Trunk:/Testing/CE_UX_PlasmaActive_armv7hl/home:wonko:branches:Project:KDE:Trunk:Testing.repo
  zypper up maliit-active libmaliit-quick
  killall -9 maliit-server

Nemo Mobile

Most things should work but virtual keyboard doesn't, which renders everything unusable. The screen shows just black when the keyboard is visible. The same symptom is seen also in Virtual Machines and was fixed by workarounding something in Mesa (which is of course not used on Tegra).

See Community_Workspace/Tegra3/Nexus7/EGL_NOK_issues for details.

Hardware support

Accelerometer / Gyroscope

All files are in /sys/devices/platform/tegra-i2c.2/i2c-2/2-0068/iio:device0

mpu6050 (sensor in Nexus 7) configuration:

  1. configure buffer: "# echo 10 > buffer/length". 10 is choosen by me at random. -- Glueckself 23:49, 28 January 2013 (UTC)
  2. configure desired axes / values: "# echo 1 > scan_elements/in_*_en". This command has to be run on all desired values, "> in_*_en" is not a valid redirection.
  3. enable buffer: "# echo 1 > buffer/enable"

The data can then be read from in_{accel,anglvel}_{x,y,z}_raw.

Touchscreen rotation

There is a modified mtev driver that supports rotation (via the "Rotation" parameters).

Xinput <= 1.5.4 needs to be installed (>1.5.4 needs a newer xi library). xrandr/xinput values are: normal/3, left/2, inverted/1, right/0.

The UI can then be rotated via xrandr.

Please note that this doesn't support animations. There are also a few issues (half drawn background, some cursor issues).

Personal tools