LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2005, 12:20 AM   #1
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Rep: Reputation: 15
XMMS: alsa_get_mixer(): Attaching to mixer hw:0 failed: Permission denied


When I run XMMS as a user, I get this error:
Code:
** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: Permission denied
And I cannot access my sound-card. I can play it as root, so it must be a permissions problem, but how do I change the permissions on "hw:0?"
 
Old 05-14-2005, 12:34 AM   #2
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
I just noticed that when I press play as a normal user, I get this:
Code:
ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_card_driver returned error: Permission denied
ALSA lib confmisc.c:387:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_concat returned error: Permission denied
ALSA lib confmisc.c:945:(snd_func_refer) error evaluating name
ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_refer returned error: Permission denied
ALSA lib conf.c:3932:(snd_config_expand) Evaluate error: Permission denied
ALSA lib pcm.c:2068:(snd_pcm_open_noupdate) Unknown PCM default

** WARNING **: alsa_setup(): Failed to open pcm device (default): Permission denied
xmms-mad-Message: failed to open audio output: ALSA 1.2.10 output plugin
Any ideas?
 
Old 05-14-2005, 12:38 AM   #3
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
Also just noticed that when I ran the chmod step in the Alsa set-up guide for ca0106, I got this:
Code:
root : /usr/src/alsa > chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
chmod: cannot access `/dev/dsp': No such file or directory
chmod: cannot access `/dev/mixer': No such file or directory
chmod: cannot access `/dev/sequencer': No such file or directory
chmod: cannot access `/dev/midi': No such file or directory
 
Old 06-24-2010, 03:10 PM   #4
ermeyers
LQ Newbie
 
Registered: Oct 2009
Location: Spring City, PA
Distribution: Xubuntu
Posts: 12

Rep: Reputation: 0
Post SOLVED: xmms and gnome-volume-control PERMISSIONS

SOLUTION:
Code:
chmod -R a+rw /dev/{audio,dsp,midi,mixer,snd}
fixed two related problems on a CentOS release 4.8 machine.

xmms error:
Code:
WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: Permission denied"
gnome-volume-control error:
Code:
Sorry, no mixer elements and/or devices found
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount : ... failed, reason given by server: Permission denied knaries2000 Linux - Networking 4 06-25-2013 11:33 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
cvs rtag: script execution failed: permission denied markpetit Linux - Software 0 05-25-2005 11:47 AM
Wine Installation failed, permission denied enegron Linux - Newbie 4 10-15-2003 03:08 AM
Sound problem (/dev/mixer permission) z536 Linux - Software 9 08-29-2003 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration