Linux-Hams archive - July 1997: Interaction baycom device/modem with opening and closing /dev/dsp

Interaction baycom device/modem with opening and closing /dev/dsp

Arjan Filius (gmis.wheyybe@jrc.be)
Mon, 7 Jul 1997 03:00:49 +0200 (CEST)


Hello linux hams,

I just found out that the baycom driver is unable to recieve anything when
the audio device /dev/dsp is opened and closed _very_ quickly.
It's not a _normal_ situation to open and close that quickly the audio
device, but maybe this points to a possible bug?

The next example script show how to make your baycom unable to receive:
---->Cut here<-----
#!/bin/sh
COUNT="0 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25"

echo "Test your baycom for it does still recieve please "
for i in $COUNT
do
for i in $COUNT
do
for i in $COUNT
do
for i in $COUNT
do
echo "0123456789" > /dev/dsp
done
done
done
done
echo "Test done"
---->Cut here<-----

Is it due to the baycom module gets interrupted by the sound card module?

Any thoughts are welcome,

Arjan Filius
Email: bkubrkv.oooc@mx.dy.fi
--------------------------------------------------------------
Argh! All right, so how am I supposed to work with Linux when
everything's already been done?! Can't these people leave some
broken MSDOS like parts so there's problems left to solve!?....