[linux-audio-user] /dev/raw1394 permissions. Using firewire interface Focusrite Saffire

View: New views
3 Messages — Rating Filter:   Alert me  

[linux-audio-user] /dev/raw1394 permissions. Using firewire interface Focusrite Saffire

by Pau Arumí Albó :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I've just bought a Focusrite Saffire LE firewire audio interface (323€
at alfasoni.com) and it works fine with freebob. So far I'm very happy
with audio quality and line/mics connectivity (also having a hardware
monitoring tool for linux would be great, but not crucial for me)

After updating the jack version so it have the freebob driver, I start
jackd -d freebob and I get:

Freebob using Firewire port 0, node -1
Ieee1394Service::initialize: Could not get 1394 handle: Permission denied
Is ieee1394 and raw1394 driver loaded?
Fatal (devicemanager.cpp)[68] initialize: Could not initialize
Ieee1349Service object
Fatal (freebob.cpp)[69] freebob_new_handle: Could not initialize device
manager
FreeBoB ERR: FREEBOB: Error creating virtual device

That's because a normal user does not have access to raw1394
$ ls -l /dev/raw1394
crw-rw---- 1 root disk 171, 0 2006-12-17 16:10 /dev/raw1394

Doing
$ sudo chmod o+rw /dev/raw1394
solves the problem. However after a new reboot the permissions have been
reset.

I'm running ubuntu feisty (testing)
$ uname -a
Linux macbook 2.6.19-7-generic #2 SMP Mon Dec 4 16:46:19 UTC 2006 i686
GNU/Linux

So what is the supposed way to work with firewire?
Maybe changing raw1394 group ownership to audio?

Thanks,
Pau

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Re: [linux-audio-user] /dev/raw1394 permissions. Using firewire interface Focusrite Saffire

by Stephen Hassard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pau Arumi wrote:

> That's because a normal user does not have access to raw1394
> $ ls -l /dev/raw1394
> crw-rw---- 1 root disk 171, 0 2006-12-17 16:10 /dev/raw1394
>
> Doing
> $ sudo chmod o+rw /dev/raw1394
> solves the problem. However after a new reboot the permissions have been
> reset.
>
> So what is the supposed way to work with firewire?
> Maybe changing raw1394 group ownership to audio?

The easiest way to fix this permanently would be to add your user to the
'disk' group.

later,
Steve

[linux-audio-user] Re: /dev/raw1394 permissions. Using firewire interface Focusrite Saffire

by David Causse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Dec 17, 2006 at 06:09:09PM +0100, Pau Arumi wrote:
> [...]
>
> So what is the supposed way to work with firewire?
> Maybe changing raw1394 group ownership to audio?

As your devices are regenerated each reboot by udev if you change attributes
with common unix command your changes won't be persistant.
You will have to change the udev rules.
The file to modify is usually : /etc/udev/permissions.rules.
look for the line :
KERNEL=="raw1394",                              GROUP="audio"
and change GROUP="disk" to "video" or "audio"

reload udev :
# /etc/init.d/udev restart
reload raw1394 device :
# rmmod raw1394 && modprobe raw1394

Regards,

David.