[PATCH] [UBUNTU:sound/usb] Add mixer control names for the AudioTrak Maya44 USB

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Sat Mar 25 03:42:57 UTC 2006


Subject: [PATCH] [UBUNTU:sound/usb] Add mixer control names for the AudioTrak Maya44 USB

UpstreamStatus: Added in upstream usb/usbmixer_maps.c r1.15

Clemens Ladisch <clemens at ladisch.de> added mixer control names for the
AudioTrak Maya44 USB.

Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>

---

 sound/usb/usbmixer_maps.c |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

704ec72366759361877bf01019b7d3db3d1d5ebe
diff --git a/sound/usb/usbmixer_maps.c b/sound/usb/usbmixer_maps.c
index c126443..37accb6 100644
--- a/sound/usb/usbmixer_maps.c
+++ b/sound/usb/usbmixer_maps.c
@@ -195,6 +195,22 @@ static struct usbmix_name_map linex_map[
 	{ 0 } /* terminator */
 };
 
+static struct usbmix_name_map maya44_map[] = {
+	/* 1: IT line */
+	{ 2, "Line Playback" }, /* FU */
+	/* 3: IT line */
+	{ 4, "Line Playback" }, /* FU */
+	/* 5: IT pcm playback */
+	/* 6: MU */
+	{ 7, "Master Playback" }, /* FU */
+	/* 8: OT speaker */
+	/* 9: IT line */
+	{ 10, "Line Capture" }, /* FU */
+	/* 11: MU */
+	/* 12: OT pcm capture */
+	{ }
+};
+
 /* Section "justlink_map" below added by James Courtier-Dutton <James at superbug.demon.co.uk>
  * sourced from Maplin Electronics (http://www.maplin.co.uk), part number A56AK
  * Part has 2 connectors that act as a single output. (TOSLINK Optical for digital out, and 3.5mm Jack for Analogue out.)
@@ -253,6 +269,10 @@ static struct usbmix_ctl_map usbmix_ctl_
 		.ignore_ctl_error = 1,
 	},
 	{
+		.id = USB_ID(0x0a92, 0x0091),
+		.map = maya44_map,
+	},
+	{
 		.id = USB_ID(0x0c45, 0x1158),
 		.map = justlink_map,
 	},
-- 
1.1.3


-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20060324/34a55e08/attachment.sig>


More information about the kernel-team mailing list