View Single Post
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#55
Originally Posted by alex25 View Post
I the meantime I found a solution that works for me. I use the ilbc codec for a few weeks now without choppy audio.
To archive this I made the following two changes to my n900:
1.) Install the new pulseaudio package provided by the user MohammadAG as discussed here
2.) Set the processor speed to 600MHz (fix) during sip calls (I think the stock kernel does this, however it seems not to work with the power Kernel).
To set the processor speed to 600MHz during a sip call I use a dbus script. I added the following config file to the /etc/dbus-scripts.d/ directory with the following content:
Code:
/usr/sbin/speedadaptnormal * * com.nokia.mce.signal sig_call_state_ind active *
/usr/sbin/speedadaptfix * * com.nokia.mce.signal sig_call_state_ind none *
And created the two files in /usr/sbin/.
speedadaptfix
Code:
#!/bin/bash
echo 125000 250000 500000 550000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies
kernel-config limits 600 600
speedadaptnormal
Code:
#!/bin/bash
echo > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies
kernel-config limits 125 1000
As said before this works perfect for me. No choppy audio anymore!
For some reason this is not working for me. I have dbus-scripts installed, I ran chmod +x on all of these scripts, and I even restarted the device. It does not lock the processor speed when I make a call.

edit: This only appears to work on incoming calls, and it only changes the processor speed when the phone is ringing. Once I answer the call, the processor is no longer locked at 600. Any ideas?

Last edited by xur17; 2011-03-05 at 17:28.