| Version 15 (modified by GNUtoo, 4 years ago) (diff) |
|---|
Tweaks
Make your GSM more reliable
Under some unknown circumstances you may suffer from the famous #1024 Bug. It makes the GSM chip oscillating between registered and not registered about every minute, if GSM deep sleep is enabled. There's a workaround which disables deep sleep:
Add the following to the ogsmd section of /etc/frameworkd.conf file:
ti_calypso_deep_sleep = never
This fix is deployed by default on SHR.
fix your echo problem
this is an unofficial patch, but if you have this problem and you'd like to use your FR as a phone ;) try to apply this: http://lists.openmoko.org/nabble.html#nabble-td1486414|a1518726
Allowing ssh acces over wlan
Initially the SHR image is configured to allow ssh acces only over USB networking, not using WLAN.
This behaviour can be changed by editing the file /etc/default/dropbear that determines at which IP address the ssh daemon ("dropbear") does listen:
Replace the line
DROPBEAR_PORT=`ip addr list usb0 | awk 'BEGIN { FS="[ /]+" } /inet / { print $3 }'`:22
(ssh works only over USB) by the line {{ DROPBEAR_PORT=ip addr list eth0 | awk 'BEGIN { FS="[ /]+" } /inet / { print $3 }':22 }}} Now ssh works only over wifi, instead. If there is a way to make them both work at the same time I don't know.
no gps found error
After updating my phone to the shr-testing image from 12/26/2008 the gps ceased to work. This is due to the fact, that the gps daemon is for some reason at all no more started automatically. I expect the reason to go away sooner or later, but until then the gps problem can be temporarily fixed by starting the gps daemon manually:
fso-gpsd
What I don't know if my fix hinders the gps from powering down as long as it is not needed.
Since starting programs from the console isn't as comfortable as it ought to be I created a rather simple quick-starter for fso-gpsd:
Just crate a file named /usr/share/applications/gpsd.desktop and fill it with the following lines:
[Desktop Entry] Encoding=UTF-8 Name=gpsd Comment=GPS Navigation Exec=fso-gpsd Icon=navit.png Terminal=false Type=Application Categories=GTK;Applications MimeType=text/x-vcard; StartupNotify=true
navigation using navit
Installation
navit itselves is easily installed:
opkg install navit
A launcher icon for navit
If you want to be able to start navit from the terminal edit /usr/share/applications/navit.desktop and replace the following line:
Categories=GTK;
by this one:
Categories=GTK;Applications;
Making navit actually start up
It has currently to be started from console, - but does not fire up even if some cards are installed because it cannot load the modules for GPS, card reading and speach.
This can be fixed by editing /usr/share/navit/navit.xml, and replacing the following section:
<plugins>
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes" />
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no" />
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no" />
</plugins>
by this one:
<plugins>
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes" />
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so.0" ondemand="yes" />
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no" />
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no" />
</plugins>
Maps
Navigation software is useless without appropriate maps.
For navit there are several options here. See the http://wiki.navit-project.org wiki of the navit project for details.
Save boot time
You can save 20 seconds boot time if you make the font cache persistent.
In /etc/fonts/fonts.conf, change
<cachedir>/var/cache/fontconfig</cachedir>
to
<cachedir>/var/local/fontconfig</cachedir>
This fix is deployed by default on SHR.
Turn of auto-suspend
If you don't want your phone to automatically suspend after some time of inactivity, in /etc/frameworkd.conf set the timeout for suspending in the odeviced.idlenotifier section to 0, which turns it off:
[odeviced.idlenotifier] suspend = 0
Application: FBReader
THIS LINK IS DEAD
FBReader works nice on SHR. To insall it you just have to do
opkg install http://mikeasoft.com/~mike/openmoko/fbreader_0.8.2a-r7+elleopatches_om-gta02.ipk http://mikeasoft.com/~mike/openmoko/enca_1.9-r3_armv4t.ipk
Application: PyPhonelog?
It's a GUI(and a daemon) that can display missed calls,incommin and outgoing calls
http://wiki.openmoko.org/wiki/PyPhonelog
Make your hardware keyboard work under X
just remplace /etc/X11/Xserver by this one:
http://git.openmoko.org/?p=openmoko.git;a=blob_plain;f=packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver;h=a26c5c2d702dd427529f5c67e94058456bc49407
Then you will be annoyed by the dimming,because typing with the keyboard isn't taken into account by the framework, so the next step is to comment this part in /etc/freesmartphone/oevents/rules.yaml
#-
# trigger: IdleState()
# filters: HasAttr(status, "idle_dim")
# actions: SetDisplayBrightness("pcf50633_bl", 20)
#-
# trigger: IdleState()
# filters: HasAttr(status, "idle_prelock")
# actions: SetDisplayBrigh#tness("pcf50633_bl", 0)
Suspend/Shutdown? button
The Suspend/Shutdown? suspends fine but also trigger a power menu...so on resume you have a power menu on the screen, which can be annoying if the resume reason was a phone call. So in order to disable this you need to do the following:
xrandr -o 1 click on the upper bar in order to trigger it go into settings on top-left of the upper-bar click on input click on key binding delete the key that is here and that is called: "Execute" and that is linked to "Delayed Action" click on ok or on apply
A new fix is now deployed by default on SHR: the suspend button doesn't suspend anymore and only brings the menu(that has a suspend button)
