Hello,

new day, new luck. It seems indeed that my last installation (yesterday) was
broken somehow, today everything worked well --- thanks to Steffen for
fixing install.sh :-)

md5sum install.sh
39119984983268b3e91d098562285170  install.sh

summary:
HOSTNAME=neo \
SD_SWAP_SIZE=512 \
INST_MIRROR=http://192.168.10.1:9999/debian \
FSO_MIRROR=http://pkg-fso.alioth.debian.org/debian \
RDATEHOST=192.168.10.1 \
VERBOSE=1 \
ZHONE=true \
TASKS="GPS,NET,TEXT" \
time ./install.sh  all < /dev/null

completes successfully without any intervention (took 2 hours on slow 
connection).
Please note, that I removed the LOCALEPURGE option, because localepurge needs
manual interaction.


Before rebooting I tweaked the following files (as seen from chroot 
/mnt/debian):
* /usr/bin/zhone
  changed
  -#!/usr/bin/python2.4
  +#!/usr/bin/python
  the installed version is 2.5.
  ==> zhone starts immediately after reboot

* /etc/freesmartphone/oevents/rules.yaml
  disabled the suspend rule when pressing POWER. This way, the menu will
  always be shown, no accidential suspends and
  ==> screen unlocking (press AUX short, then press POWER short) will
      indeed work!

* /etc/frameworkd.conf
  disabled the automatic screen lock.
  -idle_prelock = 12
  -lock = 2
  +idle_prelock = 0
  +lock = 0
  to avoid locking for now. I can still get the lock via the lock icon.

* /root/.panel-pluginrc
  added "usb" and "battery"

* /usr/share/pyshared/framework/subsystems/ogpsd/ubx.py
  corrected 2 entries in the ephemeris table according to
  
http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=5271e445b327c2132eee6a1f43fcf58c37c67e00

Reboot.

Debian boots, zhone starts up, touch screen works, PIN entry works.
I did not make calls yet.

The trayer bar is now at the bottom of the screen. So trayer is back
in a different screen location.

Pressing AUX produces a matchbox-keyboard.
Pressing AUX again produces another:
Workaround:
start "config" from the trayer icon
> Buttons
[X] Handle AUX button
[X] Handle short press "external"
"exec /usr/bin/matchbox-keyboard"
^^^^^ change the entry to have "exec" up front. Then pressing AUX short will
produce a keyborad, pressing AUX again will remove the existing.

This change shows up in /root/.panel-pluginrc:
handleauxshortexternalcommand = exec /usr/bin/matchbox-keyboard


Please find the above changes as diff output below.

Thanks to everyone for providing various bits and pieces of this
installation report.

Cheers,
Erich

--- test_install.sh ------------------------------------------------------------
#!/bin/sh

file=install.$(date +%Y%m%d).log
> $file
exec > $file 2>&1

set -vx
wget -O install.sh http://pkg-fso.alioth.debian.org/freerunner/install.sh
chmod 0755 install.sh
date
ls -l install.sh
md5sum install.sh
cat /etc/issue
uname -a

HOSTNAME=neo \
SD_SWAP_SIZE=512 \
INST_MIRROR=http://192.168.10.1:9999/debian \
FSO_MIRROR=http://pkg-fso.alioth.debian.org/debian \
RDATEHOST=192.168.10.1 \
VERBOSE=1 \
ZHONE=true \
TASKS="GPS,NET,TEXT" \
time ./install.sh  all < /dev/null
----------------------------------------------------------------------------------
--- diffs 
------------------------------------------------------------------------
r...@om-gta02:/mnt/debian# diff -Naur ./usr/bin/zhone.orig ./usr/bin/zhone
--- ./usr/bin/zhone.orig        Tue Sep 15 17:03:03 2009
+++ ./usr/bin/zhone     Sun Sep 20 18:46:11 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/python
 # -*- coding: utf-8 -*-
 """
 Zen Phone - A Phone UI
r...@om-gta02:/mnt/debian# diff -Naur 
./etc/freesmartphone/oevents/rules.yaml.orig 
./etc/freesmartphone/oevents/rules.yaml
--- ./etc/freesmartphone/oevents/rules.yaml.orig        Mon Jun  8 03:07:32 2009
+++ ./etc/freesmartphone/oevents/rules.yaml     Sun Sep 20 18:52:21 2009
@@ -24,16 +24,16 @@
 -
     trigger: Time(12,29)
     actions: Debug("A Test")
--
-    #
-    # Suspend Handling
-    #
-    trigger: InputEvent()
-    filters:
-             - HasAttr(switch, "POWER")
-             - HasAttr(event, "released")
-             - HasAttr(duration, 0)
-    actions: Suspend()
+#-
+#    #
+#    # Suspend Handling
+#    #
+#    trigger: InputEvent()
+#    filters:
+#             - HasAttr(switch, "POWER")
+#             - HasAttr(event, "released")
+#             - HasAttr(duration, 0)
+#    actions: Suspend()
 -
     #
     # Call -> Audio Scenario Handling
r...@om-gta02:/mnt/debian# diff -Naur ./etc/frameworkd.conf.orig 
./etc/frameworkd.conf
--- ./etc/frameworkd.conf.orig  Sun Sep 20 18:55:42 2009
+++ ./etc/frameworkd.conf       Sun Sep 20 18:56:16 2009
@@ -45,8 +45,8 @@
 # means 'never fall into this state' (except programatically)
 idle = 10
 idle_dim = 20
-idle_prelock = 12
-lock = 2
+idle_prelock = 0
+lock = 0
 suspend = 0

 [odeviced.input]
r...@om-gta02:/mnt/debian# diff -Naur ./root/.panel-pluginrc.orig 
./root/.panel-pluginrc
--- ./root/.panel-pluginrc.orig Sun Sep 20 17:15:18 2009
+++ ./root/.panel-pluginrc      Sun Sep 20 18:58:11 2009
@@ -1,2 +1,2 @@
 [main]
-plugins = buttons, gsm, wifi, gps, keyboard, brightness, screenlock, bluetooth
+plugins = battery, usb, buttons, gsm, wifi, gps, keyboard, brightness, 
screenlock, bluetooth
r...@om-gta02:/mnt/debian# diff -Naur 
./usr/share/pyshared/framework/subsystems/ogpsd/ubx.py.orig 
./usr/share/pyshared/framework
/subsystems/ogpsd/ubx.py
--- ./usr/share/pyshared/framework/subsystems/ogpsd/ubx.py.orig Sun Sep 20 
19:05:17 2009
+++ ./usr/share/pyshared/framework/subsystems/ogpsd/ubx.py      Sun Sep 20 
19:06:41 2009
@@ -165,7 +165,7 @@
     ("RXM-EPH", 104) :
         ["<" + "I"*26, ["SVID", "HOW", "SF1D0", "SF1D1", "SF1D2", "SF1D3", 
"SF1D4",
             "SF1D5", "SF1D6", "SF1D7", "SF2D0", "SF2D1", "SF2D2", "SF2D3", 
"SF2D4",
-            "SF2D5", "SF2D6", "SF1D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", 
"SF3D4", "SF3D5", "SF3D6", "SF3D7"]],
+            "SF2D5", "SF2D6", "SF2D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", 
"SF3D4", "SF3D5", "SF3D6", "SF3D7"]],
     ("INF-ERROR", None) :
         [0, "", [], 1, "c", ["Char"]],
     ("INF-WARNING", None) :
@@ -255,7 +255,7 @@
     ("AID-EPH", 104) :
         ["<" + "I"*26, ["SVID", "HOW", "SF1D0", "SF1D1", "SF1D2", "SF1D3", 
"SF1D4",
             "SF1D5", "SF1D6", "SF1D7", "SF2D0", "SF2D1", "SF2D2", "SF2D3", 
"SF2D4",
-            "SF2D5", "SF2D6", "SF1D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", 
"SF3D4", "SF3D5", "SF3D6", "SF3D7"]]
+            "SF2D5", "SF2D6", "SF2D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", 
"SF3D4", "SF3D5", "SF3D6", "SF3D7"]]
 # TIM - Timekeeping
 }

----------------------------------------------------------------------------------

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to