Set ACL permissions on ffado supported device nodes
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=
(This wasn't necessary here, I don't know why.)
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libffado2 2.0.1+svn1856-
ProcVersionSign
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
tags: | added: patch |
This small python script generates udev rules from the configuration file.