You are not logged in.

#1 2012-08-13 21:21:02

Liuuutas
Member
From: Cambridge
Registered: 2009-05-02
Posts: 71

[SOLVED] Jack2 and M-Audio FTP not playing nice together.

Hello people,

I know, that this might be a very stupid error, but I stopped believing to be able to solve it my self.

So the problem is that when I start my qjackctl, which in turn starts jack2 via dbus (provided by jack2-dbus) package, I do not get my inputs recognized and the log from qjackctl is as follows:

Mon Aug 13 22:13:43 2012: Starting jack server...
Mon Aug 13 22:13:43 2012: JACK server starting in realtime mode with priority 70
Mon Aug 13 22:13:43 2012: control device hw:5
Mon Aug 13 22:13:43 2012: control device hw:5
Mon Aug 13 22:13:43 2012: Acquired audio card Audio5
Mon Aug 13 22:13:43 2012: creating alsa driver ... hw:5|hw:5|256|3|44100|0|0|nomon|swmeter|-|32bit
Mon Aug 13 22:13:43 2012: control device hw:5
Mon Aug 13 22:13:43 2012: [1m[31mERROR: ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode[0m
Mon Aug 13 22:13:43 2012: configuring for 44100Hz, period = 256 frames (5.8 ms), buffer = 3 periods
Mon Aug 13 22:13:43 2012: ALSA: final selected sample format for playback: 24bit big-endian
Mon Aug 13 22:13:43 2012: ALSA: use 3 periods for playback
Mon Aug 13 22:13:43 2012: port created: Midi-Through:midi/playback_1
Mon Aug 13 22:13:43 2012: port created: Midi-Through:midi/capture_1
Mon Aug 13 22:13:43 2012: port created: FastTrack-Pro:midi/playback_1
Mon Aug 13 22:13:43 2012: port created: FastTrack-Pro:midi/capture_1
Mon Aug 13 22:13:43 2012: graph reorder: new port 'system:playback_1'
Mon Aug 13 22:13:43 2012: New client 'system' with PID 0
Mon Aug 13 22:13:43 2012: graph reorder: new port 'system:playback_2'
Mon Aug 13 22:13:43 2012: graph reorder: new port 'system:midi_capture_1'
Mon Aug 13 22:13:43 2012: graph reorder: new port 'system:midi_playback_1'
Mon Aug 13 22:13:43 2012: graph reorder: new port 'system:midi_capture_2'
Mon Aug 13 22:13:43 2012: graph reorder: new port 'system:midi_playback_2'
Mon Aug 13 22:13:44 2012: Saving settings to "/home/gns-ank/.config/jack/conf.xml" ...

Does anybody know what's happening?

My /etc/modprobe.d/modprobe.conf is:

# Options
options thinkpad_acpi experimental=1 hotkey_report_mode=2
options snd_hda_intel model=thinkpad

# M-Audio FTP config from Joe Giampaoli tutorial
# 
# device setup bit meanings:
#    (a) 0×01 : use the device_setup parameter, always needed
#    (b) 0×02 : enable digital output (channels 3,4)
#    (c) 0×04 : use 48kHz-96kHz sampling rate, 8-48 kHz if not used
#    (d) 0×08 : 24bit sampling rate
#    (e) 0×10 : enable digital input (channels 3,4)
#

options	snd_usb_audio vid=0x763 pid=0x2012 index=5 enable=1

# (a) + (d)
options snd_usb_audio device_setup=0x09  

If anybody needs more info, I will be glad to provide it.

Cheers,
I.

EDIT 1: Before somebody asks, yes, I'm using pulseaudio, but previously there where no problems and it shouldn't be involved in this issue, as the issue remains when I kill pulseaudio.

EDIT 2: The problem seems to be jack2-dbus interface related or jack2 asynchronous operation is to blame. Though everything works if I use jackd -S.

EDIT 3: The solution is in the next post

Last edited by Liuuutas (2012-08-26 21:15:02)

Offline

#2 2012-08-26 21:09:12

Liuuutas
Member
From: Cambridge
Registered: 2009-05-02
Posts: 71

Re: [SOLVED] Jack2 and M-Audio FTP not playing nice together.

Ok, just to update for the people who are wondering (like I was) how to get jack2 dbus working properly...

This was in the end some issue with groups as when I ran qjackctl (with jack2-dbus) with root permission (using gksudo) it worked.

So I went and searched for groups, which might have to do something with this... So I added my user to these groups:

games optical storage power rtkit

However, I have no idea, which group did the trick, as I was too lazy to test them all...

Then I followed this advice (delete all jack and qjackctl configs). One additional tip - turn off qjackctl before doing this and reboot your machine afterwards just in case.

Hope that this helps for somebody...

No I have Pulse and Jack working together as they should... smile

Last edited by Liuuutas (2012-08-26 21:09:54)

Offline

#3 2012-09-07 20:29:00

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [SOLVED] Jack2 and M-Audio FTP not playing nice together.

For the record, it was rtkit. Thanks for finding this. Bumping so I or someone else can remember to put this in the wiki (very little PulseAudio advice in the pro audio articles).


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB