Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ALSA privs meltdown



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Long story short: I emerged a bunch of (Gentoo) packages yesterday.  After 
ending my KDE session and logging back in, I don't have access to KMix, and 
alsamixer terminates with the following error: 
alsamixer: function snd_ctl_open failed for default: Permission denied

OK, so _something_ changed permissions somewhere (aside: this is annoying 
behavior for a package manager to engage in without getting the user's 
attention).  Here's what devfs.conf's audio section looks like:

# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660


Here's what /dev/sound looks like:

crw-------    1 root     audio     14,   4 Dec 31  1969 audio
crw-------    1 root     audio     14,   3 Dec 31  1969 dsp
crw-------    1 root     audio     14,   0 Dec 31  1969 mixer

My user is, and has been, a member of the audio group.  Modules are loaded 
just fine; if I login as root everything works fine.

Can anyone point me in the right direction?

Many thanks,
d.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFABBthsIjNiQTGkXARApkjAKCEDoiQlwLapcgrIpQVlOLJmd97PACgmf4X
6Z3o3SmqGHVFpTWNJjAzImQ=
=bL7l
-----END PGP SIGNATURE-----





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org