Jack not finding M-Audio Fast Track device

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

Jack not finding M-Audio Fast Track device

Postby aeb105 » Wed Feb 29, 2012 4:47 am

Jack is not detecting my M-Audio Pro soundcard. I am running Ubuntu Oneiric. I can see it in Ubuntu Sound settings, although it doesn't show in the "input" or record section like it should. I disabled the onboard card to see if would help Jack detect it-no dice. Here is the error Jack is giving me:

23:46:31.840 Patchbay deactivated.
23:46:31.841 Statistics reset.
23:46:31.845 JACK is starting...
23:46:31.846 /usr/bin/jackd -dalsa -dhw:0 -r44100 -p256 -n2 -H
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
jackdmp 1.9.7
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
Cannot lock down memory area (Cannot allocate memory)
control device hw:0
control open "hw:0" (No such file or directory)
control device hw:0
control open "hw:0" (No such file or directory)
audio_reservation_init
process 26435: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file ../../dbus/dbus-message.c line 1204.
This is normally a bug in some application using the D-Bus library.
Failed to acquire device name : Audio-1 error : Cannot allocate memory
Audio device hw:0 cannot be acquired, trying to open it anyway...
23:46:32.087 JACK was started with PID=26435.
creating alsa driver ... hw:0|hw:0|256|2|44100|0|0|hwmon|swmeter|-|32bit
control device hw:0
control open "hw:0" (No such file or directory)
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Cannot initialize driver
JackServer::Open() failed with -1
Failed to open server
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby Pablo » Thu Mar 01, 2012 9:05 pm

The first thing you have to do is adding your user to the audio group, so that you gain memlock and rtprio privileges, which you don't seem to have right now. There are probably more tweaks needed, but this is THE essential thing to do. In a terminal:

sudo adduser your_user_name audio

And restart.
Pablo
Establlshed Member
 
Posts: 987
Joined: Thu Apr 17, 2008 9:57 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Fri Mar 02, 2012 6:18 am

No dice. I am now using AVLinux Live CD now and I still get this:

control device hw:0
control open "hw:0" (No such file or directory)
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Cannot initialize driver
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby Pablo » Fri Mar 02, 2012 8:53 am

A recent patch in the linux ehci module solved the problem of "not enough bandwidth" that prevented USB cards from running in duplex mode in some hardware configuration (typically, laptops / notebooks with an integrated USB2 intel chipset).

I think AVLinux has upgraded the kernel to include this patch. Try the last one from http://www.bandshed.net/Packages.html

EDIT: Umm, you are running AVLinux Live DVD. Probably, buggy echi driver. I suggest you install AVLinux and then upgrade the kernel.

EDIT again: To put all of this into context, I am aware of this problem thanks to Clemens Ladisch's (linux / alsa developer) comments in linux audio and alsa user mailing lists. See:

http://old.nabble.com/No-duplex-mode-wi ... 99593.html

Anyway, yo make sure you are facing this problem, what is the output of:

lscpi | grep -i usb
lsusb
uname -a

?
Pablo
Establlshed Member
 
Posts: 987
Joined: Thu Apr 17, 2008 9:57 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Fri Mar 02, 2012 4:46 pm

Pablo,

Thanks for taking your time to help. I am back in my regular Ubuntu Oneiric distro now. Here is the output of the commands you asked:


ron@ron-System-Product-Name:~$ lscpi | grep -i usb
No command 'lscpi' found, did you mean:
Command 'lscpu' from package 'util-linux' (main)
Command 'lscp' from package 'nilfs-tools' (universe)
Command 'lspci' from package 'pciutils' (main)
lscpi: command not found

ron@ron-System-Product-Name:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0763:2012 Midiman M-Audio Fast Track Pro
Bus 002 Device 003: ID 04f3:0103 Elan Microelectronics Corp.

ron@ron-System-Product-Name:~$ uname -a
Linux ron-System-Product-Name 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby Pablo » Fri Mar 02, 2012 11:15 pm

Sorry, I meant:

lspci | grep -i usb


I suggest you try installing a 3.2 ubuntu kernel. You could do somethig like:

gksudo gedit /etc/apt/sources.list

Replace "oneiric" with "precise". Save.

sudo apt-get update && sudo apt-get install linux-image-generic

Now, revert the changes in /etc/apt/sources.list !!!

Restart the computer, select the new kernel. If something else goes wrong, you can always start with the 3.0 kernel.

Try jack now and see if it works in duplex mode.

Cheers, Pablo
Pablo
Establlshed Member
 
Posts: 987
Joined: Thu Apr 17, 2008 9:57 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Sat Mar 03, 2012 4:55 am

Okay, I will follow your instructions and upgrade my kernel. Did you mean replace every instance of Oneiric in that file? There are many instances. Is there a certain line?




Here is the output you requested. Thanks.

ron@ron-System-Product-Name:~$ lspci | grep -i usb
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
01:06.0 USB Controller: OPTi Inc. 82C861 (rev 10)
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby Pablo » Sat Mar 03, 2012 8:58 am

Did you mean replace every instance of Oneiric in that file? There are many instances. Is there a certain line?


To make things easier, just replace all coincidences. Please, don't forget to revert the changes after installing the linux-image-generic.
Pablo
Establlshed Member
 
Posts: 987
Joined: Thu Apr 17, 2008 9:57 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Sat Mar 03, 2012 9:07 am

Okay I upgraded and did the sudo audio username thing above you mentioned as well.

$ uname -a
Linux ron-System-Product-Name 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 15:37:36 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

ron@ron-System-Product-Name:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0763:2012 Midiman M-Audio Fast Track Pro
Bus 002 Device 003: ID 04f3:0103 Elan Microelectronics Corp.



Here is the new error. It looks the same I guess:

04:04:56.191 Patchbay deactivated.
04:04:56.192 Statistics reset.
04:04:56.275 ALSA connection change.
04:04:56.584 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
04:04:56.592 ALSA connection graph change.
04:04:58.349 D-BUS: JACK server could not be started. Sorry
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Sat Mar 3 04:04:58 2012: Starting jack server...
Sat Mar 3 04:04:58 2012: JACK server starting in realtime mode with priority 10
Sat Mar 3 04:04:58 2012: control device hw:0
Sat Mar 3 04:04:58 2012: ERROR: control open "hw:0" (No such file or directory)
Sat Mar 3 04:04:58 2012: control device hw:0
Sat Mar 3 04:04:58 2012: ERROR: control open "hw:0" (No such file or directory)
Sat Mar 3 04:04:58 2012: Acquired audio card Audio-1
Sat Mar 3 04:04:58 2012: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Sat Mar 3 04:04:58 2012: control device hw:0
Sat Mar 3 04:04:58 2012: ERROR: control open "hw:0" (No such file or directory)
Sat Mar 3 04:04:58 2012: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Sat Mar 3 04:04:58 2012: ERROR: Cannot initialize driver
Sat Mar 3 04:04:58 2012: ERROR: JackServer::Open() failed with -1
Sat Mar 3 04:04:58 2012: ERROR: Failed to open server
Sat Mar 3 04:04:59 2012: Saving settings to "/home/ron/.config/jack/conf.xml" ...
04:05:02.183 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby Pablo » Sat Mar 03, 2012 1:16 pm

What are the outputs of

cat /proc/asound/cards /proc/asound/modules

cat /proc/interrupts

?
Pablo
Establlshed Member
 
Posts: 987
Joined: Thu Apr 17, 2008 9:57 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Sat Mar 03, 2012 6:11 pm

ron@ron-System-Product-Name:~$ cat /proc/asound/cards
1 [Pro ]: USB-Audio - FastTrack Pro
M-Audio FastTrack Pro at usb-0000:00:02.0-1, full speed

