Re: SOLVED M-Audio Fast Track ULTRA vs Alsa

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

 



It seems that the patch installed. Though, the ./configure doesn't
work? Any ideas?

Thanks,
Preston

[root@myhost alsa-driver-1.0.22.1]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/ALSA/alsa-driver-1.0.22.1
checking cross compile...
checking for directory with ALSA kernel sources... ./configure: line
5107: cd: ../alsa-kmirror: No such file or directory
../alsa-kmirror
checking for directory with kernel source... ./configure: line 5132:
cd: /usr/src/linux: No such file or directory
/usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

On Thu, Mar 18, 2010 at 8:56 PM, V Gabriele De Palo <vgdepalo@xxxxxxxx> wrote:
> Preston C. ha scritto:
>
>> On Thu, Mar 4, 2010 at 8:50 PM, V Gabriele De Palo <vgdepalo@xxxxxxxx>
>> wrote:
>>
>>>
>>> Hello everyone,
>>> the Fast Track Ultra works with GNU / Linux
>>> Thanks to Mr. Clemens to Mr. Felix and to Mr. Salvo!
>>> It is not necessary to compile the kernel,
>>> Just apply the patch before compiling alsa-driver with this command
>>> # cd / usr/src/alsa/alsa-driver-1.0.22.1/sound # patch-p1
>>> <ftultra-patch.diff,
>>> so just to continue with 'typical installation of alsa-driver, alsa-lib
>>> and alsa-utils.
>>> Now I wait to verify the stability and the full functionality and DSP.
>>> Thanks again so much to Mr. Clemens, Mr. Felix, Mr. Salvo and everyone.
>>> Ciao
>>> gabriele
>>>
>>>
>>>
>>> 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, 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,
>>> @@ -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, 0x2080): /* M-Audio Fast Track Ultra */
>>>           /* 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, 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 */
>>> {
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>> Hi, I use Arch Linux. I am trying to figure out how to install this
>> patch. Do I need to copy the code to a file before I try to install
>> it? Or do I just:
>>
>> # cd / usr/src/alsa/alsa-driver-1.0.22.1/sound
>> # patch-p1 <ftultra-patch.diff
>>
>> Thanks,
>> Preston
>>
>>
>>
>
> Ciao,
> I'm still checking FTU's correct and full operation in linux.
> but continues to lack mixers support,
> does not work at 44.1K
> and no DSP.
> but, for now, it works very well with ardour! 8-)
>
> The patch, which I modified for the FTU, was written by Mr Clemens and Mr
> Felix to recompile the kernel, I suppose.
> but I've always had problems with the kernel recompiling process,
> I don't know WTF!
> So I tried to apply the patch when I install the ALSA drivers.
> so for convenience and comfort
>
> Save the patch, see the mail's attached file, as ftultra-patch.diff
>
> Download alsa-driver-xxx, alsa-lib-xxx, and alsa-utils-xxx
>
> move the patch in: alsa-driver-xxx/sound/
>
> Create a folder alsa where you move downloaded alsa files and
>
> Move this folder into /usr/src/
>
> at this point, before you install as usual alsa-driver, lib, and utils
>
> you move in /usr/src/alsa/alsa-driver-xxx/sound:
>
> cd /usr/src/alsa/alsa-driver-xxx/sound
>
> and, as root user, apply the patch with the command
>
> patch-p1 <ftultra-patch.diff
>
> Wait the command's output that you confirm the success of the patch-ing
>
> and then proceed as usual to install alsa-driver, lib and utils
> using
>
> . / configure, make, sudo make install ...
>
>
> ahh, I forgot:
> sorry for my English! :-)
>
> HYH
>
> fammi sapere se tutto ok,
> almeno proveremo insieme la FTU!
>
> ciao
> gabriele
>
> 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, 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,
> @@ -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, 0x2080): /* M-Audio Fast Track Ultra */
>                        /* 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, 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 */
>  {
>
>
>
>
>
>

------------------------------------------------------------------------------
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