Comment 4 for bug 1188404

Revision history for this message
Tony Espy (awe) wrote :

@Sergio

Here's a test version of ofono with improved logging.

First, can you re-run your scenario both with, and without the "-d" switch with the roaming flag disabled. I'd like to see whether or not the CPU usage is due to the logging. It seems that when roaming, an excessive number of VOICE_NETWORK_STATE_CHANGED events are processed, and these in turn result in multiple requests to the RIL.

One trick to keeping the logs small when you do this is to delete the syslog in between reboots. Another alternative is to drop an ofono.override containing the keyword "manual" into /etc/init, then use the script command to capture the output of ofono run as a foreground process ( be sure to specify "-n" to prevent ofonod from becoming a daemon ).