: Fix mixer map for Hercules Gamesurround Muse LT usb soundcard.
The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2165>
======================================================================
Reported By: jereynaud Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 2165 Category: USB - usb-audio Reproducibility: always Severity: major Priority: normal Status: closed
Distribution:
Kernel Version:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 05-26-2006 23:37 CEST Last Modified: 05-27-2006 03:29 CEST
======================================================================
Summary: Fix mixer map for Hercules Gamesurround Muse LT usb
soundcard.
Description:
Add correct support for this sound card :
add a new map in usbmixer_maps.c
--- linux-2.6.16.18/sound/usb/usbmixer_maps.c 2006-05-22
20:04:35.000000000 +0200
+++ linux-2.6.16.18.new/sound/usb/usbmixer_maps.c 2006-05-26
22:35:03.000000000 +0200
@@ -219,6 +219,43 @@
};
/*
+ * Hercules Gamesurround USB.
+ * USB_IN[1] --------------+-+->MU[15]-->FU[9]--> Spk-OUT[6]
+ * | |
+ * Mic-IN[2] --+-->FU[10]------+----->SU[8]-----> USB_OUT[7]
+ * | | | | + * +-->FU[13]--+ | | + * | |
+ * Lin-IN[3] --+-->FU[11]------+
+ * | |
+ * +-->FU[14]----+
+ */
+static struct usbmix_name_map hercules_gamesurround_muse_pocket_lt_map[] = {
+ /* 1: IT pcm */
+ /* 2: IT mic */
+ /* 3: IT line */
+ /* 6: OT speaker */
+ /* 7: OT pcm capture */
+ { 8, "Capture Source" }, /* SU, Capture Source */
+ { 9, "Master Playback" }, /* FU, default Speaker 1 */
+ { 10, "Mic Capture" }, /* FU, default Auto Gain Input */
+ { 11, "Line Capture" }, /* FU, default PCM Capture */
+ { 13, "Mic Playback" }, /* FU, default Mic Playback */
+ { 14, "Line Playback" }, /* FU, default Speaker */
+ /* 15: MU */
+ { 0 } /* terminator */+};
+static struct usbmix_selector_map hercules_gamesurround_muse_pocket_lt_selectors_map[] = {
+ {
+ .id = 8, /* Capture Source */
+ .count = 2,
+ .names = (const char*[]) {"Mic", "Line"}+ },
+ { 0 } /* terminator */
+};
+
+
+/*
* Control map entries
*/
@@ -256,6 +293,13 @@
.id = USB_ID(0x0c45, 0x1158),
.map = justlink_map,
},
+ {
+ /* Hercules Gamesurround Muse Pocket LT*/
+ .id = USB_ID(0x06f8, 0xc000),
+ .map = hercules_gamesurround_muse_pocket_lt_map,
+ .selector_map =
hercules_gamesurround_muse_pocket_lt_selectors_map,
+ .ignore_ctl_error = 1,
+ },
{ 0 } /* terminator */};
======================================================================
----------------------------------------------------------------------
rlrevell - 05-27-06 03:29
----------------------------------------------------------------------
Duplicate of 2166
Issue History
Date Modified Username Field Change
======================================================================
05-26-06 23:37 jereynaud New Issue 05-27-06 03:29 rlrevell Status assigned => closed 05-27-06 03:29 rlrevell Note Added: 0009982
======================================================================