Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Installing M-Audio Fast Track Ultra
pieniValkoinenHattu
 Posted: May 5 2012, 12:05 PM
Quote Post


SLF Junior
**

Group: Members
Posts: 25
Member No.: 1452
Joined: 10-April 12









Hi,

As I want to compose some music, I bought an external audio card and now I would like to know how to make it work on Linux.

I found this patch
CODE
   The MIDI interface is class compliant, and this is what's shown by Jack.
   The audio interfaces are marked as vendor specific, so the driver needs
   to be changed to support them.

   Please try recompiling your kernel with the patch below.

   Some M-Audio devices use big-endian samples, so beware of speaker-
   killing noise.

   It's possible that playback synchronization doesn't work completely.

   Please check what happens when you try to play and record with different
   sample rates.


   HTH
   Clemens

   --- linux/sound/usb/usbaudio.c
   +++ linux/sound/usb/usbaudio.c
   @@ -2235,6 +2235,10 @@ static void init_substream(struct snd_us
                   case USB_ID(0x041e, 0x3f0a): /* E-Mu Tracker Pre */
                           subs->ops.retire_sync = retire_playback_sync_urb_hs_emu;
                           break;
   +               case USB_ID(0x0763, 0x2080): /* M-Audio Fast Track Ultra */
   +                       subs->ops.prepare_sync = prepare_playback_sync_urb;
   +                       subs->ops.retire_sync = retire_playback_sync_urb;
   +                       break;
                   }
           }
           snd_pcm_set_ops(as->pcm, stream,
   @@ -2786,6 +2790,7 @@ static int parse_audio_endpoints(struct
                           break;
                   case USB_ID(0x041e, 0x3020): /* Creative SB Audigy 2 NX */
                   case USB_ID(0x0763, 0x2003): /* M-Audio Audiophile USB */
   +               case USB_ID(0x0763, 0x2080): /* M-Audio Fast Track Ultra */
                           /* doesn't set the sample rate attribute, but supports it */
                           fp->attributes |= EP_CS_ATTR_SAMPLE_RATE;
                           break;
   --- linux/sound/usb/usbquirks.h
   +++ linux/sound/usb/usbquirks.h
   @@ -1864,6 +1864,33 @@
                   }
           }
    },
   +{
   +       USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
   +       .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
   +               /* .vendor_name = "M-Audio", */
   +               /* .product_name = "Fast Track Ultra", */
   +               .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 */
    {


The problem is that I really don't know how to use this code !

Also, I would like to make my usb ausio card the default audio output.
PM
^
tux99
 Posted: May 5 2012, 01:49 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1218
Member No.: 224
Joined: 28-May 11









That's one heck of a sound device, you must have some serious ambitions! smile.gif

You could try to install kmod-alsa-1.0.25 from the Elrepo testing repo, this might already contain the above patch. If not then maybe toracat (who AFAIK is a Elrepo packager) can help you further by possibly adding this patch to their kmod-alsa package.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
pieniValkoinenHattu
 Posted: May 5 2012, 03:41 PM
Quote Post


SLF Junior
**

Group: Members
Posts: 25
Member No.: 1452
Joined: 10-April 12









It works perfectly !
Thank you very much !
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll