Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-02-2002, 02:11 PM   #1
LQ Newbie
Registered: Feb 2002
Location: South Florida
Distribution: Slackware 8.0
Posts: 6

Rep: Reputation: 0
Unhappy No Sound!

I can't get my audio to work.. When I try to play an mp3 in Xwindows it say's

Cannot open /dev/dsp!

I downloaded something called SDL and installed it but I can't initialize it. Please help! =(
Old 03-02-2002, 03:11 PM   #2
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Do you have permission to write to /dev/dsp?

ls -lh /dev/dsp

You will probably get something like this back:

crw-rw---- 1 root audio 14, 3 Apr 15 2001 /dev/dsp

The permissions show that in this case root and members of the audio group can read and write to it, but world can't do anything to it. Add yourself to the audio group, on my system I would (as root):

adduser username audio
The log out and log in again.

Another possibility is that you don't have a sound driver installed, in that case you need to modprobe the module for that card's chipset.

Last edited by dorward; 03-02-2002 at 03:12 PM.
Old 03-02-2002, 03:11 PM   #3
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Deleted duplicate
Old 03-02-2002, 03:22 PM   #4
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
changing the group should work - but if you can't get the group working, then it's easiest to just give all users access to the dsp device. just use

chmod a+rw /dev/dsp

as root. that should do it if the problems really is the permissions.


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
No sound coming from my sound blaster audigy 2 ZS platinum sound card msab Linux - Hardware 9 12-05-2010 06:10 AM
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 01:37 PM
FC2: Sound Card (SiS SI7012) Detect But Donot Play Sound rajanaeem Linux - Hardware 0 10-22-2004 04:41 PM
How to make a sound on Realtec ALC-650 card sound on a Shuttle ST62K? Laurent Linux - Hardware 0 05-30-2004 12:57 PM
No Sound : request_module: failed /sbin/modprobe -- sound-slot-0. error = 256 Mebuh Linux - General 0 01-26-2004 08:51 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration