Update report

Minh Ha Duong haduong at centre-cired.fr
Tue Aug 26 23:00:22 CEST 2008


Hi,

 I just spend a few hours updating. Here is the report:

1. Downloaded:
* 
http://downloads.openmoko.org/releases/Om2008.8-update/20080826-asu-stable-rootfs.jffs2
* 
http://downloads.openmoko.org/releases/Om2008.8-update/20080826-asu-stable-uImage.bin
* 
http://downloads.openmoko.org/releases/Om2008.8-update/gta02v5_and_up-u-boot.bin

2. Installed the version of dfu-util for my architecture at 
http://wiki.openmoko.org/wiki/Dfu-util
The dfu-util at downloads.openmoko.org/releases/Om2008.8-update/ is an ELF 
64-bit statically linked executable. The 32-bit one is at
http://buildhost.openmoko.org/releases/Freerunner/dfu-util

3. Took a note of what additional packages I had installed:
Launched the installer, tap 'uninstall', and check what's there.

4. Shutdown the Freerunner, then turn it on while holding the AUX button. 
Connect to your host via USB

5. Flashed. I have to sudo the following commands on my host, otherwise I get 
a "Cannot claim the interface" error from dfu-util. Flashing the rootfs takes 
some time:
* dfu-util -a u-boot -R -D gta02v5_and_up-u-boot.bin
* dfu-util -a kernel -R -D 20080826-asu-stable-uImage.bin
* dfu-util -a rootfs -R -D 20080826-asu-stable-rootfs.jffs2

6. Rebooted. No, it's not stuck at 9%, nor at 59%.

7. Hostside, killed the offending line in .ssh/known_host, then basic security
ssh root at nono
passd
adduser haduong
cd /home/haduong
mkdir .ssh
cd .ssh
(hostside) scp .ssh/id_rsa.pub haduong at nono:
mv id_rsa.pub .ssh

8. Timeout, ssh session freeze, black screen, red AUX led, unit not responding 
to Power button (not even click sound). Take off and replace battery. Reboot 
okay. Go to Settings, turn off Suspend

9. ssh nono, add line "nameserver 192.168.0.200" in /etc/resolv.conf
(my host runs dnsmaq, note that wiki instructions says to use opendns)

10.opkg update, opkg upgrade (nothing today), opkg install illume-config

Bug 1828: "packagekitd does not want to die" is still wontfix.
Workaround: "killall packagekitd" adlib.
Bug 1654: the QWERTY does not appear.
Workaround to get the QWERTY:
Edit /etc/enlightenment/default_profile to profile "ASU"
/etc/init.d/xserver-nodm restart
Enjoy E, click on root window, select theme illume-config
Edit /etc/enlightenment/default_profile to profile "illume" back
/etc/init.d/xserver-nodm restart
Bug 1863: the tool icon in the top row do not appear either.
Workaround: I don't know

11. With assassin, 
uninstalled games/pyefl-sudoku
uninstalled communication / om-locations

12. Settings, clock, options, set timezone and time.

13. opkg install openmoko-mediaplayer2 (this pulls in pulseaudio and blocks at
"addgroup: pulse: group already in use")
wget http://abraxa.dyndns.org:81/random/openmoko-mediaplayer-theme.tar.bz2
tar xjf openmoko-mediaplayer-theme.tar.bz2 -C /usr/share/themes/Moko/gtk-2.0
rm openmoko-mediaplayer-theme.tar.bz2
Make playlist by adding songs from /media/card
Note: Can't see the name of the song. Missing Ids in files?
Bug 1749: Sound from only one speaker.
Bug 1599: No sound after a suspend/resume.
Bug ?: Mediaplayer segfaults after relaunching mediaplayer

14. opkg install gpsd tangogps
echo "GPS_DEV=\"/dev/ttySAC1\"" > /etc/default/gpsd
/etc/init.d/gpsd start (Note: restart do not seem to work)
Settings, GPS on.
Get only 2 satellites. Urban canyon ?

15. opkg install openmoko-agpsui
Bug filed #1868 : agpsui icon missing
Get first fix in ~1mn on the balcony.
Now tangogps works.
Bug 1012: UI Tabs in tangogps and agpsui are written black on a black 
background.
See fix in thread:
http://kerneltrap.org/mailarchive/openmoko-community/2008/8/8/2869104
http://kerneltrap.org/mailarchive/openmoko-community/2008/8/12/2904174
http://docs.openmoko.org/trac/ticket/1786
Overwrite:   /usr/share/themes/Moko/gtk-2.0/gtkrc
with attached file

# Moko GTK+ theme
#
# Copyright 2007 OpenedHand Ltd <[EMAIL PROTECTED]>
# Based on OpenedHand's Sato GTK+ Theme
#
# This theme uses several style properties introduced in GTK+ 2.10
#
# black: #333333
# orange: #ff7d00
#

gtk-button-images = 0
gtk-menu-images = 0
gtk-icon-sizes = 
"gtk-button=32,32:gtk-small-toolbar=48,48:gtk-large-toolbar=48,48"

# Set the default gtk-color-scheme property
gtk_color_scheme = 
"fg_color:#000;bg_color:#f4f0f4;base_color:#fff;text_color:#000;selected_bg_color:#ff7d00;selected_fg_color:#000"

style "default"
{

  xthickness = 2
  ythickness = 2

  GtkButton::default_border = {0, 0, 0, 0}
  GtkButton::focus-line-width = 0
  GtkCheckButton::indicator-size = 35
  GtkCheckButton::indicator-spacing = 5
  GtkCheckMenuItem::indicator_size = 18
  GtkEntry::inner_border = {10, 10, 10, 10}
  GtkFrame::shadow_type = GTK_SHADOW_NONE
  GtkPaned::handle-size = 16
  GtkRange::slider-width = 28
  GtkRange::trough_border = 0
  GtkScale::slider-length = 56
  GtkScrollbar::has_backward_stepper = 1
  GtkScrollbar::has_forward_stepper = 1
  GtkScrollbar::has_secondary_backward_stepper = 1
  GtkScrollbar::has_secondary_forward_stepper = 1
  GtkScrollbar::slider_width = 30
  GtkScrollbar::stepper_size = 26
  GtkScrollbar::stepper_spacing = 0
  GtkSpinButton::shadow_type = GTK_SHADOW_NONE
  GtkTreeView::allow_rules = 1
  GtkTreeView::even_row_color = "#fff"
  GtkTreeView::odd_row_color = "#e7e7e7"
  GtkTreeView::vertical_separator = 6
  GtkWidget::focus_line_width = 2
  GtkWidget::focus_padding = 0
  GtkWidget::scroll-arrow-vlength = 48
  GtkWidget::scroll-arrow-hlength = 48

  MokoDialerTextview::large_font = 20
  MokoDialerTextview::medium_font = 15
  MokoDialerTextview::medium_font = 15
  MokoDialerTextview::small_font = 10


  fg [NORMAL] = @fg_color
  fg [PRELIGHT] = @fg_color
  fg [ACTIVE] = @selected_fg_color
  fg [INSENSITIVE] = @fg_color
  fg [SELECTED] = @selected_fg_color

  bg [NORMAL] = @bg_color
  bg [PRELIGHT] = @bg_color
  bg [ACTIVE] = @selected_bg_color
  bg [INSENSITIVE] = lighter (@bg_color)
  bg [SELECTED] = @selected_bg_color

  text [NORMAL] = @text_color
  text [PRELIGHT] = @text_color
  text [SELECTED] = @text_color
  text [ACTIVE] = @text_color

  base [NORMAL] = @base_color
  base [SELECTED] = @selected_bg_color
  base [ACTIVE] = @base_color

  engine "moko-engine" {
    border = TRUE
  }
}

class "GtkWidget" style "default"

style "reversed"
{
  bg[NORMAL] = @fg_color
  fg[NORMAL] = @bg_color

  bg[PRELIGHT] = @fg_color
  fg[PRELIGHT] = @bg_color
}
widget_class "*GtkButton*" style "reversed"

style "button"
{
  GtkButton::inner_border = {1, 1, 1, 1}
  engine "moko-engine" {
    border = TRUE
    gradient = TRUE
  }
}
class "GtkButton" style "button"

style "button-colors" {
  bg[NORMAL] = "#333"
  fg[NORMAL] = "#fff"

  bg[PRELIGHT] = "#333"
  fg[PRELIGHT] = "#fff"
}
widget_class "GtkButton*" style "button-colors"

style "treeview-header" {

  # inner-border was added in GTK+ 2.10
  GtkButton::inner_border = {0, 0, 0, 0}

  bg[NORMAL] = "#eee"
  fg[NORMAL] = "#000"

  bg[PRELIGHT] = "#eee"
  fg[PRELIGHT] = "#000"

  engine "moko-engine" {
    border = FALSE
    gradient = TRUE
  }
}
widget_class "*GtkTreeView.GtkButton*" style "treeview-header"

style "combo" {
  bg[NORMAL] = @selected_bg_color
  text[NORMAL] = @selected_fg_color

  bg[PRELIGHT] = @selected_bg_color
  text[PRELIGHT] = @selected_fg_color

  engine "moko-engine" {
    gradient = TRUE
  }
}
widget_class "*Combo*" style "combo"

style "toolbar"
{
  GtkToolbar::internal_padding = 0
  xthickness = 0
  ythickness = 0

  engine "moko-engine" {
    gradient = TRUE
    border = FALSE
  }
}
class "GtkToolbar" style "toolbar"
class "GtkToolbar" style "reversed"

style "toolitem"
{
  xthickness = 11
  ythickness = 11

  bg[NORMAL] = @selected_bg_color
  fg[NORMAL] = @selected_fg_color

  # toolbar colours are reversed
  bg[PRELIGHT] = @fg_color
  fg[PRELIGHT] = @bg_color

  engine "moko-engine" {
    gradient = TRUE
    border = FALSE
  }
}
widget_class "*Tool*GtkToggleButton" style "toolitem"
widget_class "*Tool*GtkButton" style "toolitem"

style "notebook"
{
  xthickness = 0
  ythickness = 0

  # For notebookes, NORMAL is used for the active tab and ACTIVE is used for
  # ther other tabs
  bg[NORMAL] = @selected_bg_color
  fg[NORMAL] = @selected_fg_color

  # inactive tabs are in "reversed" colours
  fg[ACTIVE] = @fg_color
  bg[ACTIVE] = @bg_color
}
class "GtkNotebook" style "notebook"

style "menu"
{
  engine "moko-engine" {
    gradient = FALSE
    border = TRUE
  }
}
class "GtkMenu" style "menu"

style "menubar"
{
  engine "moko-engine" {
    gradient = TRUE
  }
}
class "GtkMenuBar" style "menubar"
widget_class "*GtkMenuBar*" style "reversed"

style "menuitem"
{
  xthickness = 8
  ythickness = 8

  bg[PRELIGHT] = @selected_bg_color
  fg[PRELIGHT] = @selected_fg_color

  engine "moko-engine" {
    gradient = TRUE
    border = FALSE
  }
}
widget_class "*MenuItem*" style "menuitem"

style "scrollbar"
{
  bg[NORMAL] = @selected_bg_color
  bg[PRELIGHT] = @selected_bg_color

  engine "moko-engine" {
    border = TRUE
  }
}
class "GtkScrollbar" style "scrollbar"

include "matchboxpanel"
include "openmoko-calculator"
include "openmoko-contacts"
include "openmoko-dialer"
include "openmoko-panel-plugins"

-- 
Minh HA-DUONG                                    Chargé de recherche CNRS
haduong at centre-cired.fr                  CIRED, Campus du Jardin Tropical
tel: +33 1 43 94 73 81                   45bis ave. de la Belle Gabrielle
fax: +33 1 43 94 73 70                    F94736 Nogent-sur-Marne, France
Jabber: minh.haduong at gmail.com
http://minh.haduong.com (work), http://minh69.blogspot.com (personal)




More information about the community mailing list