[PlanetCCRMA] Firewire Audio Interface on F14 & qjackctl

Bruno Ruviaro ruviaro at stanford.edu
Sat Feb 12 16:23:51 PST 2011


Hi,

I'm having a hard time to get my firewire Edirol FA-101 to work with qjackctl on Fedora 14. No luck so far with Google searches or tweaking Jack settings.
I found a firewire diagnostic script posted on the planetccrma list, and after running it I got the results below. If anyone has any tip of what to do, I would greatly appreciate. Thanks!

Bruno

- - -

[ruviaro at btr ~]$ ./fwdiag
 
=======================================
=======================================
==> <==
==> fwdiag <==
==> <==
==> ffado / jack / ccrma / 1394 <==
==> diagnostic utility <==
==> <==
=======================================
=======================================
 
checking system configuration
starting ffado-test
starting ffado-diag
if jackd works, you can use QjackCtl to stop it
starting jackd

 
=======================================
=======================================
==> <==
==> fwdiag <==
==> <==
==> ffado / jack / ccrma / 1394 <==
==> diagnostic utility <==
==> <==
=======================================
=======================================
 
 
=====> uname -a
Linux btr 2.6.35.11-83.fc14.i686 #1 SMP Mon Feb 7 07:04:18 UTC 2011 i686 i686 i386 GNU/Linux
 
=====> rpm -qa | grep jack
jack-audio-connection-kit-1.9.6-2.fc14.i686
jack-audio-connection-kit-devel-1.9.6-2.fc14.i686
qjackctl-0.3.7-1.fc14.i686
jack_capture-0.9.56-1.fc14.1.i686
 
=====> rpm -qa | grep ffado
ffado-2.1.0-0.1.20101015.svn1913.fc14.i686
libffado-2.1.0-0.1.20101015.svn1913.fc14.i686
 
=====> rpm -qa | grep 1394
libraw1394-2.0.5-2.fc14.i686
libavc1394-0.5.3-9.fc12.i686
libdc1394-2.1.2-3.fc12.i686
 
=====> rpm -qa | grep libxml
libxml2-python-2.7.7-2.fc14.i686
libxml++-2.33.1-1.fc14.i686
libxml2-2.7.7-2.fc14.i686
 
=====> yum repolist
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Adding en_US to language list
Determining fastest mirrors
 * fedora: mirrors.usc.edu
 * rpmfusion-free: mirrors.cat.pdx.edu
 * rpmfusion-free-updates: mirrors.cat.pdx.edu
 * rpmfusion-nonfree: mirrors.cat.pdx.edu
 * rpmfusion-nonfree-updates: mirrors.cat.pdx.edu
 * updates: mirrors.kernel.org
repo id                    repo name                                      status
Dropbox                    Dropbox Repository                                  4
adobe-linux-i386           Adobe Systems Incorporated                         18
fedora                     Fedora 14 - i386                               17,883
fedora-firefox4            Firefox 4 Web Browser                              17
google                     Google - i386                                       5
google-chrome              google-chrome                                       3
planetccrma                Planet CCRMA 14 - i386                            221
planetcore                 Planet CCRMA Core 14 - i386                        15
rpmfusion-free             RPM Fusion for Fedora 14 - Free                   364
rpmfusion-free-updates     RPM Fusion for Fedora 14 - Free - Updates         371
rpmfusion-nonfree          RPM Fusion for Fedora 14 - Nonfree                176
rpmfusion-nonfree-updates  RPM Fusion for Fedora 14 - Nonfree - Updates      186
updates                    Fedora 14 - i386 - Updates                      4,949
repolist: 24,212
 
=====> ls -al /usr/lib*/jack/jack_firewire.so
-rwxr-xr-x. 1 root root 43584 Nov 12 19:29 /usr/lib/jack/jack_firewire.so
 
=====> ls -al /usr/lib*/libffado.so*
lrwxrwxrwx. 1 root root      19 Dec  1 08:53 /usr/lib/libffado.so.2 -> libffado.so.2.999.0
-rwxr-xr-x. 1 root root 2059412 Oct 15 00:48 /usr/lib/libffado.so.2.999.0
 
=====> grep SEL /etc/sysconfig/selinux
SELINUX=enforcing
SELINUXTYPE=targeted
 
=====> ls -l /etc/security/limits.d
-rw-r--r--. 1 root root 152 Nov  2 05:31 90-nproc.conf
-rw-r--r--. 1 root root 151 Nov 12 19:29 99-jack.conf
 
=====> tail -4 /etc/security/limits.conf
@audio – memlock unlimited
@audio – nice -10

# End of file
 
=====> /etc/rc.d/init.d/rtirq status
./fwdiag: line 74: /etc/rc.d/init.d/rtirq: No such file or directory
 
=====> grep . /sys/bus/ieee1394/devices/fw-host0/*
grep: /sys/bus/ieee1394/devices/fw-host0/*: No such file or directory
 
=====> ls -al /dev/*1394*
ls: cannot access /dev/*1394*: No such file or directory
 
=====> dmesg | grep 1394
 
=====> lspci | grep 1394
06:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
 
=====> lsmod | grep 1394
 
=====> lsmod | grep snd
snd_seq_dummy           1306  0
snd_hda_codec_realtek   210808  1
snd_hda_intel          20151  2
snd_hda_codec          71701  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4795  1 snd_hda_codec
snd_seq                43435  4 snd_seq_dummy
snd_seq_device          5056  2 snd_seq_dummy,snd_seq
snd_pcm                61769  2 snd_hda_intel,snd_hda_codec
snd_timer              15435  2 snd_seq,snd_pcm
snd                    47365  14 snd_seq_dummy,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore               5088  1 snd
snd_page_alloc          6180  2 snd_hda_intel,snd_pcm
 
=====> cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdc440000 irq 44
 
 
=====> ffado-test Discover
./fwdiag: line 100: ffado-test: command not found
 
=====> ffado-test ListDevices
./fwdiag: line 103: ffado-test: command not found
 
 


FFADO diagnostic utility 2.999.0-
============================
(C) 2008 Pieter Palmers


=== CHECK ===
 Base system...
  kernel version............ 2.6.35.11-83.fc14.i686
FIXME: implement test for RT kernel
   RT patched............... False
  old 1394 stack present.... False
  old 1394 stack loaded..... False
  old 1394 stack active..... False
  new 1394 stack present.... True
  new 1394 stack loaded..... True
  new 1394 stack active..... True
  /dev/raw1394 node present. False
 Prerequisites (dynamic at run-time)...
   gcc ............... sh: gcc: command not found
   g++ ............... sh: g++: command not found
   PyQt4 (by pyuic4) . sh: pyuic4: command not found
   jackd ............. Cannot create thread 1 Operation not permitted
     path ............ /usr/bin/jackd
     flags ...........  -ljack  
   libraw1394 ........ Package libraw1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw1394' found
     flags ........... Package libraw1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw1394' found
   libavc1394 ........ Package libavc1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavc1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavc1394' found
     flags ........... Package libavc1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavc1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavc1394' found
   libiec61883 ....... Package libiec61883 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libiec61883.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libiec61883' found
     flags ........... Package libiec61883 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libiec61883.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libiec61883' found
   libxml++-2.6 ...... Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
     flags ........... Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
   dbus-1 ............ Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
     flags ........... Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
 Prerequisites (static at compile-time)...
   gcc ............... gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
   g++ ............... g++ (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
   PyQt4 (by pyuic4) . Python User Interface Compiler 4.7.4 for Qt version 4.7.0
   jackd ............. sh: jackd: command not found
     path ............ which: no jackd in (/usr/sbin:/usr/bin:/sbin:/bin:/root/bin:/usr/local/sbin:/builddir/bin)
     flags ........... Package jack was not found in the pkg-config search path.
   libraw1394 ........ 2.0.5
     flags ...........  -lraw1394  
   libavc1394 ........ Package libavc1394 was not found in the pkg-config search path.
     flags ........... Package libavc1394 was not found in the pkg-config search path.
   libiec61883 ....... 1.2.0
     flags ...........  -liec61883 -lraw1394  
   libxml++-2.6 ...... 2.30.0
     flags ........... -pthread -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0  
   dbus-1 ............ 1.4.0
     flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -L/lib -ldbus-1 -lpthread -lrt  
 Hardware...
   Host controllers:
06:04.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a] (prog-if 10 [OHCI])
        Subsystem: Toshiba America Info Systems Device [1179:ff00]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (500ns min, 1000ns max), Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at dc005000 (32-bit, non-prefetchable) [size=2K]
        Region 1: Memory at dc000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: firewire_ohci
        Kernel modules: firewire-ohci

   CPU info:
processor        : 0
vendor_id        : GenuineIntel
cpu family        : 6
model                : 14
model name        : Genuine Intel(R) CPU           T2080  @ 1.73GHz
stepping        : 12
cpu MHz                : 1733.000
cache size        : 1024 KB
physical id        : 0
siblings        : 2
core id                : 0
cpu cores        : 2
apicid                : 0
initial apicid        : 0
fdiv_bug        : no
hlt_bug                : no
f00f_bug        : no
coma_bug        : no
fpu                : yes
fpu_exception        : yes
cpuid level        : 10
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor est tm2 xtpr pdcm
bogomips        : 3457.54
clflush size        : 64
cache_alignment        : 64
address sizes        : 32 bits physical, 32 bits virtual
power management:

processor        : 1
vendor_id        : GenuineIntel
cpu family        : 6
model                : 14
model name        : Genuine Intel(R) CPU           T2080  @ 1.73GHz
stepping        : 12
cpu MHz                : 800.000
cache size        : 1024 KB
physical id        : 0
siblings        : 2
core id                : 1
cpu cores        : 2
apicid                : 1
initial apicid        : 1
fdiv_bug        : no
hlt_bug                : no
f00f_bug        : no
coma_bug        : no
fpu                : yes
fpu_exception        : yes
cpuid level        : 10
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor est tm2 xtpr pdcm
bogomips        : 3457.86
clflush size        : 64
cache_alignment        : 64
address sizes        : 32 bits physical, 32 bits virtual
power management:

 Configuration...
  IRQ information
Hardware Interrupts:
--------------------
 IRQ    0: PID:  None, count:   [312535, 312535], Sched None (priority None), drivers: ['timer']
 IRQ    1: PID:  None, count:           [11, 11], Sched None (priority None), drivers: ['i8042']
 IRQ    8: PID:  None, count:             [1, 1], Sched None (priority None), drivers: ['rtc0']
 IRQ    9: PID:  None, count:     [36029, 36029], Sched None (priority None), drivers: ['acpi']
 IRQ   12: PID:  None, count:         [145, 145], Sched None (priority None), drivers: ['i8042']
 IRQ   14: PID:  None, count:     [38359, 38359], Sched None (priority None), drivers: ['ata_piix']
 IRQ   15: PID:  None, count:     [43200, 43200], Sched None (priority None), drivers: ['ata_piix']
 IRQ   16: PID:  None, count:   [145935, 145935], Sched None (priority None), drivers: ['uhci_hcd:usb5', 'i915', 'yenta']
 IRQ   17: PID:  None, count:   [191243, 191243], Sched None (priority None), drivers: ['firewire_ohci', 'ath']
 IRQ   18: PID:  None, count:     [38389, 38389], Sched None (priority None), drivers: ['uhci_hcd:usb4', 'tifm_7xx1']
 IRQ   19: PID:  None, count:             [0, 0], Sched None (priority None), drivers: ['uhci_hcd:usb3', 'mmc0']
 IRQ   23: PID:  None, count:             [2, 2], Sched None (priority None), drivers: ['ehci_hcd:usb1', 'uhci_hcd:usb2']
 IRQ   43: PID:  None, count:             [0, 0], Sched None (priority None), drivers: ['eth0']
 IRQ   44: PID:  None, count:     [29640, 29640], Sched None (priority None), drivers: ['hda_intel']

Software Interrupts:
--------------------


=== REPORT ===
FireWire kernel drivers:

The new FireWire kernel stack is loaded.
This stack is not supported by FFADO. Please use the old stack.

 
 
 
=====> jackd -v -d firewire -v hw:0
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 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 20
Cannot lock down memory area (Cannot allocate memory)
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: JackSocketServerChannel::Open
Jack: Bind: addr.sun_path /dev/shm/jack_default_500_0
Jack: JackSocketServerChannel::BuildPoolTable size = 1
Jack: JackEngine::Open
Jack: Connect: addr.sun_path /dev/shm/jack_default_500_0
Cannot create thread 1 Operation not permitted
Jack: JackDriver::Open capture_driver_name =
Jack: JackDriver::Open playback_driver_name =
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackPosixSemaphore::Allocate name = jack_sem.500_default_system val = 0
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 1024
Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackDriver::SetupDriverSync driver sem in flush mode
Jack: JackEngine::ClientInternalOpen: name = freewheel
Jack: JackEngine::AllocateRefNum ref = 1
Jack: JackPosixSemaphore::Allocate name = jack_sem.500_default_freewheel val = 0
Jack: JackEngine::NotifyAddClient: name = freewheel
Jack: JackConnectionManager::DirectConnect first: ref1 = 1 ref2 = 1
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackDriver::SetupDriverSync driver sem in flush mode
Jack: JackFFADODriver::Attach fBufferSize 1024 fSampleRate 48000
ERROR: messagebuffer not initialized: 02807613306:  (ffado.cpp)[  92] ffado_streaming_init: libffado 2.999.0- built Oct 15 2010 07:48:37
ERROR: messagebuffer not initialized: 02807619808: Error (PosixThread.cpp)[ 154] Start: Cannot create realtime thread (1: Operation not permitted)
ERROR: messagebuffer not initialized: 02807619920: Error (PosixThread.cpp)[ 155] Start:  priority: 25
firewire ERR: FFADO: Error creating virtual device
Cannot attach audio driver
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 1 ref2 = 1
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackEngine::ClientCloseAux ref = 1
Jack: JackGraphManager::RemoveAllPorts ref = 1
Jack: JackPosixSemaphore::Destroy
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackEngine::ClientCloseAux ref = 0
Jack: JackGraphManager::RemoveAllPorts ref = 0
Jack: JackPosixSemaphore::Destroy
Jack: JackEngine::Close
Jack: JackClientSocket::Close
Jack: JackServerSocket::Close /dev/shm/jack_default_500_0
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: ThreadHandler: exit
JackServer::Open() failed with -1
Jack: Succeeded in unlocking 82213148 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
Jack: ~JackDriver
Jack: JackEngine::~JackEngine
Jack: Succeeded in unlocking 1012 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: cleaning up shared memory
Jack: cleaning up files
Jack: unregistering server `default'
Failed to start server
 
 
 
 
 
 
less fwdiag.out
 
[ruviaro at btr ~]$



More information about the PlanetCCRMA mailing list