Stable Hybrid Release

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(moving to SHR as the term Stable Hybrid Release is outdated)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages|SHR}}
+
#REDIRECT [[SHR]]
{{Distributions|SHR}}
+
{{SHR}}
+
 
+
[[Image:Shr-tnc01.jpg|right|thumb|300px|Full Image with custom Background]]
+
== Why SHR exists ==
+
The [[Stable Hybrid Release]] (SHR) is intended to be a community driven distribution composed of the [[OpenmokoFramework|FSO]] and some basic applications, that can be configured to use several different graphical toolkits, for example GTK or EFL. SHR is based on the FSO build. At first, SHR was introduced in order to use the [[Openmoko2007.2]] GTK software in combination with the new [[OpenmokoFramework|FSO]], but things have changed.
+
 
+
====Why not just use plain FSO?====
+
[[FSO]] is the initiative by Mickey Lauer and crew to create a good [[D-Bus]] infrastructure which runs on the neos, among other devices.
+
 
+
FSO is by far the most stable & usable release, if all you want is a phone.  (I mean *all*. It just has a dialer, which is a demo application.)
+
 
+
FSO is never intended on its own to be a full image, it's just the infrastructure and a demo app.
+
 
+
Other people are supposed to put a front end on FSO. So that's what we're doing.
+
 
+
==Feature overview==
+
 
