PDA

View Full Version : [F10] alsa permissions with vanilla kernel


gy.schmitt
29th November 2008, 03:59 AM
Hello,

Running Fedora 10 with two different kernels: stock from F10 and 2.6.27.7. I have compiled alsa as a module for my sound card. Pulseaudio has been disabled.

When I boot up with Fedora stock kernel, I can successfully run any application using alsa as a user (permission granted).

However, when I boot up on the vanilla kernel, I always get "permission denied" whenever I want to access alsa.

I could modify a consolekit permission by changing /etc/security/console.perms.d/50-default.perms and adding audio devices, but I am curious of two different kernels with same permissions would give different results. I believe that an option in the kernel has eluded me, but which one?

gy.schmitt
30th November 2008, 09:27 PM
Reply to myself: modifying consolekit permissions is a possibility, but I've found that my problem lied in the fact that I didn't have ACLs enabled, which are used by the HAL daemon.

So, if you're going to compile your own kernel, make sure you activitate the ACLs with all options ! In my case, for example,

CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y