ron@ron-System-Product-Name:~$ /proc/asound/modules
bash: /proc/asound/modules: Permission denied

ron@ron-System-Product-Name:~$ cat /proc/interrupts
CPU0 CPU1
0: 41 192 IO-APIC-edge timer
1: 0 2 IO-APIC-edge i8042
6: 0 3 IO-APIC-edge floppy
7: 1 0 IO-APIC-edge parport0
8: 0 1 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 430864 385 IO-APIC-edge i8042
14: 0 0 IO-APIC-edge pata_amd
15: 163232 17396 IO-APIC-edge pata_amd
16: 0 0 IO-APIC-fasteoi ohci_hcd:usb3
17: 495 21 IO-APIC-fasteoi firewire_ohci
18: 1167 879933 IO-APIC-fasteoi nvidia
20: 287799 10864 IO-APIC-fasteoi ohci_hcd:usb2
21: 0 3 IO-APIC-fasteoi ehci_hcd:usb1
22: 50654 5585 IO-APIC-fasteoi sata_nv
23: 45745 82 IO-APIC-fasteoi sata_nv, eth0
NMI: 283 303 Non-maskable interrupts
LOC: 3489812 4597621 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 283 303 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RES: 11804321 11828867 Rescheduling interrupts
CAL: 17238 9795 Function call interrupts
TLB: 30787 31480 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 110 110 Machine check polls
ERR: 1
MIS: 0
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby Pablo » Sun Mar 04, 2012 12:37 am

cat /proc/asound/cards
1 [Pro ]: USB-Audio - FastTrack Pro


Oh, it is card number 1, not 0. I wrongly assumed you had that part right. In adition, I had forgotten that the Fast Track Pro has different devices for capture and playback. So, just to check and sorry to bother you again, please show the output of:

arecord -l && aplay -l

Anyway, I think device 0 is playback only, while device 1 is duplex. Try this:

In qjackctl, interface, default, input device, hw:1,1 . Output device, hw:1,0

Cheers, Pablo
Pablo
Establlshed Member
 
Posts: 987
Joined: Thu Apr 17, 2008 9:57 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Sun Mar 04, 2012 1:01 am

ron@ron-System-Product-Name:~$ arecord -l && aplay -l
**** List of CAPTURE Hardware Devices ****
card 1: Pro [FastTrack Pro], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Pro [FastTrack Pro], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
**** List of PLAYBACK Hardware Devices ****
card 1: Pro [FastTrack Pro], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Pro [FastTrack Pro], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Sun Mar 04, 2012 2:06 am

Okay I see the 1,0 and 1,1 and entered them as you said: Interface (default), Input (1,1), Output (1,0).

Sat Mar 3 21:03:56 2012: Starting jack server...
Sat Mar 3 21:03:56 2012: JACK server starting in realtime mode with priority 10
Sat Mar 3 21:03:56 2012: control device hw:0
Sat Mar 3 21:03:56 2012: ERROR: control open "hw:0" (No such file or directory)
Sat Mar 3 21:03:56 2012: control device hw:1
Sat Mar 3 21:03:56 2012: ERROR: Failed to acquire device name : Audio-1 error : Cannot allocate memory
Sat Mar 3 21:03:56 2012: ERROR: Audio device hw:0 cannot be acquired...
Sat Mar 3 21:03:56 2012: ERROR: Cannot initialize driver
Sat Mar 3 21:03:56 2012: ERROR: JackServer::Open() failed with -1
Sat Mar 3 21:03:56 2012: ERROR: Failed to open server
Sat Mar 3 21:03:57 2012: Saving settings to "/home/tom/.config/jack/conf.xml" ...
Sat Mar 3 21:03:57 2012: ERROR: open() failed to open conf filename. error is 28 (No space left on device)
21:04:00.328 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Re: Jack not finding M-Audio Fast Track device

