From: LCID Fire <lcid-fire@gmx.net>
To: Alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] serato phono patch
Date: Sat, 17 Jan 2009 17:01:51 +0100 [thread overview]
Message-ID: <497200EF.5010006@gmx.net> (raw)
In-Reply-To: <4971FFDE.8070609@gmx.net>
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
Takashi Iwai wrote:
> Could you give a more detailed patch description?
Yes, I should have splitted them into single patches in the first place.
So attached is the first one (including description ;)).
[-- Attachment #2: commit-00092c5 --]
[-- Type: text/plain, Size: 1469 bytes --]
commit 00092c5912ba7eb162599686388a2cac5c72c262
Author: LCID Fire <lcid-fire@gmx.net>
Date: Sat Jan 17 16:47:06 2009 +0100
Ignore errors (wrong usb interface data) found when using the serato scratch live box with alsa
Thus the alsa controls can be accessed (beware: they don't work though - but at least it's one ugly error message less)
Signed-off-by: LCID Fire <lcid-fire@gmx.net>
diff --git a/sound/usb/usbmixer_maps.c b/sound/usb/usbmixer_maps.c
index d755be0..87054af 100644
--- a/sound/usb/usbmixer_maps.c
+++ b/sound/usb/usbmixer_maps.c
@@ -261,6 +261,22 @@ static struct usbmix_name_map aureon_51_2_map[] = {
{} /* terminator */
};
+static struct usbmix_name_map scratch_live_map[] = {
+ /* 1: IT Line 1 (USB streaming) */
+ /* 2: OT Line 1 (Speaker) */
+ /* 3: IT Line 1 (Line connector) */
+ { 4, "Line 1 In" }, /* FU */
+ /* 5: OT Line 1 (USB streaming) */
+ /* 6: IT Line 2 (USB streaming) */
+ /* 7: OT Line 2 (Speaker) */
+ /* 8: IT Line 2 (Line connector) */
+ { 9, "Line 2 In" }, /* FU */
+ /* 10: OT Line 2 (USB streaming) */
+ /* 11: IT Mic (Line connector) */
+ /* 12: OT Mic (USB streaming) */
+ { 0 } /* terminator */
+};
+
/*
* Control map entries
*/
@@ -311,6 +327,11 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
.id = USB_ID(0x0ccd, 0x0028),
.map = aureon_51_2_map,
},
+ {
+ .id = USB_ID(0x13e5, 0x0001),
+ .map = scratch_live_map,
+ .ignore_ctl_error = 1,
+ },
{ 0 } /* terminator */
};
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2009-01-17 16:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 16:54 [PATCH] sscape: fix incorrect timeout after microcode upload Krzysztof Helt
2009-01-12 17:01 ` Takashi Iwai
2009-01-12 19:07 ` [PATCH] serato phono patch LCID Fire
2009-01-13 7:14 ` Takashi Iwai
2009-01-17 15:57 ` LCID Fire
2009-01-17 16:01 ` LCID Fire [this message]
2009-01-12 20:25 ` [PATCH] sscape: fix incorrect timeout after microcode upload Krzysztof Helt
2009-01-13 6:53 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=497200EF.5010006@gmx.net \
--to=lcid-fire@gmx.net \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox