Re: Fast Track Ultra 8R - partially working, but how about the DSP mixer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since some people asked offline, here's the patch for the Fast Track
Ultra 8R. I've only tested it against the 2.6.31.12 sources. Apply by

    cd /usr/src/linux-2.6.31.12/sound; patch -p1 < ftu8r-patch.diff

It's completely Clemens Ladisch's code except for the altered USB Id (If
you are using the Fast Track Ultra without 8R change it back).

Kind regards,

Felix

diff --git a/usb/usbaudio.c b/usb/usbaudio.c
index c6b9c8c..ac46292 100644
--- a/usb/usbaudio.c
+++ b/usb/usbaudio.c
@@ -2263,6 +2263,10 @@ static void init_substream(struct snd_usb_stream *as, int stream, struct audiofo
 		case USB_ID(0x041e, 0x3f0a): /* E-Mu Tracker Pre */
 			subs->ops.retire_sync = retire_playback_sync_urb_hs_emu;
 			break;
+		case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */
+			subs->ops.prepare_sync = prepare_playback_sync_urb;
+			subs->ops.retire_sync = retire_playback_sync_urb;
+			break;
 		}
 	}
 	snd_pcm_set_ops(as->pcm, stream,
@@ -2814,6 +2818,7 @@ static int parse_audio_endpoints(struct snd_usb_audio *chip, int iface_no)
 			break;
 		case USB_ID(0x041e, 0x3020): /* Creative SB Audigy 2 NX */
 		case USB_ID(0x0763, 0x2003): /* M-Audio Audiophile USB */
+		case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */
 			/* doesn't set the sample rate attribute, but supports it */
 			fp->attributes |= EP_CS_ATTR_SAMPLE_RATE;
 			break;
diff --git a/usb/usbquirks.h b/usb/usbquirks.h
index e691eba..e8a0197 100644
--- a/usb/usbquirks.h
+++ b/usb/usbquirks.h
@@ -1856,6 +1856,33 @@ YAMAHA_DEVICE(0x7010, "UB99"),
 		}
 	}
 },
+{
+	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		/* .vendor_name = "M-Audio", */
+		/* .product_name = "Fast Track Ultra 8R", */
+		.ifnum = QUIRK_ANY_INTERFACE,
+		.type = QUIRK_COMPOSITE,
+		.data = & (const struct snd_usb_audio_quirk[]) {
+			{
+				.ifnum = 0,
+				.type = QUIRK_IGNORE_INTERFACE
+			},
+			{
+				.ifnum = 1,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 2,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			/* interface 3 (MIDI) is standard compliant */
+			{
+				.ifnum = -1
+			}
+		}
+	}
+},
 
 /* Casio devices */
 {

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux