On 08/18/2007 07:32 AM somebody named Patrick Shanahan wrote:
> * ken <[EMAIL PROTECTED]> [08-18-07 07:23]:
>> A script I have uses "play" in a script.  If /dev/dsp (or dsp0) is
>> locked up for some reason (generally after viewing a video on
>> youtube), then "play" fails and the rest of the script horks.  The
>> error returned says "sox: Can't open output file '/dev/dsp': No such
>> device".
>> Sometimes I'll get a "device busy" error.  Does anyone know a way to
>> test /dev/dsp (in advance of this failure) so that the "play" error
>> can be avoided?
> 
> You might try lsof, "man lsof" and "lsof /dev/dsp"
> 

Yeah, that's a good command and would probably give good info if the
device were busy, but "lsof /dev/dsp" returns nothing when there's "No
such device"... which makes sense.

Since posting my previous (original) email, I discovered that the audio
alarm (to signal an appointment) on Korganizer works.  If that works,
why doesn't "play"?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to