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

Colin Guthrie gmane at colin.guthr.ie
Thu Aug 19 10:54:05 PDT 2010


'Twas brillig, and Tomasz Torcz at 19/08/10 18:20 did gyre and gimble:
> 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.

<sarcasm>Awesome.</sarcasm>

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list