LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-03-2007, 08:54 PM   #1
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 707
Blog Entries: 1

Rep: Reputation: 32
Post 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

Last edited by deepclutch; 02-03-2007 at 08:57 PM.
 
Old 02-03-2007, 10:00 PM   #2
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 707
Blog Entries: 1

Original Poster
Rep: Reputation: 32
Smile {Solved}

id!ot user here
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 )
 
  


Reply

Tags
alsamixer, devdsp, udev, udev rules


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/dev/dsp & esd h3xis Linux - Software 7 07-16-2005 05:51 AM
/dev/dsp busy, killall esd itsjustme Ubuntu 6 06-15-2005 05:15 PM
/dev/dsp: Permission denied jtX Slackware 1 02-06-2004 06:39 PM
/dev/dsp cannot be opened permission denied SlackN00b Slackware 5 12-31-2003 12:59 PM
/dev/dsp + device busy/no audio + esd mghere Linux - Newbie 7 12-12-2003 12:51 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration