LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-13-2004, 10:07 AM   #1
Daem0hn
Member
 
Registered: Jul 2003
Location: Australia
Distribution: Gentoo 1.4
Posts: 43

Rep: Reputation: 15
Literally LOST /dev/sound/dsp - disappeared


i have literally lost /dev/sound/dsp

it has just - disappeared

the last thing i recall doing is emerging alsa, however sound was working after then
i have also managed to get gdesklets working, this is when i first noticed the problem, when i was testing the corner xmms player gdesklet

i have tried lsof to see if anything is using /dev/sound/dsp
also tried running xmms in fluxbox, gnome, kde, and some other wm i happen to have to see if it was a wm based process that was hogging the sound file

it was then i decided to run xmms in terminal

instead of seeing, /dev/dound/dsp device or resource busy

i see
Code:
** WARNING **: oss_open(): Failed to open audio device (/dev/sound/dsp): No such file or directory

then i started eeping and crying like a little girl, well not literally, but i was very confused

so i did
Code:
# updatedb

# locate */dsp
hoping that it woudl just have moved location or something - which evidently it hadnt

is there anyway that i can recreate the file, or re-emerge drivers that would reinstate the file in its right directory???


please help, i have a scrim for enemyterritory in a few days and i need sound to play it

thanks in advace
 
Old 04-13-2004, 05:11 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
So is the Alsa driver loaded? With devfs and Alsa the device will not exist until the driver is loaded. Run /etc/init.d/alsasound restart and watch the output carefully for any error messages. If all goes well, tell it to launch alsasound for the "default" runlevel: rc-update add alsasound default should do it.


Håkan
 
Old 04-13-2004, 08:49 PM   #3
Daem0hn
Member
 
Registered: Jul 2003
Location: Australia
Distribution: Gentoo 1.4
Posts: 43

Original Poster
Rep: Reputation: 15
i seem to have fixed it, somehow the /dev/dsp and /dev/sound/dsp had permissions of 000 set to them. a member of neowin pointed out to me that it might be a permissions problem, which it was, lol, so nobody culd see them
 
Old 01-15-2005, 02:53 PM   #4
PolarLacis
LQ Newbie
 
Registered: Nov 2003
Location: Latvia
Distribution: Slackware 10.2
Posts: 4

Rep: Reputation: 0

sorry for bringing old posts up, but how exactly set those permisions right???

i have the same error when i try to play mp3s in xmms

Code:
oss_open(): Failed to open audio device (/dev/dsp): No such file or directory
searched /dev and there is no dsp

the funny thing is i hear the system sounds and i can playback mp3s in JuK


Slackware 10.0
Kernel 2.6.10
Sound card SB PCI128

lsmod:
Code:
Module                  Size  Used by
nvidia               3462908  -
ipv6                  228064  -
ehci_hcd               27120  -
usbcore               103672  -
parport_pc             24676  -
parport                31816  -
8250_pnp                7756  -
8250                   19876  -
serial_core            17900  -
via_agp                 7276  -
8139too                21548  -
mii                     3820  -
snd_ens1371            18244  -
snd_rawmidi            18912  -
snd_seq_device          6648  -
snd_ac97_codec         73024  -
snd_pcm                82472  -
snd_timer              19824  -
snd                    44452  -
soundcore               6592  -
snd_page_alloc          7376  -
evdev                   7232  -
ide_scsi               13552  -
agpgart                28072  -
 
Old 01-15-2005, 06:48 PM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
PolarLacis, you don't seem to have OSS emulation installed or at least not loaded. Build Alsa with OSS emulation and then use alsaconf (from the alsa-utils package) to configure your soundcard.


Håkan
 
Old 01-16-2005, 05:36 AM   #6
PolarLacis
LQ Newbie
 
Registered: Nov 2003
Location: Latvia
Distribution: Slackware 10.2
Posts: 4

Rep: Reputation: 0
is there anything with what i can make sure OSS emulation is just not loaded?
 
  


Reply



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
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
no sound from /dev/dsp Dargason Linux - Software 24 01-06-2006 02:49 PM
No sound (/dev/dsp) in new X session Doum Mandriva 2 08-03-2004 07:19 PM
Slackware "lost" /dev/dsp, no sound Pathian Slackware 8 03-30-2004 05:52 PM
sound : /dev/dsp j-charles Linux - Newbie 4 02-28-2002 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:07 PM.

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