From: Michael Mrozek Date: Mon, 4 Nov 2013 02:20:01 +0000 (+0100) Subject: pandora-state: Set default DSP-Speed for 1GHz / 600MHz units X-Git-Tag: sz_160~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8d618cac8bb06a99beac812666f06a7b0bc6ba5;p=openpandora.oe.git pandora-state: Set default DSP-Speed for 1GHz / 600MHz units --- diff --git a/recipes/pandora-system/pandora-state.bb b/recipes/pandora-system/pandora-state.bb index 9cb2d53..d5c02d6 100755 --- a/recipes/pandora-system/pandora-state.bb +++ b/recipes/pandora-system/pandora-state.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "pandora-scripts" -PR = "r21" +PR = "r22" inherit update-rc.d INITSCRIPT_NAME = "pandora-state" diff --git a/recipes/pandora-system/pandora-state/rc.pandora-state b/recipes/pandora-system/pandora-state/rc.pandora-state index a7e9ee1..53d6272 100644 --- a/recipes/pandora-system/pandora-state/rc.pandora-state +++ b/recipes/pandora-system/pandora-state/rc.pandora-state @@ -91,6 +91,15 @@ d_start() { fi /usr/pandora/scripts/op_cpuspeed.sh -n $cpuspeed + # Set DSP Speed + + if [ "$pnd_version" == "OMAP3630" ]; then + dspspeed="800" + else + dspspeed="430" + fi + /usr/pandora/scripts/op_dspspeed.sh -n $dspspeed + # Set nubs sed -n '1p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mode sed -n '2p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mouse_sensitivity