[mythtv-users] how to set the default rights automatically for /proc/asound/card0/pcm0p/sub0/prealloc

HP-mini blm-ubunet at slingshot.co.nz
Tue Apr 30 22:25:28 UTC 2013


On Fri, 2013-04-26 at 13:48 +0200, Rob Verduijn wrote:
> Hello all,
> 
> I've found a litlle issue in my logs.
> 
> When playing a dvd i saw this in my logs :
> ALSA: Error opening /proc/asound/card0/pcm0p/sub0/prealloc: Permission denied.
> 
> Which is not really surprising since it has security mode 644 on it
> and is owned by root, thus my mythtv users is not allowed to change
> it.
> 
> A chmod 666 takes care of this, but alas this is needed again after reboot.
> 
> Does anybody know a neat way on how to deal with this (udev rule maybe ?).
> The only quick and dirty solution that i can come up with is a
> rc.local script doing a chmod at the end of the boot cycle.
> 
> Cheers
I'm using the quick & dirty soln as you do..
I think the root of the problem is that alsa does not set the correct
group & permissions (audio).




More information about the mythtv-users mailing list