Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Zwane Mwaikambo <zwane@linuxpower.ca>
To: linux-sound@vger.kernel.org
Subject: Re: /dev/dsp : no such device
Date: Mon, 21 Oct 2002 12:26:00 +0000	[thread overview]
Message-ID: <marc-linux-sound-103520484301557@msgid-missing> (raw)

On Mon, 21 Oct 2002, Venkat S wrote:

> Now, the problem is that, sometimes, when i send a trigger to the main thread to start the ring tone, i start the pthread for playing ringtone, and when i try opening /dev/dsp1, it gives me
> a perror with "No such Device". After some observation, I found that there seemed to some pattern. If I were to leave this program running for some time without any tone being played, and THEN provided an external trigger to start the tone, the open on the device always fails. On the other hand, if I were to continually toggle between playing and stopping the tone, it seems to work fine, without any issues.
> What am I doing wrong? and would any of you have any idea about the root cause.

Perhaps the driver is being 'autounloaded' ? Check with lsmod

	Zwane
-- 
function.linuxpower.ca


             reply	other threads:[~2002-10-21 12:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-21 12:26 Zwane Mwaikambo [this message]
2002-10-21 12:32 ` /dev/dsp : no such device Venkat S
2002-10-22  3:56 ` Venkat S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-sound-103520484301557@msgid-missing \
    --to=zwane@linuxpower.ca \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox