summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2012-03-19 11:54:12 +0100
committerDavid Henningsson <david.henningsson@canonical.com>2012-03-28 13:19:46 +0200
commit6e449eca9a3b5cc7a0307570e07cbcc949ecc21e (patch)
tree082d85e1ab7821a25904202d5c90880a9a494447
parent8499afc36f71342ec6118dc81adb85bc1b3f4aea (diff)
Fix input device for M-audio fasttrack pro
Some M-audio fasttrack pro devices, the input device is at index 1 instead of index 0. According to http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050701.html the reason for this is probably that the device has mutually exclusive analog and digital input. With this patch we can catch the input regardless of state. BugLink: https://bugs.launchpad.net/bugs/569932 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-rw-r--r--src/modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf b/src/modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf
index 75f51121..c8025fdc 100644
--- a/src/modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf
+++ b/src/modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf
@@ -33,9 +33,11 @@ device-strings = hw:%f,0,0
channel-map = left,right
direction = output
+; Try both device 0 and device 1 for input, see
+; http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050701.html
[Mapping analog-stereo-a-input]
description = Analog Stereo Channel A
-device-strings = hw:%f,0,0
+device-strings = hw:%f,0,0 hw:%f,1,0
channel-map = left,right
direction = input