intended to be used by programs
COMPATIBLE_MACHINE = "omap3-pandora"
-DEPENDS = "zenity dbus"
-RDEPENDS = "zenity dbus"
+RDEPENDS = "bash sed gawk grep zenity"
-PR = "r138"
+PR = "r139"
SRC_URI = " \
file://op_paths.sh \
file://op_xfcemenu.sh \
file://op_hugetlb.sh \
file://op_gamma.sh \
+ file://op_dsp.sh \
"
do_install() {
install -m 0644 ${WORKDIR}/nubmode.glade ${D}${prefix}/pandora/scripts/
install -m 0644 ${WORKDIR}/tvout.glade ${D}${prefix}/pandora/scripts/
install -m 0755 ${WORKDIR}/op_lidsettings.sh ${D}${prefix}/pandora/scripts/
-
+ install -m 0755 ${WORKDIR}/op_dsp.sh ${D}${prefix}/pandora/scripts/
install -d ${D}${prefix}/pandora/apps/
--- /dev/null
+#!/bin/sh
+
+case "$1" in
+ start)
+ modprobe mailbox_mach
+ modprobe bridgedriver base_img=/lib/dsp/baseimage.dof
+ ;;
+ stop)
+ rmmod bridgedriver
+ rmmod mailbox_mach
+ rmmod mailbox
+ ;;
+ restart)
+ rmmod bridgedriver
+ rmmod mailbox_mach
+ rmmod mailbox
+ sleep 0.5
+ modprobe mailbox_mach
+ modprobe bridgedriver base_img=/lib/dsp/baseimage.dof
+ ;;
+esac
+
RDEPENDS = "sudo"
-PR = "r20"
+PR = "r21"
SRC_URI = " \
file://50_openpandora \
%wheel ALL=(ALL) NOPASSWD: /usr/pandora/scripts/op_touchinit.sh
%wheel ALL=(ALL) NOPASSWD: /usr/pandora/scripts/op_hugetlb.sh
%wheel ALL=(ALL) NOPASSWD: /usr/pandora/scripts/op_gamma.sh
+%wheel ALL=(ALL) NOPASSWD: /usr/pandora/scripts/op_dsp.sh