LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-08-2003, 10:59 AM   #1
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Rep: Reputation: 30
/dev/dsp


I compiled a new kernel and am finally in X again. The only problem is that I get the '/dev/dsp Permission Denied' error on X start, resulting in no sound. I went to '/dev/dsp' properties (as I did when first started X under a new user), and set the user permission to my username, but I still get the same problem. I'm loading my sound driver through the kernel and not a module, now. Could that be it? Just a note, the dsp and mixer files are italized now and the properties don't let you change permissions, just the username and group, even when viewing it under the Super-User File Manager.
 
Old 01-08-2003, 11:19 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
As root:

chmod 666 /dev/dsp* /dev/mixer*
 
Old 01-08-2003, 11:42 AM   #3
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
worked like a charm, THANK YOU! Is there anywhere I can learn more about chmod? I totally do not understand it, but I would like to learn. I've checked out the 'man page', but I can't tell what it's all about...
 
Old 01-08-2003, 11:47 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Try this site out: http://catcode.com/teachmod/

Actually has little scripts on the web page you can try it out yourself to play with..
 
Old 01-08-2003, 12:27 PM   #5
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
good info, thanks!

I have one question, though. I get the error again after rebooting. Should I add the 'chmod 666 /dev/dsp* /dev/mixer*' to my rc.local file so it will run on every startup?
 
Old 01-08-2003, 01:18 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Is it changing the permission on the files after a reboot ? That is strange if it is. I guess it wouldn't hurt to chmod the files on bootup from your rc.local script.

Let us know !
 
Old 01-08-2003, 01:52 PM   #7
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
it is weird, but oh well.

Adding the chmod command to rc.local fixed it!

thank you!!
 
Old 01-09-2003, 07:45 AM   #8
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
something strange to add, when I had Mandrake on this system every cold boot would result in a 'device not found' from 'insmod' on the 'i810_audio' module. Now I have Slackware and am loading 'i810_audio' through the kernel, and it seems to fail every-other cold-boot, resulting in '/dev/dsp..mixer' not existing on every boot. I do a quick reboot and voila, it's there. I suppose this is why the permissions seem to 'reset', the 'dsp' and 'mixer' are recreated every other boot?? I have Crystal Audio (at least that's what the Windows drivers claim), but never could get it to load successfullly. Mandrake automatically picked 'i810_audio' so that's what I stuck with.

anyway, it doesn't really bother me at all. My mind is working so slow in the morning a couple reboots won't phase me, LOL
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no /dev/dsp nor /dev/mixer on 2.6.9 amuro_ray Slackware 9 08-03-2009 03:54 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 01:27 PM
No /dev/dsp /dev/mixer etc david.skinner Linux - Software 2 05-19-2005 03:28 AM
where is my /dev/dsp ??? phunkymunky Slackware 7 03-21-2004 01:46 PM
/dev/dsp ?? elite Linux - Software 4 04-10-2002 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:25 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