Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Venkat S <venks@surffast.com>
To: linux-sound@vger.kernel.org
Subject: Re: /dev/dsp : no such device
Date: Tue, 22 Oct 2002 03:56:16 +0000	[thread overview]
Message-ID: <marc-linux-sound-103525919530082@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-103520484301557@msgid-missing>

Hi
 
Yes, I checked lsmod. the sound module had been autounloaded,
but the next open(/dev/dsp) resulted in the drivers being 
loaded, and hence the open succeeded. this, although i had the 
program waiting for the external trigger for quite some time(the
problem scenario). Now i am lost!
 
So, do you think there could be a problem with open() failing
before the insmod of the sound modules can complete?
 
venkat


--- Zwane Mwaikambo <zwane@linuxpower.ca> wrote:
>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

_____________________________________________________________
Surf the Web with SURF FAST.com ---> http://www.surffast.com

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

      parent reply	other threads:[~2002-10-22  3:56 UTC|newest]

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

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-103525919530082@msgid-missing \
    --to=venks@surffast.com \
    --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