Troubleshooting Common Problems
If you get an error like this in JACK:
Ieee1394Service::initialize: Could not get 1394 handle: Permission denied
Is ieee1394 and raw1394 driver loaded?
Fatal (devicemanager.cpp) initialize: Could not initialize Ieee1349Service object
Fatal (freebob.cpp) freebob_new_handle: Could not initialize device manager
Use your terminal to open /ect/udev/rules.d/40-permissions.rules...
$ sudo gedit /ect/udev/rules.d/40-permissions.rules
...and find the following line:
...and make it read:
make your user a part of the audio group and you will have access to your FireWire devices.
If you are using a real time kernel you will need to give your user the permissions to use real time capabilities. If Ardour is nagging you about memory access, modifying the config file below should make it happy. Having these properties set correctly will improve performance.
First make sure you have a group named audio (or whatever you want, really) and that your user is a member. Then open up /etc/security/limits.conf from the command line.
gksudo gedit /etc/security/limits.conf
...and add the following lines at the bottom of the file:
@audio - rtprio 99
@audio - memlock unlimited
@audio - nice -10
Note that some guides, such as the Ubuntu Studio Preparation sets some percentage of your memory for the audio group, such as 250000. My present system will crash and freeze if I don't set the memlock to unlimited.
Also note that if you are using Ubuntu Studio 8.04 there is a control panel in System >> Administration >> Ubuntu Studio Controls that you can use to set the percentage of locked memory and enable raw1394 access. I still needed to manually set my memlock to limited.