User:Christz

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
(40 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
== Notes ==
 +
 +
* Restart the X Server and Qtopia with the following command:
 +
 +
/etc/init.d/xserver-nodm restart
 +
 +
* [http://lists.openmoko.org/mailman/listinfo/ Openmoko Mailing Lists]
 +
 +
* [http://wiki.openmoko.org/wiki/Development_resources#Mailing_Lists Openmoko Mailing List on Gmane]
 +
 +
* Status of my configuration efforts concerning remote X11 (for infos on how to configure read [http://wiki.openmoko.org/wiki/USB_Networking#GUI_on_desktop_through_SSH here] and in my personal wiki):
 +
** SSH X11 forwarding of applications running on the freerunner does work.
 +
** SSH X11 forwarding of applications running inside the debian chroot on the freerunner '''does not''' work at the moment.
 +
** Remote X11 access of applications running on the freerunner does work at the moment.
 +
** Remote X11 access of applications running inside the debian chroot on the freerunner does work at the moment.
 +
 +
* The font size of Qt applications can be changed using the program <tt>qtconfig</tt>. A font size of 4 fits nice on the screen. Debian package <tt>qt4-qtconfig</tt>.
 +
 +
* The font size of KDE 3 applications can be changed using the program <tt>kcontrol</tt>. A font size of 4 fits nice on the screen. Debian package <tt>kcontrol</tt>.
 +
 +
== Paritions on my SD-card ==
 +
 +
* Stop qpe so that any currently mounted partitions on the SD-card can be safely unmounted:
 +
 +
~# /etc/init.d/xserver-nodm stop
 +
 +
* Then create this paritions:
 +
 +
<pre>
 +
~# fdisk -l /dev/mmcblk0
 +
 +
Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
 +
4 heads, 16 sectors/track, 243200 cylinders
 +
Units = cylinders of 64 * 512 = 32768 bytes
 +
 +
        Device Boot      Start        End      Blocks  Id System
 +
# (ca. 50MiB, boot paritition, reserved for future use)
 +
/dev/mmcblk0p1              1        1527      48856  83 Linux
 +
# (ca. 500 Mib, swap parition)       
 +
/dev/mmcblk0p2            1528      17153      500032  82 Linux
 +
# (ca. 7050 Mib, data parition)
 +
/dev/mmcblk0p3          17154      243200    7233504  83 Linux
 +
root@om-gta02:~#
 +
</pre>
 +
 +
[http://www.linuxforums.org/forum/misc/5654-linux-disk-block-size-help-please.html#post33266 This] thread describes how to interpret the fdisk output.
 +
 +
* Create the swap parition:
 +
 +
~# mkswap /dev/mmcblk0p2
 +
 +
Edit the <tt>/etc/fstab</tt>:
 +
 +
<pre>
 +
/dev/mtdblock6  /              jffs2  rw,noatime      1  1
 +
proc            /proc          proc    defaults        0  0
 +
 +
# microSD slot
 +
 +
# boot parition (for future use)
 +
/dev/mmcblk0p1  /media/mmcblk0p1        auto    defaults,async,noatime  0  0
 +
# swap parition
 +
/dev/mmcblk0p2  none                    swap    sw      0  0
 +
# data parition
 +
/dev/mmcblk0p3  /media/card            auto    defaults,async,noatime  0  0
 +
</pre>
 +
 +
* Create the folder <tt>/media/mmcblk0p1</tt>.
 +
 +
* Activate the swap parition by rebooting or executing:
 +
 +
~# swapon /dev/mmcblk0p2
 +
 +
== Debian chroot ==
 +
 +
* No virtual keyboard gets invoked automatically!
 +
 +
* Follow [http://wiki.openmoko.org/wiki/Manual_Debian#Chroot_installation this] instructions. Console and X applications run inside the debian chroot. Most programs load without too much delay. Exceptions are e.g treeline.
 +
 +
== ToDos ==
 +
 +
* <s>Try to get to work the matchbox keyboard in Om 2008.12.</s> Results: The matchbox keyboard is of no use, because I have not found a way to bring it up manually. The Illume keyboard allows this (though the "qwerty" button) and also is far more finger-friendly.
 +
 +
* WLAN
 +
** Make sure that when stopping Wifi the device is also diabled to save energy.
 +
 +
* VoIP
 +
** [http://lists.openmoko.org/nabble.html#nabble-td1099599 hint]
 +
 +
* <s>notecase.</s> Results: There are no binaries available that run on armel '''and''' do not depend on the Hildon application framework (which is used under Maemo). I have even tried the Zautus binaries. So I will have to find another outliner. Treeline seems a good choice.
 +
 +
* Tune Enlightenment. See [http://wiki.openmoko.org/wiki/Keyboard_Toggle#Englightments_segfaults_with_Illume_theme_too_often.3F here] (speed).
 +
 +
* There is no Systray. If an applications places an icon in the systray the icon appears in the middle of the screen. However the Enlightenment task switcher is still functional.
 +
** [http://lists.openmoko.org/nabble.html#nabble-td2397416 hint]
 +
 
== Om 2008.12 ==
 
== Om 2008.12 ==
  
Line 7: Line 103:
 
* [http://www.opkg.org/package_114.html wicd] (v1.5.6) does not seem to work.
 
* [http://www.opkg.org/package_114.html wicd] (v1.5.6) does not seem to work.
 
* [http://www.opkg.org/package_11.html Mofi] (v0.02) does not seem to work.
 
* [http://www.opkg.org/package_11.html Mofi] (v0.02) does not seem to work.
* Machbox keyboard: Does not work using the following instructions: [http://wiki.openmoko.org/wiki/Keyboard_Debate#How_to_install_the_matchbox_keyboard_.3F 1] and [http://wiki.openmoko.org/wiki/Keyboard_Debate#How_to_turn_off_the_Qtopia_keyboard_.3F 2].
+
* Matchbox keyboard: Works using the following instructions: [http://wiki.openmoko.org/wiki/Keyboard_Debate#How_to_install_the_matchbox_keyboard_.3F 1] and [http://wiki.openmoko.org/wiki/Keyboard_Debate#How_to_turn_off_the_Qtopia_keyboard_.3F 2]. The Qtopia keyboard has to be disabled because it overrules any other keyboards. Matchbox starts one matchbox process in daemon mode (<tt>matchbox-keyboard -d</tt>). However, a second <tt>matchbox-keyboard</tt> process has to be started before the keyboard operates correctly. The second process kann be after it has been started once. '''Therefore a keyboard that can be toggled on on off manually is required for my purposes.''' E.g. the Illume keyboard.
 +
 
 +
=== Notecase ===
 +
 
 +
* Required dependencies:
 +
** gnome-vfs
 +
 
 +
* There are no packages available that do not depend on Hildon and have the correct architecture.
 +
 
 +
=== TreeLine ===
 +
 
 +
* Qt is available on Om 2008.12 ([http://wiki.openmoko.org/wiki/Developing_with_C%2B%2B_and_Qt#Developing_for_2008.x info]).
  
 
=== Issues ===
 
=== Issues ===
  
* Contacts can not be searched through.
 
  
 
=== Customizations ===
 
=== Customizations ===
  
 
* Use the Illume keyboard instead of the Qtopia one. Look [http://www.teaparty.net/technotes/openmoko-3.html here] for instructions.  
 
* Use the Illume keyboard instead of the Qtopia one. Look [http://www.teaparty.net/technotes/openmoko-3.html here] for instructions.  
 +
 +
* Enable the search bar in the contacts application ([http://www.teaparty.net/technotes/openmoko-2.html#Contacts instructions]).
 +
 +
* Configure Wifi ([http://www.teaparty.net/technotes/openmoko-2.html#Wifi instructions]). '''Note: The SSH server only listens on the USB interface per default. Read [http://wiki.openmoko.org/wiki/Neo_FreeRunner_Wifi#ssh_into_FR_over_WiFi here] how to change this.
 +
 +
* Add two desktop icons. One for starting and another one for stopping Wifi. Read on [http://www.teaparty.net/technotes/openmoko-2.html#A-new-desktop-app here]. Qtopia had to be restarted for one of the icons to show up. The <tt>.desktop</tt> files can be grouped in folder in the file system. On the desktop there is only a flat hierachy.
 +
 +
* Use the Illume theme. Apply all the tweaks regarding Illume mentioned [http://wiki.openmoko.org/wiki/Keyboard_Toggle#Englightments_segfaults_with_Illume_theme_too_often.3F here]
  
 
=== Additional Software ===
 
=== Additional Software ===
  
 
* qtopia-phone-x11-datebook (in official repo): Calendaring application.
 
* qtopia-phone-x11-datebook (in official repo): Calendaring application.
 +
 
* vala-terminal ([http://wiki.openmoko.org/wiki/Vala-terminal Homepage]): Terminal.
 
* vala-terminal ([http://wiki.openmoko.org/wiki/Vala-terminal Homepage]): Terminal.
 +
 
* ttf-liberation-mono (in official repo): Required for vala-terminal. You have to reboot in order for the font to be used.
 
* ttf-liberation-mono (in official repo): Required for vala-terminal. You have to reboot in order for the font to be used.
 +
 +
* midori (in official repo): Webbrowser.
 +
 +
 +
* Install Pidgin (in official repo): Instant messenger. See [http://wiki.openmoko.org/wiki/Pidgin here]. '''Note: There is no desktop icon in the package. So install a custom one. The pidgin package also misses the required dependency pidgin-data. You need to install this manually.'''
  
 
==== Calendars ====
 
==== Calendars ====
Line 39: Line 160:
  
 
'''Note:''' You can reset the PIM data if you delete the <tt>~/Applications/Qtopia/qtopia_db.sqlite</tt> file. But if you do so you have to restart Qtopia for the changes to take effect (process <tt>qpe</tt>). If you modify the database the changes take effect immediately.
 
'''Note:''' You can reset the PIM data if you delete the <tt>~/Applications/Qtopia/qtopia_db.sqlite</tt> file. But if you do so you have to restart Qtopia for the changes to take effect (process <tt>qpe</tt>). If you modify the database the changes take effect immediately.
 +
 +
== fyp 3.01 ==
 +
 +
* Although a fully functional window manager is included the windows can not be moved and resized arbitrary.
 +
* Very buggy and slow at the moment.
 +
 +
== Android (Beta 7) ==
 +
 +
* Voice calls have a good audio quality on both sides.
 +
* I have found no way to change the volume for voice calls.

Latest revision as of 22:44, 5 July 2009

Contents

[edit] Notes

  • Restart the X Server and Qtopia with the following command:
/etc/init.d/xserver-nodm restart
  • Status of my configuration efforts concerning remote X11 (for infos on how to configure read here and in my personal wiki):
    • SSH X11 forwarding of applications running on the freerunner does work.
    • SSH X11 forwarding of applications running inside the debian chroot on the freerunner does not work at the moment.
    • Remote X11 access of applications running on the freerunner does work at the moment.
    • Remote X11 access of applications running inside the debian chroot on the freerunner does work at the moment.
  • The font size of Qt applications can be changed using the program qtconfig. A font size of 4 fits nice on the screen. Debian package qt4-qtconfig.
  • The font size of KDE 3 applications can be changed using the program kcontrol. A font size of 4 fits nice on the screen. Debian package kcontrol.

[edit] Paritions on my SD-card

  • Stop qpe so that any currently mounted partitions on the SD-card can be safely unmounted:
~# /etc/init.d/xserver-nodm stop
  • Then create this paritions:
~# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
4 heads, 16 sectors/track, 243200 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
# (ca. 50MiB, boot paritition, reserved for future use)
/dev/mmcblk0p1               1        1527       48856  83 Linux
# (ca. 500 Mib, swap parition)        
/dev/mmcblk0p2            1528       17153      500032  82 Linux
# (ca. 7050 Mib, data parition)
/dev/mmcblk0p3           17154      243200     7233504  83 Linux
root@om-gta02:~#

This thread describes how to interpret the fdisk output.

  • Create the swap parition:
~# mkswap /dev/mmcblk0p2

Edit the /etc/fstab:

/dev/mtdblock6  /               jffs2   rw,noatime      1  1
proc            /proc           proc    defaults        0  0

# microSD slot

# boot parition (for future use)
/dev/mmcblk0p1  /media/mmcblk0p1        auto    defaults,async,noatime  0  0
# swap parition
/dev/mmcblk0p2  none                    swap    sw      0  0
# data parition
/dev/mmcblk0p3  /media/card             auto    defaults,async,noatime  0  0
  • Create the folder /media/mmcblk0p1.
  • Activate the swap parition by rebooting or executing:
~# swapon /dev/mmcblk0p2

[edit] Debian chroot

  • No virtual keyboard gets invoked automatically!
  • Follow this instructions. Console and X applications run inside the debian chroot. Most programs load without too much delay. Exceptions are e.g treeline.

[edit] ToDos

  • Try to get to work the matchbox keyboard in Om 2008.12. Results: The matchbox keyboard is of no use, because I have not found a way to bring it up manually. The Illume keyboard allows this (though the "qwerty" button) and also is far more finger-friendly.
  • WLAN
    • Make sure that when stopping Wifi the device is also diabled to save energy.
  • notecase. Results: There are no binaries available that run on armel and do not depend on the Hildon application framework (which is used under Maemo). I have even tried the Zautus binaries. So I will have to find another outliner. Treeline seems a good choice.
  • Tune Enlightenment. See here (speed).
  • There is no Systray. If an applications places an icon in the systray the icon appears in the middle of the screen. However the Enlightenment task switcher is still functional.

[edit] Om 2008.12

  • Don't forget to set a root password!

[edit] Not working software

  • wicd (v1.5.6) does not seem to work.
  • Mofi (v0.02) does not seem to work.
  • Matchbox keyboard: Works using the following instructions: 1 and 2. The Qtopia keyboard has to be disabled because it overrules any other keyboards. Matchbox starts one matchbox process in daemon mode (matchbox-keyboard -d). However, a second matchbox-keyboard process has to be started before the keyboard operates correctly. The second process kann be after it has been started once. Therefore a keyboard that can be toggled on on off manually is required for my purposes. E.g. the Illume keyboard.

[edit] Notecase

  • Required dependencies:
    • gnome-vfs
  • There are no packages available that do not depend on Hildon and have the correct architecture.

[edit] TreeLine

  • Qt is available on Om 2008.12 (info).

[edit] Issues

[edit] Customizations

  • Use the Illume keyboard instead of the Qtopia one. Look here for instructions.
  • Enable the search bar in the contacts application (instructions).
  • Configure Wifi (instructions). Note: The SSH server only listens on the USB interface per default. Read here how to change this.
  • Add two desktop icons. One for starting and another one for stopping Wifi. Read on here. Qtopia had to be restarted for one of the icons to show up. The .desktop files can be grouped in folder in the file system. On the desktop there is only a flat hierachy.
  • Use the Illume theme. Apply all the tweaks regarding Illume mentioned here

[edit] Additional Software

  • qtopia-phone-x11-datebook (in official repo): Calendaring application.
  • ttf-liberation-mono (in official repo): Required for vala-terminal. You have to reboot in order for the font to be used.
  • midori (in official repo): Webbrowser.


  • Install Pidgin (in official repo): Instant messenger. See here. Note: There is no desktop icon in the package. So install a custom one. The pidgin package also misses the required dependency pidgin-data. You need to install this manually.

[edit] Calendars

The Openmoko calendar is still available in the repository (openmoko-dates2 - 0.1.0+svnr703-r2.03 - Legacy Om calendar application.). But the prefered calendar is the Qtopia Calendar (qtopia-phone-x11-datebook - 1:4.3.2+gitr476+ba3f443faec4cefcd3805158eef70921ed39f3de-r51 - Qtopia application for organizing dates and schedules.)

[edit] Import

The Qtopia calendar supports the import of iCalendar files. The following character encodings have be confirmed to work:

  • ASCII
  • latin1

Files encoded in UTF8 are not supported (non-ASCII characters get mangled on import). To change the character encoding use the following command:

$ iconv -c -f utf8 -t latin1 calendar-utf8.vcf > calendar-latin1.vcf

Note: You can reset the PIM data if you delete the ~/Applications/Qtopia/qtopia_db.sqlite file. But if you do so you have to restart Qtopia for the changes to take effect (process qpe). If you modify the database the changes take effect immediately.

[edit] fyp 3.01

  • Although a fully functional window manager is included the windows can not be moved and resized arbitrary.
  • Very buggy and slow at the moment.

[edit] Android (Beta 7)

  • Voice calls have a good audio quality on both sides.
  • I have found no way to change the volume for voice calls.
Personal tools

Om 2008.12

  • Don't forget to set a root password!

Not working software

  • wicd (v1.5.6) does not seem to work.
  • Mofi (v0.02) does not seem to work.
  • Machbox keyboard: Does not work using the following instructions: 1 and 2.

Issues

  • Contacts can not be searched through.

Customizations

  • Use the Illume keyboard instead of the Qtopia one. Look here for instructions.

Additional Software

  • qtopia-phone-x11-datebook (in official repo): Calendaring application.
  • vala-terminal (Homepage): Terminal.
  • ttf-liberation-mono (in official repo): Required for vala-terminal. You have to reboot in order for the font to be used.

Calendars

The Openmoko calendar is still available in the repository (openmoko-dates2 - 0.1.0+svnr703-r2.03 - Legacy Om calendar application.). But the prefered calendar is the Qtopia Calendar (qtopia-phone-x11-datebook - 1:4.3.2+gitr476+ba3f443faec4cefcd3805158eef70921ed39f3de-r51 - Qtopia application for organizing dates and schedules.)

Import

The Qtopia calendar supports the import of iCalendar files. The following character encodings have be confirmed to work:

  • ASCII
  • latin1

Files encoded in UTF8 are not supported (non-ASCII characters get mangled on import). To change the character encoding use the following command:

$ iconv -c -f utf8 -t latin1 calendar-utf8.vcf > calendar-latin1.vcf

Note: You can reset the PIM data if you delete the ~/Applications/Qtopia/qtopia_db.sqlite file. But if you do so you have to restart Qtopia for the changes to take effect (process qpe). If you modify the database the changes take effect immediately.