User:Lindi

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Hardware)
Line 44: Line 44:
  
 
=== programs for reliable GSM calls ===
 
=== programs for reliable GSM calls ===
I do not use whole frameworkd for reliability reasons involved around dbus. (FIXME: add link to bug reports)
+
I do not use whole frameworkd for reliability reasons involved around dbus. NOTE: many programs here are not documented and not really ready to be packaged.
  
 +
Related bug reports: [http://trac.freesmartphone.org/ticket/348 #348], [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796].
 +
 +
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device
 +
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.
 
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso
 
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso
 
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)
 
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)
Line 55: Line 59:
 
=== Useful tools ===
 
=== Useful tools ===
 
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen
 
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen
 +
* FIXME: talk about RTC clock accuracy issues
 +
* FIXME: talk about consumption, energy, current limit, start/stop host mode...
  
 
= Deprecated stuff =
 
= Deprecated stuff =

Revision as of 15:54, 30 July 2009

This page describes how I use my phone. Feel feel to copy these ideas and suggest improvements.

Contents

Hardware

Software

Boot loader

  • Qi 9ef7754b8243457c mostly because it does not touch Glamo and I am trying to help in debugging Glamo problems.
  • mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case

Kernel

Userland

Generally I try to use Debian GNU/Linux unstable with as little software from other sources as possible. I'm quite conservative and try to stick to known-to-work programs (currently unsure about bleeding edge stuff like E17 window manager, vala programming language and Qi).

Also note that I run my X programs as a normal user.

programs from debian main

  • Xorg
  • xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon!)
  • xdm as display manager
  • xvkbd as virtual keyboard
  • icewm as window manager
  • gpsd for talking to GPS
  • watchdog for making sure that I can recover from kernel crash without having to remove battery.

programs for reliable GSM calls

I do not use whole frameworkd for reliability reasons involved around dbus. NOTE: many programs here are not documented and not really ready to be packaged.

Related bug reports: #348, #19796.

  • gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device
  • gsmhandset-lindi.state for configuring ALSA for calls.
  • gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso
  • ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)
  • kapula for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile
  • answering-machine for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.
  • gsm-watchdog for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.
  • a really messy suspend script that tells ogsmd to tell Calypso to be quiet when we are in suspend.

Useful tools

  • touchscreen-lock for locking the screen
  • FIXME: talk about RTC clock accuracy issues
  • FIXME: talk about consumption, energy, current limit, start/stop host mode...

Deprecated stuff

Editing wiki using mvs (BROKEN, NO TIME TO DEBUG)

mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'
emacs User:lindi.wiki
mvs update User:lindi.wiki
mvs commit -m "test commit" User:Lindi.wiki
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki

~/.emacs

(setq load-path (cons "~/.elisp" load-path))

(autoload 'wikipedia-mode "wikipedia-mode.el"
"Major mode for editing documents in Wikipedia markup." t)

(add-to-list 'auto-mode-alist
'("\\.wiki\\'" . wikipedia-mode))

http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el

Personal tools

This page describes how I use my phone. Feel feel to copy these ideas and suggest improvements.

Hardware

Software

Boot loader

  • Qi 9ef7754b8243457c mostly because it does not touch Glamo and I am trying to help in debugging Glamo problems.
  • mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case

Kernel

Userland

Generally I try to use Debian GNU/Linux unstable with as little software from other sources as possible. I'm quite conservative and try to stick to known-to-work programs (currently unsure about bleeding edge stuff like E17 window manager, vala programming language and Qi).

Also note that I run my X programs as a normal user.

programs from debian main

  • Xorg
  • xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon!)
  • xdm as display manager
  • xvkbd as virtual keyboard
  • icewm as window manager
  • gpsd for talking to GPS
  • watchdog for making sure that I can recover from kernel crash without having to remove battery.

programs for reliable GSM calls

I do not use whole frameworkd for reliability reasons involved around dbus. NOTE: many programs here are not documented and not really ready to be packaged.

Related bug reports: #348, #19796.

  • gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device
  • gsmhandset-lindi.state for configuring ALSA for calls.
  • gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso
  • ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)
  • kapula for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile
  • answering-machine for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.
  • gsm-watchdog for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.
  • a really messy suspend script that tells ogsmd to tell Calypso to be quiet when we are in suspend.

Useful tools

  • touchscreen-lock for locking the screen
  • FIXME: talk about RTC clock accuracy issues
  • FIXME: talk about consumption, energy, current limit, start/stop host mode...

Deprecated stuff

Editing wiki using mvs (BROKEN, NO TIME TO DEBUG)

mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'
emacs User:lindi.wiki
mvs update User:lindi.wiki
mvs commit -m "test commit" User:Lindi.wiki
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki

~/.emacs

(setq load-path (cons "~/.elisp" load-path))

(autoload 'wikipedia-mode "wikipedia-mode.el"
"Major mode for editing documents in Wikipedia markup." t)

(add-to-list 'auto-mode-alist
'("\\.wiki\\'" . wikipedia-mode))

http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el