LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 07:54 PM   #1
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
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 07:57 PM.
 
Old 02-03-2007, 09:00 PM   #2
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:08 AM.

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