diff options
Diffstat (limited to 'meta-n450/recipes-bsp/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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | AMIXER=`which amixer` | ||
4 | |||
5 | if [ ! -e "$AMIXER" ]; then | ||
6 | if [ -e /usr/bin/amixer ]; then | ||
7 | AMIXER=/usr/bin/amixer | ||
8 | else | ||
9 | echo "amixer not found, unable to set default audio settings." | ||
10 | exit 1 | ||
11 | fi | ||
12 | fi | ||
13 | |||
14 | # Enable the "Front" simple controls (black phones jack) | ||
15 | $AMIXER sset Front 30 on | ||