In this installment, I will change the permissions on the raw firewire device so it can be read and written by my user account. I already created a group called “audio”, and I have added my account to the group.
There is a good description of how to set up the device permissions on the ffado web site. Currently, the raw firewire device is owned by root and the root group:
$ ls -la /dev/raw1394
crw-rw—-. 1 root root 171, 0 2010-03-11 02:50 /dev/raw1394
To change this, I will add a rule to udev to put it in the audio group. I will also set it to be readable and writable by its group. I am putting the following in the file /etc/udev/rules.d/50-raw1394.rules:
KERNEL==”raw1394*”, GROUP=”audio”, MODE=”0660″
Next, tell udev to reread its rules:
# udevadm control –reload-rules
Now I will reload the raw1394 module:
# rmmod raw1394
# modprobe raw1394
Now the device is owned by the audio group:
$ ls -la /dev/raw1394
crw-rw—-. 1 root audio 171, 0 2010-03-11 03:05 /dev/raw1394
In the next post, I will test starting jack.