[pulseaudio-discuss] ACLs for USB devices on Debian GNU/Linux Squeeze/testing

Tomasz Torcz tomek at pipebreaker.pl
Thu Aug 19 10:20:22 PDT 2010


On Thu, Aug 19, 2010 at 06:15:26PM +0100, Colin Guthrie wrote:
> 
> > It turned out to be quite
> > simple. I only needed to add a file, say 60-sound.rules containing the
> > following line:
> > SUBSYSTEM=="sound", ENV{ACL_MANAGE}="1"
> > 
> > Then I issued "udevadm trigger" and things started working.
> > 
> > It is important to note that this rule should be numbered below 70, as
> > the standard udev rule dealing with ACL is
> > /lib/udev/rules.d/70-acl.rules
> > at least on my Debian Squeeze/testing. Thus the matching needs to be
> > done prior to the execution of this rule.
> 
> Hmm, strange.. I'm not sure what your /lib/udev/rules.d/70-acl.rules has
> in it but mine has:
> [colin at jimmy udev]$ grep sound.*ACL_MANAGE /lib/udev/rules.d/70-acl.rules
> SUBSYSTEM=="sound", ENV{ACL_MANAGE}="1"
> SUBSYSTEM=="input", SUBSYSTEMS=="sound", ENV{ACL_MANAGE}="1"
> 
> > I will file this as a bug in Debian BTS. Should this udev-trick be
> > included in the guide for packaging PA?
> 
> Well from what I can tell the official 70-acl.rules has this line in it
> already.... (certainly in udev-153 but I'm pretty certain it's been like
> this for a while).
> 
> Not sure if you're Debian version is altered or something but it smells
> like a debian specific bug.

  Debian udev maintainer insist on creating own rules instead of using
upstream ones.

-- 
Tomasz Torcz                Only gods can safely risk perfection,
xmpp: zdzichubg at chrome.pl     it's a dangerous thing for a man.  -- Alia




More information about the pulseaudio-discuss mailing list