intended to be used by programs
COMPATIBLE_MACHINE = "omap3-pandora"
COMPATIBLE_MACHINE = "omap3-pandora"
-DEPENDS = "zenity dbus"
-RDEPENDS = "zenity dbus"
+RDEPENDS = "bash sed gawk grep zenity"
SRC_URI = " \
file://op_paths.sh \
SRC_URI = " \
file://op_paths.sh \
file://op_xfcemenu.sh \
file://op_hugetlb.sh \
file://op_gamma.sh \
file://op_xfcemenu.sh \
file://op_hugetlb.sh \
file://op_gamma.sh \
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 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/
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
+
SRC_URI = " \
file://50_openpandora \
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_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