diff options
author | Saul Wold <sgw@linux.intel.com> | 2015-08-25 16:39:01 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2015-08-28 14:25:29 -0700 |
commit | 4172351baa285b83eb54d54368fe2f037c48159b (patch) | |
tree | c2c1991e05b0260615b83abf59acee81a534ec10 /meta-nuc/recipes-core/initscripts/initscripts/hdmi_port_audio.sh | |
parent | 44df7ddf395f82c28c494b92fb3f627f81e2e627 (diff) | |
download | meta-intel-4172351baa285b83eb54d54368fe2f037c48159b.tar.gz |
Remove older platform specific BSPs
The intel-core* BSPs supercede these older BSPs therefore it's time
to remove these older platform specific bsps.
Bump LAYERVERSION to 3 to allow the Autobuilder to know that these
BSPs have been removed.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-nuc/recipes-core/initscripts/initscripts/hdmi_port_audio.sh')
-rw-r--r-- | meta-nuc/recipes-core/initscripts/initscripts/hdmi_port_audio.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta-nuc/recipes-core/initscripts/initscripts/hdmi_port_audio.sh b/meta-nuc/recipes-core/initscripts/initscripts/hdmi_port_audio.sh deleted file mode 100644 index 69d8a53f..00000000 --- a/meta-nuc/recipes-core/initscripts/initscripts/hdmi_port_audio.sh +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: | ||
4 | # Required-Start: | ||
5 | # Required-Stop: | ||
6 | # Default-Start: S | ||
7 | # Default-Stop: | ||
8 | # Short-Description: Configure ALSA audio output to the connected HDMI port | ||
9 | ### END INIT INFO | ||
10 | |||
11 | # | ||
12 | # If both HDMI ports are connected then use HDMI0 for default ALSA audio out.. | ||
13 | |||
14 | ALSA_CONF_FILE="/etc/asound.conf" | ||
15 | |||
16 | HDMI0_STATUS_FILE="/sys/class/drm/card0-HDMI-A-1/status" | ||
17 | HDMI1_STATUS_FILE="/sys/class/drm/card0-HDMI-A-2/status" | ||
18 | |||
19 | HDMI0_ALSA_CONF="hw:0,3" | ||
20 | HDMI1_ALSA_CONF="hw:0,7" | ||
21 | |||
22 | if [ -f "${HDMI0_STATUS_FILE}" ] && [ "`cat ${HDMI0_STATUS_FILE}`" == "connected" ] | ||
23 | then | ||
24 | sed -i "s/pcm *\"hw:[0-9]*,[0-9]*\"/pcm \"${HDMI0_ALSA_CONF}\"/" ${ALSA_CONF_FILE} | ||
25 | elif [ -f "${HDMI1_STATUS_FILE}" ] && [ "`cat ${HDMI1_STATUS_FILE}`" == "connected" ] | ||
26 | then | ||
27 | sed -i "s/pcm \"hw:[0-9]*,[0-9]*\"/pcm \"${HDMI1_ALSA_CONF}\"/" ${ALSA_CONF_FILE} | ||
28 | fi | ||