+
In the overview below are all the essential features and their status for the current '''out of the box''' SHR unstable distribution (latest+[http://en.wikipedia.org/wiki/Module_(Linux) modules]+updates). Green indicates that this part is functioning well, red indicates a known requirement which will be implemented later on and orange indicates functionality that can (and should) be fixed easily in the distribution for known fixes are available.
+
 
+
{| cellspacing="0" class="sortable wikitable" border="1" style="font-size: 85%; text-align: left; width: auto;"
+
|-
+
! Category
+
! Name
+
! Functionality
+
! Comments
+
|-
+
| System
+
| Power Management
+
| style="background:#88FF88;"| Suspend
+
| when slow, use [[Qi]]
+
|-
+
| System
+
| Package manager
+
| style="background:#88FF88;"| Installing and upgrading packages
+
| style="background:#88FF88;"| Works well. For packages not in the reposotory, just ask for them to be added via the trac
+
|-
+
| System
+
| Keyboard
+
| style="background:#FFDD88;"| Offer stylus and finger friendly keyboards
+
| style="background:#FFDD88;"| install alternative keyboards [http://trac.shr-project.org/trac/ticket/200 SHR ticket #200]
+
|-
+
| GSM
+
| Network
+
| style="background:#88FF88;"| Connect via SIM and PIN
+
|
+
|-
+
| GSM
+
| Network
+
| style="background:#FF8888;"| Flight mode
+
| style="background:#FF8888;"| [http://trac.shr-project.org/trac/ticket/333 SHR ticket #333]
+
|-
+
| GSM
+
| Dailer
+
| style="background:#88FF88;"| Receiving Call
+
| too big delay between selecting answer and stopping ring tone
+
|-
+
| GSM
+
| Dailer
+
| style="background:#88FF88;"| Making Call
+
|
+
|-
+
| GSM
+
| Phone Log
+
| style="background:#88FF88;"| Overview Log (In, Out, Answered, All)
+
| style="background:#FF8888;"| should be in SHR Illume theme and is very slow in startup
+
|-
+
| GSM
+
| Phone Log
+
| style="background:#FFDD88;"| Display Missed Calls
+
| style="background:#FFDD88;"| user has to install 'notifier'
+
|-
+
| GSM
+
| Phone Log
+
| style="background:#88FF88;"| Making reply Call from Log
+
|
+
|-
+
| GSM
+
| Phone Log
+
| style="background:#FF8888;"| Sending reply SMS from Log
+
|
+
|-
+
| Shared
+
| Phone Log
+
| style="background:#FF8888;"| Creating new SIM contact from Log
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Receiving SMS
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| SIM phonebook lookup for SMS
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Display time and date for SMS
+
| style="background:#FF8888;"| On some SIMs the displayed time and date is the beginning of the epoch
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Selecting SMS from Overview
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Viewing SMS
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Sending new SMS
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Sending reply SMS
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Making reply Call
+
|
+
|-
+
| GSM
+
| SMS
+
| style="background:#88FF88;"| Deleting SMS
+
|
+
|-
+
| GSM
+
| GPRS
+
| style="background:#88FF88;"| Configuring and Enabling GPRS
+
| style="background:#88FF88;"| Settings->Connectivity: GPRS connect
+
|-
+
| Shared
+
| Contacts
+
| style="background:#88FF88;"| Reading SIM contacts
+
|
+
|-
+
| Shared
+
| Contacts
+
| style="background:#88FF88;"| Selecting SIM contact from Overview
+
|
+
|-
+
| Shared
+
| Contacts
+
| style="background:#88FF88;"| Creating new SIM contact
+
|
+
|-
+
| Shared
+
| Contacts
+
| style="background:#88FF88;"| Editing SIM contact
+
|
+
|-
+
| Shared
+
| Contacts
+
| style="background:#88FF88;"| Deleting SIM contact
+
|
+
|-
+
| Shared
+
| Contacts
+
| style="background:#FF8888;"| Quick lookup contact with keyboard
+
|
+
|-
+
| Shared
+
| Contacts
+
| style="background:#88FF88;"| Calling contact
+
|
+
|-
+
| Shared
+
| Contacts
+
| style="background:#88FF88;"| Sending SMS to contact
+
|
+
|-
+
| WiFi
+
| Ethernet
+
| style="background:#88FF88;"| Configuring and Enabling TCP/IP
+
| 1) Settings->Connectivity->WiFi radio=On 2) Mofi. wifiman.py (based on connman, from shr-settings playground git repo) is going to be integrated soon.
+
|-
+
| GPS
+
| Service
+
| style="background:#88FF88;"| Receiving GPS data
+
| automatically turning on
+
|-
+
| USB
+
| Ethernet
+
| style="background:#88FF88;"| Configuring and Enabling TCP/IP
+
| style="background:#FF8888;"| done automatically with insecure password
+
|-
+
| Audio
+
| Headset
+
| style="background:#FF8888;"| Handsfree calling
+
| headphones work, microphone does not work
+
|-
+
|}
+
 
+
== Install ==
+
 
+
Installing SHR is very easy. I will explain how to install the [http://build.shr-project.org/shr-testing/images/om-gta02/ testing] version of SHR for GTA02 (Freerunner). It is stable enough for a daily use. Stable version will be available soon ([http://blog.shr-project.org/ Stable announcement]), [http://build.shr-project.org/shr-unstable/images/om-gta02/?C=M;O=D unstable] (for the adventurous testers) is also available, but read [http://blog.shr-project.org/2009/03/time-for-testing.html this blog announcement] on why this is currently not recommended.
+
 
+
I suppose that you know how to use [http://wiki.openmoko.org/wiki/NeoTool NeoTool]
+
 
+
- the [[Qi]] bootloader (optional, u-boot should work as well)
+
 
+
- the [http://build.shr-project.org/shr-testing/images/om-gta02/uImage-om-gta02-latest.bin kernel]
+
 
+
- the root filesystem ([http://build.shr-project.org/shr-testing/images/om-gta02/shr-lite-image-om-gta02.jffs2 flash image] or [http://build.shr-project.org/shr-testing/images/om-gta02/shr-lite-image-om-gta02.tar.gz tarball])
+
 
+
You can view the sources [http://git.shr-project.org/git/ here].
+
 
+
== Connecting your FreeRunner to your computer ==
+
For the next configuration steps, you will need to type some commands. It is much easier to type on a real keyboard than on a touch screen.
+
So you need to connect your FR to you computer, and make a bridge to internet.
+
Use the [[USB Networking]] page for help about configuring your host computer.
+
NOTE: On first boot after flashing, USB networking can not work. If it's happening, simply reboot and try again.
+
 
+
== Setting local time ==
+
As any linux system, the UTC time is used by the system. First of all, adjust this time:
+
date -u -s 010220052009
+
Fri Jan  2 20:05:00 UTC 2009
+
 
+
Then, you need to "localise" your system.
+
Search for the appropriate country with:
+
opkg list | grep tzdata
+
 
+
then install the one corresponding to your area.
+
opkg install tzdata-europe
+
 
+
Then select your city (search the city available in /usr/share/zoneinfo/your-country, example Paris)
+
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
+
 
+
You can fully localise your system by installing the glibc-binary-localedata correponding to your langage. Search the ones available with:
+
opkg list | grep glibc-binary-localedata
+
 
+
install with (example for France)
+
opkg install glibc-binary-localedata-fr-fr
+
 
+
== Changing root password ==
+
SHR is shipped without root password (just press enter)
+
 
+
This is dangerous if you connect using USB. You need to activate the root password:
+
 
+
passwd
+
 
+
and type your selected password (2 times)
+
 
+
== Customize the RingTone ==
+
You need to have a file containing the RingTone you want for your FR. You can find some at [http://wiki.openmoko.org/wiki/Ringtones#svn.openmoko.org_ringtones RingTone]
+
 
+
Then transfer it to your FR :
+
scp file root@192.168.0.202:/usr/share/sounds/
+
 
+
Now you can select ringtone in SHR Settings.
+
 
+
== Sound Control ==
+
 
+
=== Mic and HP ===
+
The first idea is to use alsamixer; bad idea! There are 94 controls, and your modifications will be lost at the next reboot.Finding documentation is not easy. Here is my understanding:
+
Scenari are used for each case. They are located in /usr/share/openmoko/scenarios/
+
- capturehandset.state 
+
- gsmheadset.state
+
- headset.state       
+
- voip-handset.state
+
- gsmhandset.state
+
- gsmspeakerout.state
+
- stereoout.state
+
 
+
Each file is a set of value for the 94 parameters. I have identified some:
+
 
+
- Control 48: internal mic of the tel (set to 2 or 3)
+
 
+
- Control 4 : internal speaker (set from 110 to 120)
+
 
+
- Control 49: headset mic
+
 
+
- Control 3 : headset speaker
+
 
+
 
+
 
+
Generic info to the Neo soundsystem:
+
 
+
* [[Neo 1973 audio subsystem]]
+
* [[Neo alsamixer#Settings_Descriptions|Neo alsamixer - Settings Descriptions]]
+
* [[Neo Freerunner audio subsystem]]
+
 
+
== Known Issues ==
+
=== Phone ===
+
 
+
GSM network is lost after one day of uptime: restart your FR once a day!
+
 
+
=== Address Book ===
+
 
+
SHR is not implementing a PIM (Personal Information Manager) yet. Work is in progress, but to included in SHR testing this has some consequences on daily use:
+
 
+
* Only contacts on the SIM card are available.
+
 
+
* It is not possible to import a Vcard file.
+
** It seems to be possible with [gopher://gopher.fnordpol.de/9/data/DbusAccessScripts_0.0.0.tar.gz this] script written by [[User:Zem#DBus_Access_Scripts|Zem]].
+
 
+
 
+
 
+
== More Information ==
+
 
+
Visit:
+
* [http://blog.shr-project.org Blog]
+
* [http://trac.shr-project.org Trac (Bugtracker)]
+
* [http://git.shr-project.org Git (Sourcecode-repository)]
+
* [http://build.shr-project.org Buildhost (Downloads)]
+
* [http://shr-project.org/trac/wiki/Tweaks Tweaks (On the Wiki)]
+
* [http://lists.shr-project.org SHR User and Development Mailing Lists]
+
 
+
[[Category:SHR]]
+

Latest revision as of 17:46, 3 July 2009

  1. REDIRECT SHR
Personal tools

SHR is one of the many distributions that currently work on the Openmoko phones. You can compare a distribution with an Operating System on normal computers. It gives the phone all the software needed for operating. For more information about the different flavors, see distributions. Template:SHR

Full Image with custom Background

Why SHR exists

The Stable Hybrid Release (SHR) is intended to be a community driven distribution composed of the FSO and some basic applications, that can be configured to use several different graphical toolkits, for example GTK or EFL. SHR is based on the FSO build. At first, SHR was introduced in order to use the Openmoko2007.2 GTK software in combination with the new FSO, but things have changed.

Why not just use plain FSO?

FSO is the initiative by Mickey Lauer and crew to create a good D-Bus infrastructure which runs on the neos, among other devices.

FSO is by far the most stable & usable release, if all you want is a phone. (I mean *all*. It just has a dialer, which is a demo application.)

FSO is never intended on its own to be a full image, it's just the infrastructure and a demo app.

Other people are supposed to put a front end on FSO. So that's what we're doing.

Feature overview

In the overview below are all the essential features and their status for the current out of the box SHR unstable distribution (latest+modules+updates). Green indicates that this part is functioning well, red indicates a known requirement which will be implemented later on and orange indicates functionality that can (and should) be fixed easily in the distribution for known fixes are available.

Category Name Functionality Comments
System Power Management Suspend when slow, use Qi
System Package manager Installing and upgrading packages Works well. For packages not in the reposotory, just ask for them to be added via the trac
System Keyboard Offer stylus and finger friendly keyboards install alternative keyboards SHR ticket #200
GSM Network Connect via SIM and PIN
GSM Network Flight mode SHR ticket #333
GSM Dailer Receiving Call too big delay between selecting answer and stopping ring tone
GSM Dailer Making Call
GSM Phone Log Overview Log (In, Out, Answered, All) should be in SHR Illume theme and is very slow in startup
GSM Phone Log Display Missed Calls user has to install 'notifier'
GSM Phone Log Making reply Call from Log
GSM Phone Log Sending reply SMS from Log
Shared Phone Log Creating new SIM contact from Log
GSM SMS Receiving SMS
GSM SMS SIM phonebook lookup for SMS
GSM SMS Display time and date for SMS On some SIMs the displayed time and date is the beginning of the epoch
GSM SMS Selecting SMS from Overview
GSM SMS Viewing SMS
GSM SMS Sending new SMS
GSM SMS Sending reply SMS
GSM SMS Making reply Call
GSM SMS Deleting SMS
GSM GPRS Configuring and Enabling GPRS Settings->Connectivity: GPRS connect
Shared Contacts Reading SIM contacts
Shared Contacts Selecting SIM contact from Overview
Shared Contacts Creating new SIM contact
Shared Contacts Editing SIM contact
Shared Contacts Deleting SIM contact
Shared Contacts Quick lookup contact with keyboard
Shared Contacts Calling contact
Shared Contacts Sending SMS to contact
WiFi Ethernet Configuring and Enabling TCP/IP 1) Settings->Connectivity->WiFi radio=On 2) Mofi. wifiman.py (based on connman, from shr-settings playground git repo) is going to be integrated soon.
GPS Service Receiving GPS data automatically turning on
USB Ethernet Configuring and Enabling TCP/IP done automatically with insecure password
Audio Headset Handsfree calling headphones work, microphone does not work

Install

Installing SHR is very easy. I will explain how to install the testing version of SHR for GTA02 (Freerunner). It is stable enough for a daily use. Stable version will be available soon (Stable announcement), unstable (for the adventurous testers) is also available, but read this blog announcement on why this is currently not recommended.

I suppose that you know how to use NeoTool

- the Qi bootloader (optional, u-boot should work as well)

- the kernel

- the root filesystem (flash image or tarball)

You can view the sources here.

Connecting your FreeRunner to your computer

For the next configuration steps, you will need to type some commands. It is much easier to type on a real keyboard than on a touch screen. So you need to connect your FR to you computer, and make a bridge to internet. Use the USB Networking page for help about configuring your host computer. NOTE: On first boot after flashing, USB networking can not work. If it's happening, simply reboot and try again.

Setting local time

As any linux system, the UTC time is used by the system. First of all, adjust this time:

date -u -s 010220052009
Fri Jan  2 20:05:00 UTC 2009

Then, you need to "localise" your system. Search for the appropriate country with:

opkg list | grep tzdata

then install the one corresponding to your area.

opkg install tzdata-europe

Then select your city (search the city available in /usr/share/zoneinfo/your-country, example Paris)

ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime

You can fully localise your system by installing the glibc-binary-localedata correponding to your langage. Search the ones available with:

opkg list | grep glibc-binary-localedata

install with (example for France)

opkg install glibc-binary-localedata-fr-fr

Changing root password

SHR is shipped without root password (just press enter)

This is dangerous if you connect using USB. You need to activate the root password:

passwd

and type your selected password (2 times)

Customize the RingTone

You need to have a file containing the RingTone you want for your FR. You can find some at RingTone

Then transfer it to your FR :

scp file root@192.168.0.202:/usr/share/sounds/

Now you can select ringtone in SHR Settings.

Sound Control

Mic and HP

The first idea is to use alsamixer; bad idea! There are 94 controls, and your modifications will be lost at the next reboot.Finding documentation is not easy. Here is my understanding: Scenari are used for each case. They are located in /usr/share/openmoko/scenarios/ - capturehandset.state - gsmheadset.state - headset.state - voip-handset.state - gsmhandset.state - gsmspeakerout.state - stereoout.state

Each file is a set of value for the 94 parameters. I have identified some:

- Control 48: internal mic of the tel (set to 2 or 3)

- Control 4 : internal speaker (set from 110 to 120)

- Control 49: headset mic

- Control 3 : headset speaker


Generic info to the Neo soundsystem:

Known Issues

Phone

GSM network is lost after one day of uptime: restart your FR once a day!

Address Book

SHR is not implementing a PIM (Personal Information Manager) yet. Work is in progress, but to included in SHR testing this has some consequences on daily use:

  • Only contacts on the SIM card are available.
  • It is not possible to import a Vcard file.
    • It seems to be possible with this script written by Zem.


More Information

Visit: