summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-01-02 18:22:33 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-17 15:53:48 +0000
commit39a991880a2abe413e58ebcc033b17c52006615d (patch)
tree168945cbc90ec3fdd6b83b272edd2bfbb7450fc2 /meta-yocto
parent9ea681fffb2944671369bcfd9661d503c0daba4f (diff)
downloadpoky-39a991880a2abe413e58ebcc033b17c52006615d.tar.gz
poky-39a991880a2abe413e58ebcc033b17c52006615d.tar.bz2
poky-39a991880a2abe413e58ebcc033b17c52006615d.zip
beagleboard-audio: drop in favour of alsa-state
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/machine/beagleboard.conf3
-rw-r--r--meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio.bb33
-rw-r--r--meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio/beagleboard-audio44
3 files changed, 0 insertions, 80 deletions
diff --git a/meta-yocto/conf/machine/beagleboard.conf b/meta-yocto/conf/machine/beagleboard.conf
index dd549d0ba3..fa2f8e7a55 100644
--- a/meta-yocto/conf/machine/beagleboard.conf
+++ b/meta-yocto/conf/machine/beagleboard.conf
@@ -12,9 +12,6 @@ XSERVER = "xserver-xorg-lite \
# Ship all kernel modules by default
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
-# Setup sane default mixer settings
-MACHINE_EXTRA_RRECOMMENDS += "beagleboard-audio"
-
# Allow for MMC booting (required by the NAND-less Beagleboard XM)
EXTRA_IMAGEDEPENDS += "u-boot x-load"
diff --git a/meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio.bb b/meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio.bb
deleted file mode 100644
index 0bfd7dc5a2..0000000000
--- a/meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-SUMMARY = "Provide a basic init script to enable audio"
-DESCRIPTION = "Set the volume and unmute the Front mixer setting during boot."
-SECTION = "base"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-
-PR = "r5"
-
-inherit update-rc.d
-
-RDEPENDS_${PN} = "alsa-utils-amixer"
-
-SRC_URI = "file://beagleboard-audio"
-
-INITSCRIPT_NAME = "beagleboard-audio"
-INITSCRIPT_PARAMS = "defaults 90"
-
-COMPATIBLE_MACHINE = "beagleboard"
-INHIBIT_DEFAULT_DEPS = "1"
-
-do_install() {
- install -d ${D}${sysconfdir} \
- ${D}${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/beagleboard-audio ${D}${sysconfdir}/init.d
- cat ${WORKDIR}/${INITSCRIPT_NAME} | \
- sed -e 's,/etc,${sysconfdir},g' \
- -e 's,/usr/sbin,${sbindir},g' \
- -e 's,/var,${localstatedir},g' \
- -e 's,/usr/bin,${bindir},g' \
- -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
- chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
-}
-
diff --git a/meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio/beagleboard-audio b/meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio/beagleboard-audio
deleted file mode 100644
index ed2bd50f8b..0000000000
--- a/meta-yocto/recipes-bsp/beagleboard-audio/beagleboard-audio/beagleboard-audio
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: beagleboard mixer setup
-# Required-Start: $syslog
-# Required-Stop: $syslog
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Initialize the beagleboard audio mixer
-# Description: Unmute FRONT and set volume to ~70%.
-### END INIT INFO
-
-# Author: Darren Hart <dvhart@linux.intel.com>
-# Based on /etc/init.d/skeleton
-
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="Audio mixer settings"
-NAME=beagleboard-audio
-AMIXER=`which amixer`
-SCRIPTNAME=/etc/init.d/$NAME
-
-# Exit if amixer is not installed
-[ -x "$AMIXER" ] || exit 0
-
-do_start() {
- # Enable the Headset (Audio Out)
- $AMIXER sset "Headset" 2 > /dev/null
- $AMIXER sset "HeadsetL Mixer AudioL1" on > /dev/null
- $AMIXER sset "HeadsetR Mixer AudioR1" on > /dev/null
-}
-
-case "$1" in
-start)
- echo "$NAME: setting default mixer settings."
- do_start
- ;;
-stop)
- ;;
-*)
- echo "Usage: $SCRIPTNAME {start|stop}" >&2
- exit 3
- ;;
-esac
-
-exit 0