Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was hacking around and hoping to direct some random data using pipes at /dev/dsa as follows

  cat random.file > /dev/dsa

...to get some random noise, but I can't manage to find an audio device. I have looked all around the dev folder, there is nothing called /dev/mixer or /dev/audio. I am running Ubuntu 11.04 on an Eeepc 1001p.

share|improve this question
up vote 6 down vote accepted

You might well be using alsa--If there is a /dev/snd directory, then that likely the case. Also, according to the Alsa-mini Howto, the results of running cat /proc/asound/cards should contain information on your soundcard.

share|improve this answer
I am of course assuming, that you mean that regular sound producing applications (eg: VLC, xmms, mplayer) produce sound okay. – C. Storey May 24 '11 at 10:54
Yes, indeed, that is the device. Thank you. You wouldn't believe how much googling I did before I came here for such a simple question! – jones May 24 '11 at 11:49
Note: this must be a fairly common problem since the latest Linux kernels (2.6+) has migrated to supporting ALSA, in place of OSS. /dev/dsa is OSS and /dev/snd is ALSA – jones May 24 '11 at 15:28
I assume that you mean /dev/dsp rather than /dev/dsa. Funnily enough I didn't spot it the first time round either. :) – C. Storey May 26 '11 at 12:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.