vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| This is probably a very primitive question, but at the moment I haven't a clue what's wrong. I have an (inherited -- no docs) Intel CA810 Celeron box with an integrated sound card. I find that I can play sound through it -- as long as I'm root! If I try as a user, (using say mpg123) I get "audio: Permission Denied". (I'm not even *trying* to look at esound or other GUI based apps yet.) I found that all the /dev/audio* and /dev/mixer* entries were not generally readable and writable, so I changed them to be world-r/w, but it had no effect. The sound card (es1371) seems to have been detected properly as it is in /etc/sysconfig/hwconf (and it works from root), but something must be missing. Can someone suggest where I might set things up (should there be an 'audio' script in init.d for instance?) -- Pete -- |
| |||
| In comp.os.linux.setup, Pete Goodeve uttered these immortal words: > I have an (inherited -- no docs) Intel CA810 Celeron box with an > integrated sound card. > I find that I can play sound through it -- as long as I'm root! If I try > as a user, (using say mpg123) I get "audio: Permission Denied". > (I'm not even *trying* to look at esound or other GUI based apps yet.) > > I found that all the /dev/audio* and /dev/mixer* entries were not > generally readable and writable, so I changed them to be world-r/w, > but it had no effect. Instead of trying to make /dev/audio and /dev/mixer (I notice you missed /dev/dsp which is usually the one you need) world read/write you should look at which group they belong to. On my Debian boxes /dev/dsp, /dev/audio and /dev/mixer are set up with read and write privs for user root and group audio. Adding a user to the audio group sorts that problem out. -- Andy. |
| ||||
| In article <09qmn1-nh.ln1@news.linuxuser.org.uk>, Andy Fraser <andyfraser31@hotmail.com> wrote: >In comp.os.linux.setup, Pete Goodeve uttered these immortal words: > >> I have an (inherited -- no docs) Intel CA810 Celeron box with an >> integrated sound card. >> I find that I can play sound through it -- as long as I'm root! If I try >> as a user, (using say mpg123) I get "audio: Permission Denied". >> I found that all the /dev/audio* and /dev/mixer* entries were not >> generally readable and writable, so I changed them to be world-r/w, >> but it had no effect. > >Instead of trying to make /dev/audio and /dev/mixer (I notice you >missed /dev/dsp which is usually the one you need) world read/write you >should look at which group they belong to. Ahh... 'dsp' was what I needed. On RedHat, though, all the audio stuff just is in the root group, amd most devices that need to be generally accessible just seem to have the world permissions. > >On my Debian boxes /dev/dsp, /dev/audio and /dev/mixer are set up with read >and write privs for user root and group audio. Adding a user to the audio >group sorts that problem out. Currently there is no 'audio' group. Doesn't seem worth creating one, as I'm the only user! Getting the permissions to *remain* set correctly, though, was whole 'nother screaming session... I think I'll start a separate thread on that topic. Thanks for the pointer. -- Pete -- > >-- >Andy. |