Skip to contentSkip to conversation

: linux/sound/usb/ : add special settings for M-Audio Fast Track Pro and Quattro (24 bits, etc...)

PATCH New Guillaume Pellerin 1 participant 1 message Jul 12, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : linux/sound/usb/ : add special settings for M-Audio Fast Track Pro and Quattro (24 bits, etc...)

!! ALREADY APPLIED BY TAKASHI IWAI ON LINUX 3.1 !!

This patch built against Linux 2.6.39 gives M-Audio Fast Track Pro and M-Audio Quattro quirks and endpoints to boot and setup those devices with special options (digital
inputs and outputs, 24 bits mode, etc...). M-Audio Audiophile quirks are
just adapted to match the new global M-Audio parameters.

Special configurations can be then loaded through a modprobe conf file. For example, to set the 24 bits mode on the Fast Track Pro add /etc/modprobe.d/fast_track_pro.conf :

    options snd_usb_audio   vid=0x763 pid=0x2012 device_setup=0x08

index=1 enable=1

Here is a list of the possibilities in this example :
http://files.parisson.com/debian/fast-track-pro.conf

Enjoy,
Cheers Alsa Team ;)
Guillaume

usb/endpoint.c renamed from tmp/linux-source-2.6.39/sound/usb/endpoint.c +2 -0
diff -urB '-x*.o' '-x*.cmd' '-x*.mod.c' '-x*.order' '-x*.ko' '-x*.c.orig' ../tmp/linux-source-2.6.39/sound/usb/endpoint.c sound/usb/endpoint.c
@@ -408,6 +408,8 @@
 			/* doesn't set the sample rate attribute, but supports it */
 			fp->attributes |= UAC_EP_CS_ATTR_SAMPLE_RATE;
 			break;
+		case USB_ID(0x0763, 0x2001):  /* M-Audio Quattro USB */
+		case USB_ID(0x0763, 0x2012):  /* M-Audio Fast Track Pro USB */
 		case USB_ID(0x047f, 0x0ca1): /* plantronics headset */
 		case USB_ID(0x077d, 0x07af): /* Griffin iMic (note that there is
 						an older model 77d:223) */
usb/quirks.c renamed from tmp/linux-source-2.6.39/sound/usb/quirks.c +134 -25

213 lines not on this page · raw message