Re: [linux-audio-user] M-Audio USB Omnistudio

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] M-Audio USB Omnistudio
From: Clemens Ladisch (clemens_AT_ladisch.de)
Date: Wed Nov 17 2004 - 10:49:13 EET


mryback_AT_ix.netcom.com wrote:
> On Tue, 16 Nov 2004, Clemens Ladisch wrote:
> > Please show the output of "lsusb -v" for this device.
>
> Here goes. Warning, it's plenty long...
> ...

This device has some quirks similar to the Quattro.

Please try the patch below, this should give you two two-channel
devices.

Please try to test a sample rate from each alternate setting (see
/proc/asound/cardX/streamX).

If playback or recording results in garbage, then this device uses
big-endian sample like some others from M-Audio, and I'll have to
write another patch.

HTH
Clemens

-- 
--- alsa-kernel/usb/usbquirks.h	30 Sep 2004 10:11:25 -0000	1.38
+++ alsa-kernel/usb/usbquirks.h	17 Nov 2004 08:44:22 -0000
@@ -936,11 +936,36 @@
 	.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
 		.vendor_name = "M-Audio",
 		.product_name = "OmniStudio",
-		.ifnum = 9,
-		.type = QUIRK_MIDI_MIDIMAN,
-		.data = & (const snd_usb_midi_endpoint_info_t) {
-			.out_cables = 0x0001,
-			.in_cables  = 0x0001
+		.ifnum = QUIRK_ANY_INTERFACE,
+		.type = QUIRK_COMPOSITE,
+		.data = & (const snd_usb_audio_quirk_t[]) {
+			{
+				.ifnum = 4,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 5,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 7,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 8,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 9,
+				.type = QUIRK_MIDI_MIDIMAN,
+				.data = & (const snd_usb_midi_endpoint_info_t) {
+					.out_cables = 0x0001,
+					.in_cables  = 0x0001
+				}
+			},
+			{
+				.ifnum = -1
+			}
 		}
 	}
 },


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Nov 17 2004 - 10:57:01 EET