M-Audio FastTrack Ultra and Jack/ALSA

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

dArAzAc
Established Member
Posts: 43
Joined: Sat Jun 27, 2009 7:14 am
Location: Atlanta, Ga
Contact:

M-Audio FastTrack Ultra and Jack/ALSA

Postby dArAzAc » Sat Jul 18, 2009 11:34 pm

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.
Listen to my audio!@http://dArAzAc.bandcamp.com
Current Rig: Dell Vostro 1520, Arch Linux, Novation Remote25SL, and my trusty guitar.
<3 ZynAddSubFX

dArAzAc
Established Member
Posts: 43
Joined: Sat Jun 27, 2009 7:14 am
Location: Atlanta, Ga
Contact:

Activism!

Postby dArAzAc » Sun Jul 19, 2009 3:48 pm

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.
Listen to my audio!@http://dArAzAc.bandcamp.com
Current Rig: Dell Vostro 1520, Arch Linux, Novation Remote25SL, and my trusty guitar.
<3 ZynAddSubFX

User avatar
Yeri
Established Member
Posts: 158
Joined: Tue Dec 09, 2008 6:33 pm
Location: Spain

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby Yeri » Tue Jul 21, 2009 7:05 am

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.

User avatar
raboof
Established Member
Posts: 1530
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby raboof » Tue Jul 21, 2009 7:27 am

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 ?

User avatar
Yeri
Established Member
Posts: 158
Joined: Tue Dec 09, 2008 6:33 pm
Location: Spain

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby Yeri » Wed Jul 22, 2009 1:47 pm

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.

dArAzAc
Established Member
Posts: 43
Joined: Sat Jun 27, 2009 7:14 am
Location: Atlanta, Ga
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby dArAzAc » Thu Jul 23, 2009 5:23 pm

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?
Listen to my audio!@http://dArAzAc.bandcamp.com
Current Rig: Dell Vostro 1520, Arch Linux, Novation Remote25SL, and my trusty guitar.
<3 ZynAddSubFX

User avatar
spm_gl
Established Member
Posts: 358
Joined: Wed Apr 22, 2009 7:58 am
Location: Spreewald, Germany
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby spm_gl » Fri Jul 24, 2009 4:11 pm

have you tried

Code: Select all

sudo modprobe snd-usb-audio
?
--- Spreemusik ---
Jan Fuchsmann, Audio Engineer
Check our blog at http://www.spreemusik.com/blog

User avatar
raboof
Established Member
Posts: 1530
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby raboof » Fri Jul 24, 2009 5:38 pm

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.

dArAzAc
Established Member
Posts: 43
Joined: Sat Jun 27, 2009 7:14 am
Location: Atlanta, Ga
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby dArAzAc » Fri Jul 24, 2009 8:15 pm

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.
Listen to my audio!@http://dArAzAc.bandcamp.com
Current Rig: Dell Vostro 1520, Arch Linux, Novation Remote25SL, and my trusty guitar.
<3 ZynAddSubFX

User avatar
kaimerra
Established Member
Posts: 91
Joined: Sun Jan 04, 2009 9:41 am
Location: Minnesota, USA

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby kaimerra » Fri Jul 24, 2009 8:46 pm

What is the output of

Code: Select all

dmesg |tail
right after you plug the device in?

dArAzAc
Established Member
Posts: 43
Joined: Sat Jun 27, 2009 7:14 am
Location: Atlanta, Ga
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby dArAzAc » Fri Jul 24, 2009 8:55 pm

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
Listen to my audio!@http://dArAzAc.bandcamp.com
Current Rig: Dell Vostro 1520, Arch Linux, Novation Remote25SL, and my trusty guitar.
<3 ZynAddSubFX

User avatar
raboof
Established Member
Posts: 1530
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby raboof » Fri Jul 24, 2009 9:19 pm

Could you post the output of 'ls -alFh /dev/snd/' ?

dArAzAc
Established Member
Posts: 43
Joined: Sat Jun 27, 2009 7:14 am
Location: Atlanta, Ga
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby dArAzAc » Fri Jul 24, 2009 9:21 pm

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
Listen to my audio!@http://dArAzAc.bandcamp.com
Current Rig: Dell Vostro 1520, Arch Linux, Novation Remote25SL, and my trusty guitar.
<3 ZynAddSubFX

User avatar
raboof
Established Member
Posts: 1530
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby raboof » Fri Jul 24, 2009 9:32 pm

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.

dArAzAc
Established Member
Posts: 43
Joined: Sat Jun 27, 2009 7:14 am
Location: Atlanta, Ga
Contact:

Re: M-Audio FastTrack Ultra and Jack/ALSA

Postby dArAzAc » Fri Jul 24, 2009 10:33 pm

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
Listen to my audio!@http://dArAzAc.bandcamp.com
Current Rig: Dell Vostro 1520, Arch Linux, Novation Remote25SL, and my trusty guitar.
<3 ZynAddSubFX


Return to “Computer Related Hardware”

Who is online

Users browsing this forum: No registered users and 1 guest