diff options
Diffstat (limited to 'meta-n450/recipes-bsp/n450-audio/n450-audio/n450-audio')
-rw-r--r-- | meta-n450/recipes-bsp/n450-audio/n450-audio/n450-audio | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-n450/recipes-bsp/n450-audio/n450-audio/n450-audio b/meta-n450/recipes-bsp/n450-audio/n450-audio/n450-audio new file mode 100644 index 00000000..ad1b0bd4 --- /dev/null +++ b/meta-n450/recipes-bsp/n450-audio/n450-audio/n450-audio @@ -0,0 +1,15 @@ +#!/bin/sh + +AMIXER=`which amixer` + +if [ ! -e "$AMIXER" ]; then + if [ -e /usr/bin/amixer ]; then + AMIXER=/usr/bin/amixer + else + echo "amixer not found, unable to set default audio settings." + exit 1 + fi +fi + +# Enable the "Front" simple controls (black phones jack) +$AMIXER sset Front 30 on |