Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Figuring out /dev audio devices

Status
Not open for further replies.

JCOest

Technical User
Nov 13, 2001
28
US
Figuring out /dev audio devices ( post #1)

I'm trying to use a VoIP application in Linux called SJPhone w/ a stanaphone account. I have it all configured right where I can make a call and the phone rings but I have no audio incoming or outgoing.

In the application it set my audio device to /dev/dsp on both the mic and speakers. I'm figuring this is not right cause 1. There is no dsp in my /dev directory and 2. becacuse the application isn't working.

Any help in figuring out which /dev device is my sound card?
I tried checking other audio applications to see if it would tell me, but no luck.

Thanks for your help and suggestions.


 
Code:
lspci | grep -i audio
might show it.

Code:
modprobe -l | grep sound
should show available drivers.

lsmod shows all loaded drivers.

Sometimes only the volume is down - aumix on console or kmix in KDE will show.

seeking a job as java-programmer in Berlin:
 
well, if there is no actual sound device, no /dev/dsp, then i assume the operating system doesn't know what soundcard you have, or the settings for said soundcard are wrong, and the kernel failed to load the module, etc.

In this case, I recommend going through your kernel, and checking the options you have set for your sound board, if it is set to compile as a module, make sure the right modules are being installed, and make sure to always load them. Then, after you build these modules, you can modprobe them, or insmod them/unload them until you have correct modules.

to test at command line, just cat /dev/urandom > /dev/audio (or /dev/dsp), for a couple of seconds, and if it sends out alarming squelches, then your sound is working, and all is well. Mind you, you could just fire up a music player or cd or something, but this is only a couple second test...

The weevil of doooooooooom
-The eagle may soar, but the weasel never gets sucked up by a jet engine (Anonymous)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top