aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer_maps.c
diff options
context:
space:
mode:
authorMark Hills <mark@pogo.org.uk>2012-04-14 12:19:24 -0400
committerTakashi Iwai <tiwai@suse.de>2012-04-15 09:40:08 -0400
commit7536c301f8817214629e80fa06b5b5c93df3ad52 (patch)
tree6970ff8802640e41ed82b5fc8729b605c405415d /sound/usb/mixer_maps.c
parent284a8dd6f0fb16029198b5b34437499d504b567c (diff)
ALSA: snd-usb-audio: Replace mixer for Electrix Ebox-44
The mixer units from the firmware are corrupt, and even where they are valid they presents mono controls as L and R channels of stereo. Signed-off-by: Mark Hills <mark@pogo.org.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_maps.c')
-rw-r--r--sound/usb/mixer_maps.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index f1324c42383..41daaa24c25 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -288,6 +288,15 @@ static struct usbmix_name_map scratch_live_map[] = {
288 { 0 } /* terminator */ 288 { 0 } /* terminator */
289}; 289};
290 290
291static struct usbmix_name_map ebox44_map[] = {
292 { 4, NULL }, /* FU */
293 { 6, NULL }, /* MU */
294 { 7, NULL }, /* FU */
295 { 10, NULL }, /* FU */
296 { 11, NULL }, /* MU */
297 { 0 }
298};
299
291/* "Gamesurround Muse Pocket LT" looks same like "Sound Blaster MP3+" 300/* "Gamesurround Muse Pocket LT" looks same like "Sound Blaster MP3+"
292 * most importand difference is SU[8], it should be set to "Capture Source" 301 * most importand difference is SU[8], it should be set to "Capture Source"
293 * to make alsamixer and PA working properly. 302 * to make alsamixer and PA working properly.
@@ -371,6 +380,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
371 .map = scratch_live_map, 380 .map = scratch_live_map,
372 .ignore_ctl_error = 1, 381 .ignore_ctl_error = 1,
373 }, 382 },
383 {
384 .id = USB_ID(0x200c, 0x1018),
385 .map = ebox44_map,
386 },
374 { 0 } /* terminator */ 387 { 0 } /* terminator */
375}; 388};
376 389