Stable Hybrid Release

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Sound Control)
m (Address Book)
Line 139: Line 139:
  
 
- it is not possible to import a Vcard file
 
- it is not possible to import a Vcard file
 +
EDIT : It seems to be possible with a script written By Zem:
 +
[http://wiki.openmoko.org/wiki/User:Zem#DBus_Access_Scripts]
  
 
- Incoming call only display phone number (not the name of the calling person)
 
- Incoming call only display phone number (not the name of the calling person)

Revision as of 10:53, 15 January 2009

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

Contents

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.

Install

Installing SHR is very easy. I will explain how to install the testing version of SHR. It is stable enough for a daily use. Stable version will be available soon (Stable announcement), unstable (for the adventurous testers) is also available.

I suppose that you know how to use NeoTool

You need to download two files from here

- the kernel (uImage-om-gta02-latest.bin)

- the root files system (jffs2 file)

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 easear 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 this page

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 availabled in /usr/share/zoneinfo/your-country)

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

opkg install glibc-binary-localedata-fr-fr

(example for France)

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

Changing root password

SHR is shipped without root password (just press enter)

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

passwd

en 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 (i.e on the SD card):

scp file root@192.168.0.202:/media/card/

Now you need to indicate that the FR must use this file for incoming calls. Modify /etc/freesmartphone/opreferences/conf/phone/default.yaml

Sound Control

Up to now, there is no graphical interface to control the sound

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


external link:

http://wiki.openmoko.org/wiki/Neo_1973_audio_subsystem

http://wiki.openmoko.org/wiki/Neo_alsamixer#Settings_Descriptions

http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem


Ringing

You can define a short ringtone, repeated many time, or a long one, repeated 1 time

File: /etc/freesmartphone/opreferences/conf/phone/default.yaml

Parameter: ring-volume # Ring Volume control 0 (mini) to ? maxi) Parameter: ring-length # min time for ringtone. Must be greater than the duration of you ringtone

File: /etc/freesmartphone/opreferences/schema/phone.yaml Parameter: ring-loop # define the number of loop of ringtone to play

Message alert

File: /etc/freesmartphone/opreferences/conf/phone/default.yaml Parameter: message-volume # Ring Volume control 0 (mini) to ? maxi) Parameter: message-length # min time for message alert. Must be greater than the duration of you message alert

File: /etc/freesmartphone/opreferences/schema/phone.yaml Parameter: message-loop # define the number of loop of incoming message music to play

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 EDIT : It seems to be possible with a script written By Zem: [1]

- Incoming call only display phone number (not the name of the calling person)

- it is not possible to send message (SMS) using the name of the receiver. You need to remember his phone number

GPS

GPS is not activated at start up, and it is not possible to activated it using a graphical interface. You need to type:

cd /etc/init.d/
fso-gpsd start



More Information

Visit:

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

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.

Install

Installing SHR is very easy. I will explain how to install the testing version of SHR. It is stable enough for a daily use. Stable version will be available soon (Stable announcement), unstable (for the adventurous testers) is also available.

I suppose that you know how to use NeoTool

You need to download two files from here

- the kernel (uImage-om-gta02-latest.bin)

- the root files system (jffs2 file)

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 easear 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 this page

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 availabled in /usr/share/zoneinfo/your-country)

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

opkg install glibc-binary-localedata-fr-fr

(example for France)

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

Changing root password

SHR is shipped without root password (just press enter)

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

passwd

en 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 (i.e on the SD card):

scp file root@192.168.0.202:/media/card/

Now you need to indicate that the FR must use this file for incoming calls. Modify /etc/freesmartphone/opreferences/conf/phone/default.yaml

Sound Control

Up to now, there is no graphical interface to control the sound

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


external link:

http://wiki.openmoko.org/wiki/Neo_1973_audio_subsystem

http://wiki.openmoko.org/wiki/Neo_alsamixer#Settings_Descriptions

http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem


Ringing

You can define a short ringtone, repeated many time, or a long one, repeated 1 time

File: /etc/freesmartphone/opreferences/conf/phone/default.yaml

Parameter: ring-volume # Ring Volume control 0 (mini) to ? maxi) Parameter: ring-length # min time for ringtone. Must be greater than the duration of you ringtone

File: /etc/freesmartphone/opreferences/schema/phone.yaml Parameter: ring-loop # define the number of loop of ringtone to play

Message alert

File: /etc/freesmartphone/opreferences/conf/phone/default.yaml Parameter: message-volume # Ring Volume control 0 (mini) to ? maxi) Parameter: message-length # min time for message alert. Must be greater than the duration of you message alert

File: /etc/freesmartphone/opreferences/schema/phone.yaml Parameter: message-loop # define the number of loop of incoming message music to play

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 EDIT : It seems to be possible with a script written By Zem: [1]

- Incoming call only display phone number (not the name of the calling person)

- it is not possible to send message (SMS) using the name of the receiver. You need to remember his phone number

GPS

GPS is not activated at start up, and it is not possible to activated it using a graphical interface. You need to type:

cd /etc/init.d/
fso-gpsd start



More Information

Visit: