Asleep from Day

August 29, 2008

Using Neo Free Runner as Daily Phone

Filed under: Openmoko — John @ 5:54 pm

NOTE: The illume info is outdated now. Just opkg install illume-theme-illume and modify /etc/enlightenment/default-profile to get the wrench and qwerty buttons.

I used the Om2008.8-update as the base image, then modify it for daily usage.

First of all I would like to use the illume default keyboard instead of the qtopia one because it gets a full-qwerty layout and it’s more suitable for terminal application. It also gives me access to illume configuration besides of the default ‘Settings’ application, which is not enough for advance usage. To do this, you need to switch to the testing repository.

  • backup the original /etc/opkg directory. cp -r /etc/opkg /etc/opkg.orig
  • replace all urls under /etc/opkg to the testing repository

Then remove all the illume related packages and install the new ones.

  • opkg list_installed | grep illume | awk ‘{print $1}’ | xargs opkg -force-depends remove
  • opkg update; opkg install illume-theme-asu; opkg install illume
  • opkg list_installed | grep libe | grep cvs | awk ‘{print $1}’ | xargs opkg install

Now delete the old configs and switch to the illume default profile.

  • rm -rf ~/.e
  • replace ‘asu’ by ‘illume’ in /etc/enlightenment/default_profile

Prevent the qtopia keyboard from showing up:

  • Add “export QTOPIA_NO_VIRTUAL_KEYBOARD=1″ into /etc/X11/Xsession.d/89qtopia

The second thing I did is to lower the volume of gsm handset. The original setting is so loud that everyone around me can hear the caller talking.

  • (call someone)
  • run alsamixer
  • scroll to the right end, lower the “Speaker” volume. You can do this while talking to test the value.
  • alsactl store -f /usr/share/openmoko/scenarios/gsmhandset.state
  • (hang up)

I also need Chinese font so I can read the sms messages.

  • (on host) scp <chinese_font.ttf> root@192.168.0.202:
  • mv ~/<chinese_font.ttf> /usr/share/fonts/truetype
  • vi /opt/Qtopia/etc/default/Trolltech/qpe.conf , find [Font], change FontFamily[] to the name of the ttf. (not the filename)

Change back to the default om2008.8 repository.

  • mv /etc/opkg /etc/opkg.testing
  • mv /etc/opkg.orig /etc/opkg

Reboot.

5 Comments »

  1. when you are doing step 4, you should also remove these packages and update them from testing-repository.

    Save them in a list, ex: /tmp/list

    #Remove them
    cat /tmp/list |xargs opkg -force-depends remove

    # Make sure you set the repository to Testing
    cat /tmp/list |xargs opkg install

    libecore-con
    libecore-evas
    libecore-fb
    libecore-file
    libecore-imf
    libecore-imf-evas
    libecore-ipc
    libecore-job
    libecore-txt
    libecore-x
    libecore0
    libedbus0
    libedje0
    libeet1
    libefreet-mime0
    libefreet0
    libehal0
    libelf0
    libembryo0
    libetk-engines-evas
    libetk-engines-fb
    libetk-engines-software-x11
    libetk-engines-software-x11-16
    libetk-engines-x11
    libetk-themes
    libetk1
    libevas-engine-buffer
    libevas-engine-fb
    libevas-engine-software-16
    libevas-engine-software-16-x11
    libevas-engine-software-generic
    libevas-engine-software-x11
    libevas-engine-xrender-x11
    libevas-loader-eet
    libevas-loader-jpeg
    libevas-loader-png

    Comment by Julian — August 29, 2008 @ 7:38 pm

  2. Thanks, Julian. Article updated as well.

    Comment by john — August 29, 2008 @ 8:03 pm

  3. by the way, if you are too lazy. Use the command to change your repository

    # Om2008.8 -> testing
    $ sed -i -e s,Om2008.8,testing, /etc/opkg/*.conf

    Comment by Julian — August 29, 2008 @ 8:42 pm

  4. [...] [ Using Neo Free Runner as Daily Phone],並照此修改。我試著用中文列出一點 [...]

    Pingback by 只放拖鞋的鞋櫃 » [Neo] Daily Phone — August 31, 2008 @ 1:38 am

  5. The biggest problem now is the caller echo. Let’s see if the echo suppression works.

    Comment by john — September 3, 2008 @ 2:46 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.