Page 1 of 3

M-Audio FastTrack Ultra and Jack/ALSA

Posted: Sat Jul 18, 2009 11:34 pm
by dArAzAc
Hello, so I picked up an M-Audio FastTrack Ultra on the whim of it being a "plug & play" USB 2.0 audio interface with the perfect amount of I/O's. I'm having trouble getting Jack to cooperate with it-- It instantly recognized the device as hw:1, the server crashes on startup... Are there some kind of drivers that I need to install for a USB interface?

Thanks for any insight.

Activism!

Posted: Sun Jul 19, 2009 3:48 pm
by dArAzAc
I suggest that everybody who wants to receive further Linux support from M-Audio (for any product) post here: http://forums.m-audio.com/showthread.ph ... #post47731
Let us show them that we are a strong and growing community, let us show them that it is in their best interest to support us.

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Tue Jul 21, 2009 7:05 am
by Yeri
dArAzAc wrote:Hello, so I picked up an M-Audio FastTrack Ultra on the whim of it being a "plug & play" USB 2.0 audio interface with the perfect amount of I/O's. I'm having trouble getting Jack to cooperate with it-- It instantly recognized the device as hw:1, the server crashes on startup... Are there some kind of drivers that I need to install for a USB interface?

Thanks for any insight.
Could you post the jack output ?

anyway.. other suggestions:
(1) check in /proc/asound/cards that your m-audio has the id # (where # is the number in hw:#)
(2) make sure that the identifiers of the input and output interfaces are right (hw:1,0 , hw:1,1 , ...)
(3) make sure that your card runs with a high rt priority
* sudo lsusb -v ---> should tell the usb port where your card is connected to
* cat /proc/interrupts ---> should tell the associated irq
* Now i don't remember exactly how it is done to check a thread's priority with 'ps'.. but I'm sure that there is a way to do so.

Hope it helps :)

Gerard.

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Tue Jul 21, 2009 7:27 am
by raboof
Yeri wrote:Now i don't remember exactly how it is done to check a thread's priority with 'ps'.. but I'm sure that there is a way to do so.
http://wiki.linuxmusicians.com/doku.php ... priorities ?

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Wed Jul 22, 2009 1:47 pm
by Yeri
raboof wrote:
Yeri wrote:Now i don't remember exactly how it is done to check a thread's priority with 'ps'.. but I'm sure that there is a way to do so.
http://wiki.linuxmusicians.com/doku.php ... priorities ?
Yes.. that's it.. I was looking for the 'H' option
Thanks raboof

Gerard.

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Thu Jul 23, 2009 5:23 pm
by dArAzAc
Yeri wrote: Could you post the jack output ?

anyway.. other suggestions:
(1) check in /proc/asound/cards that your m-audio has the id # (where # is the number in hw:#)
(2) make sure that the identifiers of the input and output interfaces are right (hw:1,0 , hw:1,1 , ...)
(3) make sure that your card runs with a high rt priority
* sudo lsusb -v ---> should tell the usb port where your card is connected to
* cat /proc/interrupts ---> should tell the associated irq
* Now i don't remember exactly how it is done to check a thread's priority with 'ps'.. but I'm sure that there is a way to do so.

Hope it helps :)

Gerard.
Jack lists the device as hw:1 Fast Track Ultra
/proc/asound/cards seems right on with JACK

Code: Select all

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf6500000 irq 22
 1 [Ultra          ]: USB-Audio - Fast Track Ultra
                      M-Audio Fast Track Ultra at usb-0000:00:1a.7-4, high speed
I think that the issue is ALSA not recognizing the card:

Code: Select all

