Sample Header Ad - 728x90

Root does not have access to Master control

0 votes
2 answers
1038 views
TL;DR: root doesn't have access to the Master controls on ALSA ## My problem I cannot control volume with my keyboard ## The diagnostics I have done - journalctl -f reveals the error amixer: Unable to find simple control 'Master', 0 - amixer works fine if I run it from the terminal This leads me to believe that it's a permission problem ## My environment - My acpid config file for volume down looks like this:
events=button/volumedown
action=amixer set Master
- I dual-boot Arch Linux and Windows. - I used to use xfce but uninstalled it in favour of dwm/lxde depending on my mood. - I use PulseAudio for bluetooth support. ## What I have tried so far - Using doas (like sudo) - Exactly the same error at journalctl -f, except that there's a line before that says root ran command amixer set Master 5- as vince from / (my username is vince) - Using pactl - Same problem ## What I hope for from a solution - It gives root access to the Master controls - I'd rather not rely on sudo or doas because that doesn't really scale to multiple users (I'm willing to use it as a temporary workaround though) - Works for both the console and X - It doesn't have to work for all users but I'd prefer it if it did (It's okay if an answer doesn't fulfill all of these, I just want to use my volume keys)
Asked by Vincent Bechmann (46 rep)
Feb 21, 2021, 09:23 AM
Last activity: Feb 22, 2021, 11:06 AM