GSM oscillating between registered and not registered aka 1024
This page describes how to enable Calypso GSM modem deep sleep after performing a hardware fix of bug #1024 aka recamping or oscilating of the Calypso GSM modem used in Openmoko Freerunner.
Hardware bug #1024 creates a condition when the gsm modem is oscillating between registrated / not-registrated. This causes the phone to be unavailable at times. Distribution maintainers have been able to use a software setting to disable suspend of the gsm modem in order to work around this bug. The downside is that with this workaround the modem never sleeps and consumer more energy then needed.
If you decide to undergo a hardware fix of your phone you have to reconfigure our distribution to allow the gsm modem to go to sleep again in order to actually make use of the modem sleep function and therefore extend your battery life.
Not every Freerunner suffers this issue. To check if your phone has the bug #1024, please use this script (todo: add link, describe output on good and bad behaviour).
To perform the hardware update, please check description here: http://www.neofundas.blogspot.com/
After the fix, please recheck again with the script as above.
After the fix, you will have to change setting to allow Calypso deep sleep:
FSO based distros (SHR, OM2009...)
Edit /etc/frameworkd.conf , it should contain:
ti_calypso_deep_sleep = always
Then restart farmework or reboot the phone.
QT based distos (Qtopia, QTExtended, QTMoko...)
Edit /opt/qtmoko/etc/default/Trolltech/Modem.conf , it should contain:
Currently Android on Freerunner is hard coded to use AT%SLEEP=2 to avoid deep sleep mode entirely; there i a discussion about providing editable property in Androids init.rc startup file.