Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
10-09-2004, 06:23 PM
#1
LQ Newbie
Registered: Sep 2004
Posts: 13
Thanked: 0
Sound problem: (/dev/dsp)
[
Log in to
get rid of this advertisement]
I people..
I have this problem:
marco@Linux:/dev$ xmms
** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such device
marco@Linux:/dev$
Anyone know how to solve this problem?
Thanks
10-09-2004, 06:58 PM
#2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Thanked: 0
is there a /dev/dsp0 , dsp1 , etc
is there a directory /dev/audio/
or /dev/sound ???
10-09-2004, 07:13 PM
#3
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Thanked: 0
have you set permissions correctly?
"ls -l /dev/dsp" it should be writeable for group audio and you'll have to be in group audio.
"chgrp audio /dev/dsp"
"chmod g+rw /dev/dsp"
"adduser <login_name> audio"
as root.
man is your friend...
sl mritch.
10-09-2004, 07:30 PM
#4
LQ Newbie
Registered: Sep 2004
Posts: 13
Thanked: 0
Original Poster
lrwxrwxrwx 1 root audio 4 2004-09-30 15:25 /dev/dsp -> dsp0
10-09-2004, 08:46 PM
#5
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Thanked: 0
what's about /dev/dsp0?
05-05-2009, 04:44 PM
#6
LQ Newbie
Registered: Mar 2009
Posts: 3
Thanked: 0
solution for "oss_open(): Failed to open audio device (/dev/dsp): Permission denied"
oss_open(): Failed to open audio device (/dev/dsp): Permission denied
@mricth
yes technically the solution by adding the user.acc to audio group
even i've add that... i still can't hear the sound...
of course if someone login with root.acc he can hear the sound
because
----snip-----
chika:/etc $ ls -la |grep dsp
....
crw-rw---- 1 root audio 14, 3 2009-05-06 02:40 dsp
....
----snip-----
just do this
chika:/etc $ sudo chmod o+rw dsp
....
crw-rw-rw- 1 root audio 14, 3 2009-05-06 02:40 dsp
....
xmms or other audio player should work
=== no pain, no gain ====
ym id chika.tambun
Last edited by chika.tambun; 05-05-2009 at 04:50 PM ..
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 08:45 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News
LQ Podcast
LQ Radio