diff options
author | Dylan Reid <dgreid@chromium.org> | 2012-07-16 17:57:25 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-25 12:33:41 -0700 |
commit | d3474cbb9e37fa68e463ba79f59222d3b5edd8a0 (patch) | |
tree | 02aecb7b9df6007e175ecaa40b2fb23b4379e3df /Makefile | |
parent | 1afc42d289f48a886b01014f092c2b151292c440 (diff) | |
download | adhd-d3474cbb9e37fa68e463ba79f59222d3b5edd8a0.tar.gz |
CRAS: config - blacklist fake playback device on CAD-u1 mic.
This microphone presents a fully functional playback device, but doesn't
actually have a speaker.
BUG=chromium-os:32278
TEST=gmerge adhd, insert CAD-u1 mic and test that audio remains playing
through built-in speakers.
Change-Id: I24670e14efa6bd1434711be8506d8baedf5c0ab7
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/27609
Reviewed-by: Olof Johansson <olofj@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,10 @@ $(DESTDIR)/etc/asound.state: $(ADHD_DIR)/factory-default/asound.state.$(BOARD) $(ECHO) "Installing '$<' to '$@'" $(INSTALL) --mode 644 -D $< $@ +$(DESTDIR)/etc/cras/device_blacklist: $(ADHD_DIR)/cras-config/device_blacklist + $(ECHO) "Installing '$<' to '$@'" + $(INSTALL) --mode 644 -D $< $@ + optional_alsa_conf := $(wildcard $(ADHD_DIR)/alsa-module-config/alsa-$(BOARD).conf) ifneq ($(strip $(optional_alsa_conf)),) @@ -57,6 +61,7 @@ endif install: $(DESTDIR)/etc/init/cras.conf \ $(DESTDIR)/etc/asound.state \ + $(DESTDIR)/etc/cras/device_blacklist \ $(DESTDIR)/lib/udev/rules.d/99-dev-input-group.rules \ cras_install clean: |