dar@euclid:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I think that I need to install the snd-usb-audio module(if it isn't by default), but I can't seem to find a guide, will it auto install if I compile alsa-firmware-1.0.20 from source?

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 4:11 pm
by spm_gl
have you tried

Code: Select all

sudo modprobe snd-usb-audio
?

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 5:38 pm
by raboof
dArAzAc wrote:/proc/asound/cards

Code: Select all

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf6500000 irq 22
 1 [Ultra          ]: USB-Audio - Fast Track Ultra
                      M-Audio Fast Track Ultra at usb-0000:00:1a.7-4, high speed
I think that the issue is ALSA not recognizing the card:

Code: Select all

dar@euclid:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
That's pretty strange: I don't think I've seen /proc/asound/cards and 'aplay -l' disagree before. When I unload my soundcard's module, it disappears from both /proc/asound/cards and aplay.

Perhaps ask the alsa guys? I seem to remember they have a quite active irc channel and mailinglist.

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 8:15 pm
by dArAzAc
raboof wrote: That's pretty strange: I don't think I've seen /proc/asound/cards and 'aplay -l' disagree before. When I unload my soundcard's module, it disappears from both /proc/asound/cards and aplay.

Perhaps ask the alsa guys? I seem to remember they have a quite active irc channel and mailinglist.
I'm now convinced that the issue lies in this somehow, I'm trying to get help via the ALSA IRC with no luck, hmm.

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 8:46 pm
by kaimerra
What is the output of

Code: Select all

dmesg |tail
right after you plug the device in?

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 8:55 pm
by dArAzAc
kaimerra wrote:What is the output of

Code: Select all

dmesg |tail
right after you plug the device in?

Code: Select all

[   68.744361]   groups: 01 02
[   68.744364] CPU1 attaching sched-domain:
[   68.744365]  domain 0: span 03
[   68.744367]   groups: 02 01
[   69.621572] NET: Registered protocol family 17
[   73.462090] eth1: no IPv6 routers present
[   92.328118] eth1: no IPv6 routers present
[  550.110124] usb 4-4: new high speed USB device using ehci_hcd and address 2
[  550.228285] usb 4-4: configuration #1 chosen from 2 choices
[  550.359397] usbcore: registered new interface driver snd-usb-audio

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 9:19 pm
by raboof
Could you post the output of 'ls -alFh /dev/snd/' ?

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 9:21 pm
by dArAzAc
raboof wrote:Could you post the output of 'ls -alFh /dev/snd/' ?
Gladly :mrgreen:

Code: Select all

total 0
drwxr-xr-x   2 root root      200 2009-07-24 16:54 ./
drwxr-xr-x  13 root root      14K 2009-07-24 16:54 ../
crw-rw----+  1 root audio 116,  0 2009-07-24 16:46 controlC0
crw-rw----+  1 root audio 116, 32 2009-07-24 16:54 controlC1
crw-rw----+  1 root audio 116,  4 2009-07-24 16:46 hwC0D0
crw-rw----+  1 root audio 116, 40 2009-07-24 16:54 midiC1D0
crw-rw----+  1 root audio 116, 24 2009-07-24 16:46 pcmC0D0c
crw-rw----+  1 root audio 116, 16 2009-07-24 16:48 pcmC0D0p
crw-rw----+  1 root audio 116,  1 2009-07-24 16:46 seq
crw-rw----+  1 root audio 116, 33 2009-07-24 16:46 timer

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 9:32 pm
by raboof
dArAzAc wrote:

Code: Select all

crw-rw----+  1 root audio 116,  0 2009-07-24 16:46 controlC0
crw-rw----+  1 root audio 116, 32 2009-07-24 16:54 controlC1
Right - so there really seem to be 2 cards - perhaps there are no PCM devices recognised on the second one? Could you paste 'ls -alFh /proc/asound/card1' ? Normally it should include at least one 'pcm*p' directory.

Re: M-Audio FastTrack Ultra and Jack/ALSA

Posted: Fri Jul 24, 2009 10:33 pm
by dArAzAc
raboof wrote: Right - so there really seem to be 2 cards - perhaps there are no PCM devices recognised on the second one? Could you paste 'ls -alFh /proc/asound/card1' ? Normally it should include at least one 'pcm*p' directory.
Hmm, so ALSA is at least recognizing both cards?

Code: Select all

total 0
dr-xr-xr-x 2 root root 0 2009-07-24 18:31 ./
dr-xr-xr-x 6 root root 0 2009-07-24 18:31 ../
-r--r--r-- 1 root root 0 2009-07-24 18:31 id
-r--r--r-- 1 root root 0 2009-07-24 18:31 midi0
-rw-r--r-- 1 root root 0 2009-07-24 18:31 oss_mixer
-r--r--r-- 1 root root 0 2009-07-24 18:31 usbbus
-r--r--r-- 1 root root 0 2009-07-24 18:31 usbid