might be useful for emulators
RDEPENDS = "pandora-scripts"
RDEPENDS = "pandora-scripts"
inherit update-rc.d
INITSCRIPT_NAME = "pandora-state"
inherit update-rc.d
INITSCRIPT_NAME = "pandora-state"
if [ -e /sys/devices/platform/soc-audio/PCM1773/pmdown_time ]; then
echo 60000 > /sys/devices/platform/soc-audio/PCM1773/pmdown_time
fi
if [ -e /sys/devices/platform/soc-audio/PCM1773/pmdown_time ]; then
echo 60000 > /sys/devices/platform/soc-audio/PCM1773/pmdown_time
fi
+
+ # remove the mmap limit, useful for emulators
+ echo 0 > /proc/sys/vm/mmap_min_addr