Reporting problems

Information on how to write good bug reports is currently being gathered in the wiki. Check out http://subversion.ffado.org/wiki/WritingGoodTickets .

Comments

that all checked out, but when i try to start jack this is what happens

lokahi@lokahi-studio:~$ jackd -d firewire -h
no message buffer overruns
Parameters for driver 'firewire' (all parameters are optional):
-d, --device The FireWire device to use. (default: hw:0)
-p, --period Frames per period (default: 1024)
-n, --nperiods Number of periods of playback latency (default: 3)
-r, --rate Sample rate (default: 48000)
-i, --capture Provide capture ports. (default: 1)
-o, --playback Provide playback ports. (default: 1)
-I, --input-latency Extra input latency (frames) (default: 0)
-O, --output-latency Extra output latency (frames) (default: 0)
-x, --slave Act as a BounceDevice slave (default: 0)
-X, --slave Operate in snoop mode (default: 0)
-v, --verbose Verbose level for the firewire backend (default: 0)
lokahi@lokahi-studio:~$ jackd -R -d firewire -n 3 -p 64
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd 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 compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread 1057588960, from thread 1057588960] (1: Operation not permitted)
cannot create engine
lokahi@lokahi-studio:~$ jackd -d firewire -d hw:1
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd 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 compiled with System V SHM support.
loading driver ..
06218434425: (ffado.cpp)[ 92] ffado_streaming_init: libffado 1.999.40- built Dec 11 2008 17:18:11
06218435776: Error (ieee1394service.cpp)[ 163] detectNbPorts: Could not get libraw1394 handle.
This usually means:
a) The device-node /dev/raw1394 doesn't exists because you don't have a
(recognized) firewire controller.
b) The modules needed aren't loaded. This is not in the scope of ffado but of
your distribution, so if you have a firewire controller that should be
supported and the modules aren't loaded, file a bug with your distributions
bug tracker.
c) You don't have permissions to access /dev/raw1394. 'ls -l /dev/raw1394'
shows the device-node with its permissions, make sure you belong to the
right group and the group is allowed to access the device.
firewire ERR: Error creating FFADO streaming device
cannot load driver module firewire
no message buffer overruns

i have installed ubuntu studio 8.10 with i386.

now to the installation. i followed the trac FFADO from http://subversion.ffado.org/wiki

while installing ffado i had to delete the code below and replace it with env['PYUIC'] = True. (this is from an installation tutorial.)

Code:

# PyQT checks
if conf.CheckForApp( "which pyuic" ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'qt' ):
env['PYUIC'] = True

if conf.CheckForApp( "xdg-desktop-menu --help" ):
env['XDG_TOOLS'] = True
else:
print """
I couldn't find the program 'xdg-desktop-menu'. Together with xdg-icon-resource
this is needed to add the fancy entry to your menu. But the mixer will be installed, you can start it by executing "ffadomixer".
"""

else:
print """
I couldn't find all the prerequisites ('pyuic' and the python-modules 'dbus' and
'qt', the packages could be named like dbus-python and PyQt) to build the mixer.
Therefor the mixer won't get installed.
"""

installing jack seemed easy and correct but after trying to start the ffado dbus and mixer i got errors. it also does not recognize driver firewire.

Code:

bowditch@bowditch:~/.jack/jack$ lsmod | grep 1394
raw1394 32348 0
ohci1394 37936 0
ieee1394 96324 3 raw1394,sbp2,ohci1394
bowditch@bowditch:~/.jack/jack$ ls -al /dev/raw1394
crw-rw---- 1 root audio 171, 0 2009-01-04 16:22 /dev/raw1394
bowditch@bowditch:~/.jack/jack$ id
uid=1000(bowditch) gid=1000(bowditch) groups=4(adm),20(dialout),24(cdrom),46(plugdev),110(lpadmin),119(admin),124(sambashare),1000(bowditch),1001(audio)
bowditch@bowditch:~/.jack/jack$ cd /etc/udev/rules.d
bowditch@bowditch:/etc/udev/rules.d$ grep raw1394 *
40-permissions.rules:# Please note that raw1394 gives unrestricted, raw access to every single
40-permissions.rules:KERNEL=="raw1394", GROUP="audio"
bowditch@bowditch:/etc/udev/rules.d$ sudo udevadm control --reload_rules
bowditch@bowditch:/etc/udev/rules.d$ ffado-dbus-server &
[1] 23544
bowditch@bowditch:/etc/udev/rules.d$ -----------------------------------------------
FFADO Control DBUS service
Part of the FFADO project -- www.ffado.org
Version: 1.999.40-
(C) 2008, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
-----------------------------------------------

04014661194: (ffado-dbus-server.cpp)[ 269] main: Discovering devices...
04014664827: Debug (devicemanager.cpp)[ 332] discover: Starting discovery...
04014670530: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014671661: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014672804: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014673938: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014675057: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014725579: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014726723: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014727845: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014728976: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014730119: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read failed: node 0xFFC0, addr = 0x0000FFFFF0000400, length = 256
04014785783: Debug (Configuration.cpp)[ 162] showSetting: Group: (null)
04014785880: Debug (Configuration.cpp)[ 184] showSetting: vendorid = 5254 (0x00001486)
04014785910: Debug (Configuration.cpp)[ 184] showSetting: modelid = 44818 (0x0000AF12)
04014785939: Debug (Configuration.cpp)[ 208] showSetting: vendorname = Echo
04014785976: Debug (Configuration.cpp)[ 208] showSetting: modelname = AudioFire12
04014786000: Debug (Configuration.cpp)[ 184] showSetting: driver = 2 (0x00000002)
04014786024: Debug (Configuration.cpp)[ 208] showSetting: mixer = AudioFireMixer
04014786110: Debug (Configuration.cpp)[ 162] showSetting: Group: (null)
04014786141: Debug (Configuration.cpp)[ 184] showSetting: vendorid = 5254 (0x00001486)
04014786167: Debug (Configuration.cpp)[ 184] showSetting: modelid = 44818 (0x0000AF12)
04014786192: Debug (Configuration.cpp)[ 208] showSetting: vendorname = Echo
04014786216: Debug (Configuration.cpp)[ 208] showSetting: modelname = AudioFire12
04014786246: Debug (Configuration.cpp)[ 184] showSetting: driver = 2 (0x00000002)
04014786270: Debug (Configuration.cpp)[ 208] showSetting: mixer = AudioFireMixer
04014786642: Debug (devicemanager.cpp)[ 594] discover: driver found for device 0
04014786738: Debug (Configuration.cpp)[ 162] showSetting: Group: (null)
04014786769: Debug (Configuration.cpp)[ 184] showSetting: vendorid = 5254 (0x00001486)
04014786793: Debug (Configuration.cpp)[ 184] showSetting: modelid = 44818 (0x0000AF12)
04014786817: Debug (Configuration.cpp)[ 208] showSetting: vendorname = Echo
04014786841: Debug (Configuration.cpp)[ 208] showSetting: modelname = AudioFire12
04014786871: Debug (Configuration.cpp)[ 184] showSetting: driver = 2 (0x00000002)
04014786895: Debug (Configuration.cpp)[ 208] showSetting: mixer = AudioFireMixer
04014788082: Debug (avc_audiosubunit.cpp)[ 55] discover: Discovering AVC::AudioSubunit...
04014788112: Debug (avc_subunit.cpp)[ 108] discoverPlugs: Discovering plugs...
04014788372: Debug (avc_subunit.cpp)[ 228] initPlugFromDescriptor: plug loading from descriptor not implemented
04014788397: Debug (avc_plug.cpp)[ 181] discover: discover: Could not init plug from descriptor (0,1,0,0,0)
04014788946: Debug (avc_subunit.cpp)[ 228] initPlugFromDescriptor: plug loading from descriptor not implemented
04014788977: Debug (avc_plug.cpp)[ 181] discover: discover: Could not init plug from descriptor (0,1,0,1,0)
04014789488: Debug (avc_unit.cpp)[ 366] discoverPlugs: Discovering plugs...
04014789723: Debug (avc_unit.cpp)[ 383] discoverPlugs: number of iso input plugs = 1
04014789754: Debug (avc_unit.cpp)[ 385] discoverPlugs: number of iso output plugs = 1
04014789780: Debug (avc_unit.cpp)[ 387] discoverPlugs: number of external input plugs = 3
04014789817: Debug (avc_unit.cpp)[ 389] discoverPlugs: number of external output plugs = 2
04014789843: Debug (avc_unit.cpp)[ 426] discoverPlugsPCR: Discovering PCR plugs, direction 0...
04014790183: Debug (avc_plug.cpp)[ 373] discoverStreamFormat: No matching cluster info found for index 1
04014790223: Debug (avc_plug.cpp)[ 234] discover: Could not discover stream format (0,31,255,0,0)
04014790483: Debug (avc_unit.cpp)[ 448] discoverPlugsPCR: plug 'PCR Unknown Input' found
04014790523: Debug (avc_unit.cpp)[ 426] discoverPlugsPCR: Discovering PCR plugs, direction 1...
04014790807: Debug (avc_plug.cpp)[ 373] discoverStreamFormat: No matching cluster info found for index 1
04014790848: Debug (avc_plug.cpp)[ 234] discover: Could not discover stream format (0,31,255,1,0)
04014791110: Debug (avc_unit.cpp)[ 448] discoverPlugsPCR: plug 'PCR Unknown Output' found
04014791145: Debug (avc_unit.cpp)[ 459] discoverPlugsExternal: Discovering External plugs, direction 0...
04014791426: Debug (avc_plug.cpp)[ 373] discoverStreamFormat: No matching cluster info found for index 1
04014791461: Debug (avc_plug.cpp)[ 234] discover: Could not discover stream format (0,31,255,0,0)
04014791719: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'External Unknown Input' found
04014792009: Debug (avc_plug.cpp)[ 373] discoverStreamFormat: No matching cluster info found for index 1
04014792050: Debug (avc_plug.cpp)[ 234] discover: Could not discover stream format (0,31,255,0,1)
04014792292: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'External Unknown Input' found
04014792578: Debug (avc_plug.cpp)[ 373] discoverStreamFormat: No matching cluster info found for index 1
04014792605: Debug (avc_plug.cpp)[ 234] discover: Could not discover stream format (0,31,255,0,2)
04014792856: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'External Unknown Input' found
04014792883: Debug (avc_unit.cpp)[ 459] discoverPlugsExternal: Discovering External plugs, direction 1...
04014793174: Debug (avc_plug.cpp)[ 373] discoverStreamFormat: No matching cluster info found for index 1
04014793201: Debug (avc_plug.cpp)[ 234] discover: Could not discover stream format (0,31,255,1,0)
04014793429: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'External Unknown Output' found
04014793686: Debug (avc_plug.cpp)[ 373] discoverStreamFormat: No matching cluster info found for index 1
04014793719: Debug (avc_plug.cpp)[ 234] discover: Could not discover stream format (0,31,255,1,1)
04014793966: Debug (avc_unit.cpp)[ 479] discoverPlugsExternal: plug 'External Unknown Output' found
04014793994: Debug (avc_unit.cpp)[ 489] discoverPlugConnections: Discovering PCR plug connections...
04014794246: Error (avc_plug.cpp)[ 681] getSignalSource: reported signal source plug not found for 'PCR Unknown Output'
04014794281: Debug (avc_unit.cpp)[ 500] discoverPlugConnections: Discovering External plug connections...
04014794522: Error (avc_plug.cpp)[ 681] getSignalSource: reported signal source plug not found for 'External Unknown Output'
04014794753: Error (avc_plug.cpp)[ 681] getSignalSource: reported signal source plug not found for 'External Unknown Output'
04014794780: Debug (avc_subunit.cpp)[ 148] discoverConnections: Discovering connections...
04014795040: Debug (avc_unit.cpp)[ 653] discoverSyncModes: No PCR sync input plug found
04014795065: Debug (avc_unit.cpp)[ 660] discoverSyncModes: No PCR sync output plug found
04014795086: Debug (avc_unit.cpp)[ 667] discoverSyncModes: No PCR iso input plug found
04014795108: Debug (avc_unit.cpp)[ 675] discoverSyncModes: No PCR iso output plug found
04014795140: Warning (avc_unit.cpp)[ 704] discoverSyncModes: No sync input plug for MSU subunit found
04014795164: Warning (avc_unit.cpp)[ 716] discoverSyncModes: No sync output plug for MSU subunit found
04014795194: Debug (avc_unit.cpp)[ 536] propagatePlugInfo: Propagating info to PCR plugs...
04014795216: Debug (avc_unit.cpp)[ 542] propagatePlugInfo: plug: PCR Unknown Input
04014795245: Debug (avc_plug.cpp)[ 734] propagateFromConnectedPlug: No output connections to propagate from, skipping.
04014795266: Debug (avc_unit.cpp)[ 542] propagatePlugInfo: plug: PCR Unknown Output
04014795287: Debug (avc_plug.cpp)[ 722] propagateFromConnectedPlug: No input connections to propagate from, skipping.
04014795307: Debug (avc_unit.cpp)[ 547] propagatePlugInfo: Propagating info to External plugs...
04014795335: Debug (avc_unit.cpp)[ 553] propagatePlugInfo: plug: External Unknown Input
04014795356: Debug (avc_plug.cpp)[ 734] propagateFromConnectedPlug: No output connections to propagate from, skipping.
04014795377: Debug (avc_unit.cpp)[ 553] propagatePlugInfo: plug: External Unknown Input
04014795398: Debug (avc_plug.cpp)[ 734] propagateFromConnectedPlug: No output connections to propagate from, skipping.
04014795425: Debug (avc_unit.cpp)[ 553] propagatePlugInfo: plug: External Unknown Input
04014795446: Debug (avc_plug.cpp)[ 734] propagateFromConnectedPlug: No output connections to propagate from, skipping.
04014795468: Debug (avc_unit.cpp)[ 553] propagatePlugInfo: plug: External Unknown Output
04014795489: Debug (avc_plug.cpp)[ 722] propagateFromConnectedPlug: No input connections to propagate from, skipping.
04014795515: Debug (avc_unit.cpp)[ 553] propagatePlugInfo: plug: External Unknown Output
04014795536: Debug (avc_plug.cpp)[ 722] propagateFromConnectedPlug: No input connections to propagate from, skipping.
04014795563: Error (avc_avdevice.cpp)[ 150] discoverGeneric: Unit doesn't have a Music subunit.
04014795585: Error (fireworks_device.cpp)[ 144] discover: Could not discover GenericAVC::AvDevice
04014795610: Error (devicemanager.cpp)[ 606] discover: could not discover device
04014795756: Debug (devicemanager.cpp)[ 639] discover: Discovery finished...
04014795767: Debug (devicemanager.cpp)[1087] showDeviceInfo: ===== Device Manager =====
04014795775: Debug (Element.cpp)[ 121] show: Element DeviceManager
04014795787: Debug (devicemanager.cpp)[1095] showDeviceInfo: --- IEEE1394 Service 0 ---
Iso handler info:
Dumping IsoHandlerManager Stream handler information...
State: 2
04014795847: (ffado-dbus-server.cpp)[ 312] main: Starting DBUS service...
04014801943: (ffado-dbus-server.cpp)[ 328] main: Running... (press ctrl-c to stop & exit)
04014801964: Debug (ffado-dbus-server.cpp)[ 331] main: dispatching...
ffado-mixer &
[2] 23556
bowditch@bowditch:/etc/udev/rules.d$ bash: ffado-mixer: command not found
jackd -h
jackd 0.109.2
Copyright 2001-2005 Paul Davis and others.
jackd 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

usage: jackd [ --realtime OR -R [ --realtime-priority OR -P priority ] ]
[ --name OR -n server-name ]
[ --no-mlock OR -m ]
[ --unlock OR -u ]
[ --timeout OR -t client-timeout-in-msecs ]
[ --port-max OR -p maximum-number-of-ports]
[ --debug-timer OR -D ]
[ --verbose OR -v ]
[ --clocksource OR -c [ c(ycle) | h(pet) | s(ystem) ]
[ --silent OR -s ]
[ --version OR -V ]
[ --nozombies OR -Z ]
-d backend [ ... backend args ... ]
The backend can be `alsa', `coreaudio', `dummy',
`freebob', `oss' or `portaudio'.

jackd -d backend --help
to display options for each backend

[2]+ Exit 127 ffado-mixer
bowditch@bowditch:/etc/udev/rules.d$ jackd -d firewire -h
jackd: unknown driver 'firewire'
bowditch@bowditch:/etc/udev/rules.d$ jackd -R -d firewire -n 3 -p 64
jackd: unknown driver 'firewire'
bowditch@bowditch:/etc/udev/rules.d$ sudo apt-get install autoconf]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package autoconf]
bowditch@bowditch:/etc/udev/rules.d$ sudo apt-get install autoconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version.
autoconf set to manually installed.
The following packages were automatically installed and are no longer required:
python-qt4-dbus
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bowditch@bowditch:/etc/udev/rules.d$ cp /usr/bin/aclocal-1.10 /usr/bin/aclocal
cp: `/usr/bin/aclocal-1.10' and `/usr/bin/aclocal' are the same file
bowditch@bowditch:/etc/udev/rules.d$

please help, as this might be my last attempt for ubuntu

Hi, i'm from russia, so my english not well..

so.... problem is:

controller is:
$ lscpi
0c:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller

but no adapters found!!:
$ ffado-dbus-server
Discovering devices...
1378992227091268: Fatal (devicemanager.cpp)[ 191] initialize: No firewire adapters (ports) found.
1378992227091296: Error (ffado-dbus-server.cpp)[ 277] main: Could not initialize device manager
no message buffer overruns

and NO LIST :
$ ffado-test ListDevices

actualy i need to run my Presonus Firestudo Mobile at jack, but i think, than problem is somewere in system.

HELP!!

--------------------------
PS.I have search for that in internet.. And command ffado-test ListDevices must echo something like this:
=== 1394 PORT 0 ===
Node id GUID VendorId ModelId Vendor - Model
0 0x0000000000000146 0x00000000 0x00000000 Linux - ohci1394 -
1 0x000d6c0b009d7249 0x00000D6C 0x00010062 M-Audio - FW Solo
=== 1394 PORT 1 ===
Node id GUID VendorId ModelId Vendor - Model
0 0x00241b00507e1901 0x0000241B 0x00000000 Linux - ohci1394 -
no message buffer overruns

or anything else..

But on my system this list is EMPTY
And ineresting, in AV Linux - everething work!

Based on the information to hand there are two immediately obvious possibilities. Firstly, the Presonus interface may not be seen by the computer. This would imply a hardware issue and is unlikely given the circumstances. Even so, if you could try with a second firewire cable we could at least rule out a bad cable.

Another option is that your firewire card isn't being detected by the kernel. Linux certainly knows about the PCIxx12 chipset, so this may also be indicative of a hardware problem.

Do you see any firewire-related messages in the output of the dmesg command?

The most likely cause of your problem is a permission problem on the /dev/fw* device nodes which are used by FFADO. In particular, your Presonus should cause /dev/fw1 to show up. To run ffado, this file should be readable and writeable by your user. Normally this is handled automatically by udev, but if this is not configured correctly (or your user is not a member of the "audio" group) this might be the problem.

To narrow down the potential causes, could you please post the output of the ffado-diag command. Before running this command please plug the Presonus interface into the firewire bus and ensure it is turned on.

I should note that the PCIxx12 chipset is the one TI chipset which may give trouble when used with audio interfaces (not just under Linux). See comments on our [http://subversion.ffado.org/wiki/HostControllers host controllers] page. However, at this point we are not even seeing the Presonus interface, so anything mentioned on that page is not relevant. If, after we resolve these initial problems we observe trouble when streaming audio we can look into those issues.