[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linpsk error Debian's Woody 0.6.2-3



On Mon, 21 Oct 2002, Jaye Inabnit ke6sls wrote:

> This program seems to work on my laptop.  I don't know why it works, but it 
> does.  I can send tone and transmit what sounds to be good tones w/signals.  
> This is very interesting!  
...
> In a way, this is good news.  If this program works with this 
> kernel/module/sounddevice, then others *should* work also.  Clearly, your 
> program is touching the device differently than the others are.

During the development of gmfsk I learned two things about the sound 
support undex Linux:

1) There are drivers that don't handle full-duplex too well.
2) There are drivers that don't implement non-blocking I/O at all.

Because of the above I decided to try and make the job as easy as possible
for the sound driver. The modulator/demodulator runs in a separate thread, 
allowing me to use blocking I/O without making the GUI sluggish. Also 
the sound card is always closed and re-opened when changing from RX to TX 
and back.

I think many of the other programs use full-duplex and non-bocking I/O 
(not sure about the latter though). That might make the difference...

-- 
Tomi Manninen           Internet:  oh2bns@sral.fi
OH2BNS                  AX.25:     oh2bns@oh2rbi.fin.eu
KP20ME04                Amprnet:   oh2bns@oh2rbi.ampr.org



Reply to: