* 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" -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]