Postby aeb105 » Sun Mar 04, 2012 2:09 am

Okay, here it is starting now when I put in Fast Track Pro Device under Interface and leave the others default. Thanks. There is only one thing now, when I upgraded it didn't work so I downloaded the dvd and ran an upgrade in that fashion. Its telling me hard drive out of space. I have deleted all things and emptied my trash and it still is not registering. I am out of space now and can't run programs.

Sat Mar 3 21:08:12 2012: Starting jack server...
Sat Mar 3 21:08:12 2012: JACK server starting in realtime mode with priority 10
Sat Mar 3 21:08:13 2012: control device hw:1
Sat Mar 3 21:08:13 2012: control device hw:1
Sat Mar 3 21:08:13 2012: Acquired audio card Audio1
Sat Mar 3 21:08:13 2012: creating alsa driver ... hw:1,1|hw:1|1024|2|44100|0|0|nomon|swmeter|-|32bit
Sat Mar 3 21:08:13 2012: control device hw:1
Sat Mar 3 21:08:13 2012: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
Sat Mar 3 21:08:13 2012: ALSA: final selected sample format for capture: 16bit little-endian
Sat Mar 3 21:08:13 2012: ALSA: use 2 periods for capture
Sat Mar 3 21:08:13 2012: ALSA: final selected sample format for playback: 16bit little-endian
Sat Mar 3 21:08:13 2012: ALSA: use 2 periods for playback
Sat Mar 3 21:08:13 2012: graph reorder: new port 'system:capture_1'
Sat Mar 3 21:08:13 2012: New client 'system' with PID 0
Sat Mar 3 21:08:13 2012: graph reorder: new port 'system:capture_2'
Sat Mar 3 21:08:13 2012: graph reorder: new port 'system:playback_1'
Sat Mar 3 21:08:13 2012: graph reorder: new port 'system:playback_2'
Sat Mar 3 21:08:14 2012: Saving settings to "/home/tom/.config/jack/conf.xml" ...
Sat Mar 3 21:08:14 2012: ERROR: open() failed to open conf filename. error is 28 (No space left on device)
21:08:15.246 JACK connection change.
21:08:15.249 Statistics reset.
21:08:15.257 Client activated.
21:08:15.288 JACK connection graph change.
Sat Mar 3 21:08:15 2012: New client 'qjackctl' with PID 3747



Then I restarted and opened Qjactl again and got this:

Sat Mar 3 23:12:42 2012: Starting jack server...
Sat Mar 3 23:12:42 2012: JACK server starting in realtime mode with priority 10
Sat Mar 3 23:12:42 2012: control device hw:0
Sat Mar 3 23:12:42 2012: ERROR: control open "hw:0" (No such file or directory)
Sat Mar 3 23:12:42 2012: control device hw:0
Sat Mar 3 23:12:42 2012: ERROR: control open "hw:0" (No such file or directory)
Sat Mar 3 23:12:42 2012: Acquired audio card Audio-1
Sat Mar 3 23:12:42 2012: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Sat Mar 3 23:12:42 2012: control device hw:0
Sat Mar 3 23:12:42 2012: ERROR: control open "hw:0" (No such file or directory)
Sat Mar 3 23:12:42 2012: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Sat Mar 3 23:12:42 2012: ERROR: Cannot initialize driver
Sat Mar 3 23:12:42 2012: ERROR: JackServer::Open() failed with -1
Sat Mar 3 23:12:42 2012: ERROR: Failed to open server
Sat Mar 3 23:12:43 2012: Saving settings to "/home/tom/.config/jack/conf.xml" ...
23:12:46.137 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started


I think it is resetting the Interface everytime I restart and even now when I go in and change it, it goes back to (default).
aeb105
Establlshed Member
 
Posts: 194
Joined: Tue Feb 28, 2012 10:38 pm

Next

Return to System Tuning and Configuration

Who is online

Users browsing this forum: No registered users and 2 guests

cron