LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /dev/dsp says file don't exist - but it does? (https://www.linuxquestions.org/questions/linux-newbie-8/dev-dsp-says-file-dont-exist-but-it-does-568754/)

lugoteehalt 07-12-2007 09:52 AM

/dev/dsp says file don't exist - but it does?
 
Probably missing something obvious but the following has me mystified. Why does dsp say something doesn't exist when it obviously does?
Code:

lugo@debian:/usr/bin$ esd
/dev/dsp: No such file or directory
lugo@debian:/usr/bin$ whereis esd
esd: /usr/bin/esd /usr/X11R6/bin/esd /usr/bin/X11/esd /usr/share/man/man1/esd.1.gz
lugo@debian:/usr/bin$ ls -l /usr/bin/esd
-rwxr-xr-x 1 root root 43116 2006-01-13 08:35 /usr/bin/esd
lugo@debian:/usr/bin$ su
Password:
debian:/usr/bin# /usr/bin/esd
/dev/dsp: No such file or directory
debian:/usr/bin# .//usr/bin/esd
bash: .//usr/bin/esd: No such file or directory
debian:/usr/bin# esd
/dev/dsp: No such file or directory
debian:/usr/bin# ./esd
/dev/dsp: No such file or directory

debian:~# stat /usr/bin/esd
  File: `/usr/bin/esd'
  Size: 43116          Blocks: 88        IO Block: 4096  regular file
Device: 303h/771d      Inode: 31555      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)  Gid: (    0/    root)
Access: 2007-07-12 13:01:56.000000000 +0100
Modify: 2006-01-13 08:35:08.000000000 +0000
Change: 2007-07-12 12:03:41.000000000 +0100


ilikejam 07-12-2007 10:10 AM

What do you get from 'ls -l /dev/dsp'?

tredegar 07-12-2007 10:16 AM

Code:

debian:/usr/bin# /usr/bin/esd
/dev/dsp: No such file or directory

What you have done here is run a command called esd (as root)
I do not know what esd is as I do not have it, but it is esd that is complaining and it is saying "/dev/dsp: No such file or directory"
So, do you have the (device) file /dev/dsp ?

lugoteehalt 07-13-2007 12:09 PM

Yes, thanks, you're both right.

In my own defence I did say I was probably missing something obvious:rolleyes:. There was no /dev/dsp. Fixed it by installing alsa. esd is the Enlightenment sound daemon.


All times are GMT -5. The time now is 03:51 PM.