Set ACL permissions on ffado supported device nodes

Bug #626665 reported by David Henningsson
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libffado (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Under Maverick's new fw stack, permissions are handled differently (and better). One piece is missing however, to enable users to access ffado supported devices without being root.

It seems the solution isn't that hard though. Libffado has a list of supported devices in /configuration (in the source package). Some clever string manipulation can turn this into udev rules. I'm attaching an working example for my own device.

In addition, I think we need to add a matching line to 70-acl.rules:
SUBSYSTEM=="firewire", ENV{ID_FFADO}=="1", TAG+="udev-acl"

(This wasn't necessary here, I don't know why.)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libffado2 2.0.1+svn1856-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
Architecture: amd64
Date: Mon Aug 30 10:05:24 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100826)
ProcEnviron:
 LANG=sv_SE.utf8
 SHELL=/bin/bash
SourcePackage: libffado

Related branches

Revision history for this message
David Henningsson (diwic) wrote :
Revision history for this message
David Henningsson (diwic) wrote :

This small python script generates udev rules from the configuration file.

Revision history for this message
David Henningsson (diwic) wrote :

Fixed bug in the previous version of the script.

tags: added: patch
Revision history for this message
ttoine (ttoine) wrote :

Would be great to have it fixed for Maverick: Ubuntu would be a good alternative to Mac or Win for "on the road" music work, gigs, and production. Firewire sound cards are currently very popular for any kind of musician using a laptop, and either a workstation.

Revision history for this message
David Henningsson (diwic) wrote :

@Luke, care to sponsor this one for me?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libffado - 2.0.1+svn1856-5ubuntu1

---------------
libffado (2.0.1+svn1856-5ubuntu1) natty; urgency=low

  * Merge from debian unstable. (LP: #626665) Remaining changes:
    - Patch from upstream SVN to fix a typo in the MOTU support code for the
      ffado mixer

libffado (2.0.1+svn1856-5) unstable; urgency=low

  * Ease backporting to Debian stable:
    + Relax inclusion of CDBS snippet utils.mk (handled gracefully if
      missing - i.e. using older versions of cdbs).
    + Relax versioned build-dependency on cdbs (utils.mk no longer
      required but support for debhelper compat level 7 is, so
      unfortunately version in Debian stable is still insuficient).
    + Stop build-depending on devscripts (copyright-check not yet used).
  * Drop needlessly breaking/replacing ffado-python-support. Thanks to
    Adam D. Barratt (see bug#597119).
  * Fix tighten gitignore on .pc subdir.
  * Add source local-options to ease building with git-buildpackage.
  * Add myself as uploader.

libffado (2.0.1+svn1856-4) unstable; urgency=low

  * Install 60-ffado.rules udev rules to chown firewire audio devices to the
    audio group.
 -- Luke Yelavich <email address hidden> Mon, 18 Oct 2010 10:15:52 +1100

Changed in libffado (Ubuntu):
status: New → Fix Released
Revision history for this message
David Henningsson (diwic) wrote :

Filed bug #681755 for adding the matching udev rule

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.