diff options
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 \ | |||
12 | # Ship all kernel modules by default | 12 | # Ship all kernel modules by default |
13 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | 13 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" |
14 | 14 | ||
15 | # Setup sane default mixer settings | ||
16 | MACHINE_EXTRA_RRECOMMENDS += "beagleboard-audio" | ||
17 | |||
18 | # Allow for MMC booting (required by the NAND-less Beagleboard XM) | 15 | # Allow for MMC booting (required by the NAND-less Beagleboard XM) |
19 | EXTRA_IMAGEDEPENDS += "u-boot x-load" | 16 | EXTRA_IMAGEDEPENDS += "u-boot x-load" |
20 | 17 | ||
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 @@ | |||
1 | SUMMARY = "Provide a basic init script to enable audio" | ||
2 | DESCRIPTION = "Set the volume and unmute the Front mixer setting during boot." | ||
3 | SECTION = "base" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | ||
6 | |||
7 | PR = "r5" | ||
8 | |||
9 | inherit update-rc.d | ||
10 | |||
11 | RDEPENDS_${PN} = "alsa-utils-amixer" | ||
12 | |||
13 | SRC_URI = "file://beagleboard-audio" | ||
14 | |||
15 | INITSCRIPT_NAME = "beagleboard-audio" | ||
16 | INITSCRIPT_PARAMS = "defaults 90" | ||
17 | |||
18 | COMPATIBLE_MACHINE = "beagleboard" | ||
19 | INHIBIT_DEFAULT_DEPS = "1" | ||
20 | |||
21 | do_install() { | ||
22 | install -d ${D}${sysconfdir} \ | ||
23 | ${D}${sysconfdir}/init.d | ||
24 | install -m 0755 ${WORKDIR}/beagleboard-audio ${D}${sysconfdir}/init.d | ||
25 | cat ${WORKDIR}/${INITSCRIPT_NAME} | \ | ||
26 | sed -e 's,/etc,${sysconfdir},g' \ | ||
27 | -e 's,/usr/sbin,${sbindir},g' \ | ||
28 | -e 's,/var,${localstatedir},g' \ | ||
29 | -e 's,/usr/bin,${bindir},g' \ | ||
30 | -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
31 | chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
32 | } | ||
33 | |||
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 @@ | |||
1 | #!/bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: beagleboard mixer setup | ||
4 | # Required-Start: $syslog | ||
5 | # Required-Stop: $syslog | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: 0 1 6 | ||
8 | # Short-Description: Initialize the beagleboard audio mixer | ||
9 | # Description: Unmute FRONT and set volume to ~70%. | ||
10 | ### END INIT INFO | ||
11 | |||
12 | # Author: Darren Hart <dvhart@linux.intel.com> | ||
13 | # Based on /etc/init.d/skeleton | ||
14 | |||
15 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
16 | DESC="Audio mixer settings" | ||
17 | NAME=beagleboard-audio | ||
18 | AMIXER=`which amixer` | ||
19 | SCRIPTNAME=/etc/init.d/$NAME | ||
20 | |||
21 | # Exit if amixer is not installed | ||
22 | [ -x "$AMIXER" ] || exit 0 | ||
23 | |||
24 | do_start() { | ||
25 | # Enable the Headset (Audio Out) | ||
26 | $AMIXER sset "Headset" 2 > /dev/null | ||
27 | $AMIXER sset "HeadsetL Mixer AudioL1" on > /dev/null | ||
28 | $AMIXER sset "HeadsetR Mixer AudioR1" on > /dev/null | ||
29 | } | ||
30 | |||
31 | case "$1" in | ||
32 | start) | ||
33 | echo "$NAME: setting default mixer settings." | ||
34 | do_start | ||
35 | ;; | ||
36 | stop) | ||
37 | ;; | ||
38 | *) | ||
39 | echo "Usage: $SCRIPTNAME {start|stop}" >&2 | ||
40 | exit 3 | ||
41 | ;; | ||
42 | esac | ||
43 | |||
44 | exit 0 | ||