LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   alsa/esd not starting as local user,errs-/dev/dsp no permission (https://www.linuxquestions.org/questions/debian-26/alsa-esd-not-starting-as-local-user-errs-dev-dsp-no-permission-525358/)

deepclutch 02-03-2007 07:54 PM

alsa/esd not starting as local user,errs-/dev/dsp no permission
 
I reinstalled my debian testing distro(its running 1year+)
now runs a mixed(apt-pinning) unstable+experimental debian.
now my problem is i can run alsamixer or esd(sound server) as root,while if i try alsamixer as local user,it errs out-
Code:

prakash@sid:~$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such device

and if i restart alsa after setting gstreamer-properties as autodetect and base as alsa.
and try start esd(enlightened sound daemon) as local user again it complains about /dev/dsp no sufficient permissions.
Code:

prakash@sid:~$ esd
/dev/dsp: Permission denied

so i am suspecting it has to do something with udev.if yes what file should i edit to get the permissions of /dev/dsp and /dev/mixer correctly.ie,if i set write permissions esd can start,and problem solved
Code:

sid:~# chmod 0666 /dev/dsp
sid:~# ll /dev/dsp
crw-rw-rw- 1 root audio 14, 3 2007-02-04 06:05 /dev/dsp
sid:~# chmod 0666 /dev/mixer
sid:~# ll /dev/mixer
crw-rw-rw- 1 root audio 14, 0 2007-02-04 06:05 /dev/mixer

so any solutions,thanks to all linuxers

deepclutch 02-03-2007 09:00 PM

{Solved}
 
id!ot user here:o :)
nothing wrong with udev.
It happened that i played with users-setup gui a lot.and i am removed from "audio"group.now I added needed groups manually(u can do it in GUI;) )
Code:

sid:~# usermod -G adm,dialout,fax,cdrom,floppy,audio,dip,plugdev,video  prakash
that's it solved.thanks Guys(even for watching ;) )


All times are GMT -5. The time now is 12:11 PM.