[PlanetCCRMA] jack+firewire

Oded Ben-Tal oded at ccrma.Stanford.EDU
Sat Aug 14 03:29:20 PDT 2010


here we go again,

After I (foolishly) updated libffado last week I can't get jack to start. 
The error I get is:
could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so: 
cannot open shared object file: No such file or directory
could not open component .so '/usr/lib/jack/jack_firewire.so': 
libffado.so: cannot open shared object file: No such file or directory
Unkown driver "firewire"

The file of course exists:
ls -al /usr/lib*/jack/jack_firewire.so
-rw-r--r--. 1 root root 35873 2009-11-21 19:22 
/usr/lib/jack/jack_firewire.so

This is on Fedora12 2.6.31.12-1.rt20.1.fc12.ccrma.i686.rtPAE
jack-audio-connection-kit-1.9.4-1.fc12.ccrma.i686
ibffado-2.0.1-3.20100706.svn1864.fc12.i686

running the fwdiag script I noticed
./fwdiag: line 85: ffado-test: command not found
(I presume that means at some point ffado-test was removed from the 
library though I'm not sure it was in the last update).

output of fwdiag at the end

Is there a way to get jack to play nice with the new ffado? If not how do 
I revert to the previous version that (mostly) worked?

thanks
Oded


fwdiag:
=====>  rpm -qa | grep 1394
libraw1394-2.0.4-1.fc12.i686
libdc1394-2.1.2-3.fc12.i686
libavc1394-0.5.3-9.fc12.i686

=====>  rpm -qa | grep libxml
libxml2-2.7.6-2.fc12.i686
libxml++-2.26.0-2.fc12.i686
libxml2-python-2.7.6-2.fc12.i686

=====>  yum repolist
Loaded plugins: presto, refresh-packagekit
repo id                    repo name 
status
adobe-linux-i386           Adobe Systems Incorporated 
18
fedora                     Fedora 12 - i386 
15,366
planetccrma                Planet CCRMA 12 - i386 
391
planetccrma-testing        Planet CCRMA 12 - i386 
0
planetcore                 Planet CCRMA Core 12 - i386 
63
planetcore-testing         Planet CCRMA Core Testing 12 - i386 
12
rpmfusion-free             RPM Fusion for Fedora 12 - Free 
383
rpmfusion-free-updates     RPM Fusion for Fedora 12 - Free - Updates 
1,339
rpmfusion-nonfree          RPM Fusion for Fedora 12 - Nonfree 
124
rpmfusion-nonfree-updates  RPM Fusion for Fedora 12 - Nonfree - Updates 
528
updates                    Fedora 12 - i386 - Updates 
7,226
repolist: 25,450

=====>  ls -al /usr/lib*/jack/jack_firewire.so
-rw-r--r--. 1 root root 35873 2009-11-21 19:22 
/usr/lib/jack/jack_firewire.so

=====>  ls -al /usr/lib*/libffado.so*
lrwxrwxrwx. 1 root root      19 2010-08-06 15:42 /usr/lib/libffado.so.2 -> 
libffado.so.2.999.0
-rwxr-xr-x. 1 root root 1996604 2010-07-18 22:25 
/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 2009-11-02 09:20 90-nproc.conf

=====>  tail -4 /etc/security/limits.conf
## Automatically appended by the Planet CCRMA jack-audio-connection-kit
* - rtprio 99
* - memlock 4194304
* - nice -10

=====>  grep . /sys/bus/ieee1394/devices/fw-host0/*
/sys/bus/ieee1394/devices/fw-host0/in_bus_reset:0
/sys/bus/ieee1394/devices/fw-host0/is_busmgr:0
/sys/bus/ieee1394/devices/fw-host0/is_cycmst:0
/sys/bus/ieee1394/devices/fw-host0/is_irm:1
/sys/bus/ieee1394/devices/fw-host0/is_root:0
/sys/bus/ieee1394/devices/fw-host0/node_count:2
/sys/bus/ieee1394/devices/fw-host0/nodes_active:2
/sys/bus/ieee1394/devices/fw-host0/selfid_count:2
/sys/bus/ieee1394/devices/fw-host0/uevent:DRIVER=nodemgr

=====>  ls -al /dev/*1394*
crw-rw----. 1 root audio 171, 0 2010-08-14 11:05 /dev/raw1394

/dev/dv1394:
total 0
drwxr-xr-x.  2 root root       80 2010-08-14 11:05 .
drwxr-xr-x. 21 root root     3980 2010-08-14 11:05 ..
crw-rw----+  1 root video 171, 32 2010-08-14 11:05 0
crw-rw----+  1 root video 171, 36 2010-08-14 11:05 1
=====>  dmesg | grep 1394
ohci1394 0000:06:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19] 
MMIO=[f4204000-f42047ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ohci1394 0000:15:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
ohci1394: fw-host1: OHCI-1394 1.1 (PCI): IRQ=[17] 
MMIO=[fc001000-fc0017ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[01020304000008e2]
ieee1394: Node added: ID:BUS[0-01:1023]  GUID[00130e0100043935]
ieee1394: Host added: ID:BUS[1-00:1023]  GUID[00016c00006e8e19]
ieee1394: raw1394: /dev/raw1394 device initialized

=====>  lspci | grep 1394
06:00.0 FireWire (IEEE 1394): Texas Instruments XIO2200(A) IEEE-1394a-2000 
Controller (PHY/Link) (rev 01)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller 
(rev 04)

=====>  lsmod | grep 1394
dv1394                 15516  0
raw1394                21096  0
ohci1394               26308  1 dv1394

=====>  lsmod | grep snd
snd_seq_dummy           2688  0
snd_hda_codec_conexant    24296  1
snd_hda_intel          25356  2
snd_hda_codec          61020  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               7176  1 snd_hda_codec
snd_seq                47796  1 snd_seq_dummy
snd_seq_device          6264  2 snd_seq_dummy,snd_seq
snd_pcm                65064  2 snd_hda_intel,snd_hda_codec
snd_timer              18340  2 snd_seq,snd_pcm
snd                    52660  13 
snd_seq_dummy,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore               6020  1 snd
snd_page_alloc          8040  2 snd_hda_intel,snd_pcm

=====>  cat /proc/asound/cards
  0 [Intel          ]: HDA-Intel - HDA Intel
                       HDA Intel at 0xfc420000 irq 17

=====> ffado-test Discover
./fwdiag: line 85: ffado-test: command not found
=== CHECK ===
  Base system...
   kernel version............ 2.6.31.12-1.rt20.1.fc12.ccrma.i686.rtPAE
FIXME: implement test for RT kernel
    RT patched............... False
   old 1394 stack present.... False
   old 1394 stack loaded..... False
   old 1394 stack active..... True
   new 1394 stack present.... False
   new 1394 stack loaded..... False
   new 1394 stack active..... False
   /dev/raw1394 node present. True
   /dev/raw1394 permissions.. True
  Prerequisites (dynamic at run-time)...
    gcc ............... gcc (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
    g++ ............... sh: g++: command not found
    PyQt4 (by pyuic4) . sh: pyuic4: command not found
    jackd ............. could not open driver .so 
'/usr/lib/jack/jack_firewire.so': libffado.so: cannot open shared object 
file: No such file or directory
      path ............ /usr/bin/jackd
      flags ........... Package jack was not found in the pkg-config search 
path.
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
    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'
o 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.4.4 20100630 (Red Hat 4.4.4-10)
    g++ ............... g++ (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
    PyQt4 (by pyuic4) . Python User Interface Compiler 4.7.3 for Qt version 
4.6.2
    jackd ............. jackd version 0.118.0 tmpdir /dev/shm protocol 24
      path ............ /usr/bin/jackd
      flags ........... Package jack was not found in the pkg-config search 
path.
    libraw1394 ........ 2.0.4
      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.26.0
      flags ........... -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  -lxml++-2.6 -lxml2 
-lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0
    dbus-1 ............ 1.2.16
      flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include 
-L/lib -ldbus-1 -lpthread -lrt
  Hardware...
    Host controllers:
06:00.0 FireWire (IEEE 1394) [0c00]: Texas Instruments XIO2200(A) 
IEEE-1394a-2000 Controller (PHY/Link) [104c:8235] (rev 01) (prog-if 10 
[OHCI])
         Subsystem: Device [5678:1234]
         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 A routed to IRQ 19
         Region 0: Memory at f4204000 (32-bit, non-prefetchable) [size=2K]
         Region 1: Memory at f4200000 (32-bit, non-prefetchable) [size=16K]
         Capabilities: <access denied>
         Kernel driver in use: ohci1394
15:00.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 
Controller [1180:0832] (rev 04) (prog-if 10 [OHCI])
         Subsystem: Lenovo Device [17aa:20c7]
         Physical Slot: 1-1
         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 fc001000 (32-bit, non-prefetchable) [size=2K]
         Capabilities: <access denied>
         Kernel driver in use: ohci1394
         Kernel modules: ohci1394

    CPU info:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
stepping        : 6
cpu MHz         : 2401.000
cache size      : 3072 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 sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl 
vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi 
flexpriority
bogomips        : 4787.90
clflush size    : 64
power management:
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
stepping        : 6
cpu MHz         : 800.000
cache size      : 3072 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

=== REPORT ===
FireWire kernel drivers:
[PASS] Kernel drivers statically linked into the kernel.
[PASS] /dev/raw1394 node present and accessible.



=====>  jackd -v -d firewire -v hw:0
could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so: 
cannot open shared object file: No such file or directory
could not open component .so '/usr/lib/jack/jack_firewire.so': 
libffado.so: cannot open shared object file: No such file or directory
Unkown driver "firewire"
jackdmp 1.9.4



More information about the PlanetCCRMA mailing list