Linux Sound subsystem development
 help / color / mirror / Atom feed
* Re: /dev/dsp : no such device
@ 2002-10-21 12:26 Zwane Mwaikambo
  2002-10-21 12:32 ` Venkat S
  2002-10-22  3:56 ` Venkat S
  0 siblings, 2 replies; 3+ messages in thread
From: Zwane Mwaikambo @ 2002-10-21 12:26 UTC (permalink / raw)
  To: linux-sound

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-22  3:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox