Thread: Boost N900! :)
View Single Post
Posts: 436 | Thanked: 406 times | Joined on Jan 2010
#149
Originally Posted by tebsu View Post
hm i have a problem that i dont hear sound when i open the radio application. i dont know if its related to this script but could it be possible?
Possible but highly unlikely, users generally have a problem using the radio in PR1.3. At the time this started happening, my patches weren't here. FMTX also mainly uses it's own coding. Try opening the fm radio and repeatedly plug and unplug
the headsets, while activating the loudspeakers, that usually gets it started for me.

Originally Posted by James_Littler View Post
I think this could be quite a significant point.

Which settings from swappolube have you incorporated?
o_o

Code:
#!/bin/sh

start on started rcS-late

script
       echo "30" > /proc/sys/vm/swappiness
       echo "1" > /proc/sys/vm/page-cluster
       #echo "1" > /proc/sys/vm/laptop_mode
       #echo "1" > /proc/sys/vm/oom_kill_allocating_task
       echo "100" > /proc/sys/vm/dirty_expire_centisecs
       echo "100" > /proc/sys/vm/dirty_writeback_centisecs
       echo "60" > /proc/sys/vm/dirty_background_ratio
       #echo "95" > /proc/sys/vm/dirty_ratio
       echo "0" > /proc/sys/net/ipv4/tcp_timestamps
       echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save
       #Wait until late in the boot process
       sleep 45
       amixer set Capture 0%
       amixer set Capture nocap
       sleep 15
       amixer set Capture cap
       amixer set Capture 100%
end script