| 1 |
.\" Copyright 1996 Thomas Sailer ([email protected]) |
| 2 |
.\" May be distributed under the GNU General Public License |
| 3 |
.\" " |
| 4 |
.TH SOUNDMODEM 9 "27 April 2008" "Linux 2.1.x" "Kernel Reference Guide" |
| 5 |
.SH NAME |
| 6 |
soundmodem \- amateur (AX.25) packet radio network driver for soundcards |
| 7 |
.SH SYNOPSIS |
| 8 |
|
| 9 |
.nf |
| 10 |
.B #include <linux/soundmodem.h> |
| 11 |
.B #include <linux/hdlcdrv.h> |
| 12 |
.fi |
| 13 |
|
| 14 |
.SH DESCRIPTION |
| 15 |
The driver currently supports both 1200 baud AFSK and 9600 baud FSK |
| 16 |
(G3RUH compatible) using a standard SoundBlaster compatible or |
| 17 |
WindowsSoundSystem compatible soundcard. The whole decoding is done |
| 18 |
in software, so you definitely do not want to use it on a 386SX class |
| 19 |
machine. |
| 20 |
|
| 21 |
.SH "KEYING THE TRANSMITTER" |
| 22 |
Soundcards do not have a DC coupled output that could serve as a |
| 23 |
PTT signal. So there are basically for possibilities for |
| 24 |
obtaining a PTT signal. Sample schematic diagrams can be found on |
| 25 |
\fIhttp://www.ife.ee.ethz.ch/~sailer/pcf/ptt_circ/ptt.html\fP. |
| 26 |
.SS "VOX circuitry" |
| 27 |
A simple VOX circuitry that detects output signals at the output of |
| 28 |
the soundcard can be used, especially as it can be built with a single |
| 29 |
transistor plus a few passive components and typical soundcards have |
| 30 |
strong output signals. |
| 31 |
.SS "Parallel Port" |
| 32 |
A parallel port line can also be used to signal PTT. If selected, |
| 33 |
the PTT signal is output on the DATA0 line and DCD is output on the |
| 34 |
DATA1 line. |
| 35 |
.SS "Serial Port" |
| 36 |
A standard serial port (8250, 16450, 16550) can also be used to output |
| 37 |
PTT. PTT is output on RTS and TxD, while DCD is output on DTR. |
| 38 |
.SS "MPU401 MIDI Port" |
| 39 |
The MIDI port is basically an asynchronous serial interface and |
| 40 |
thus cannot output a straight DC level, however it may be used if |
| 41 |
connected through a retriggerable monoflop with about 15ms pulse |
| 42 |
duration. Note that only newer SoundBlaster models have a genuine |
| 43 |
MPU401 MIDI port. The older SB MIDI port cannot be used. |
| 44 |
|
| 45 |
.SH "IOCTL CALLS" |
| 46 |
The \fBioctl\fP calls follow the implementation in the \fIhdlcdrv\fP. |
| 47 |
|
| 48 |
.TP |
| 49 |
.B SMCTL_GETMODEMTYPE |
| 50 |
returns the modem type (i.e. \fISBC1200\fP, \fISBC9600\fP, \fIWSS1200\fP |
| 51 |
or \fIWSS9600\fP) |
| 52 |
.TP |
| 53 |
.B SMCTL_SETMODEMTYPE |
| 54 |
sets the modem type. Only superuser can do this. |
| 55 |
.TP |
| 56 |
.B SMCTL_GETMIXER |
| 57 |
returns the mixer type and the contents of the specified |
| 58 |
mixer register. |
| 59 |
.TP |
| 60 |
.B SMCTL_SETMIXER |
| 61 |
sets the specified mixer register, if the specified |
| 62 |
mixer type matches the mixer type of the soundcard. Only |
| 63 |
superuser can do this. |
| 64 |
.TP |
| 65 |
.B SMCTL_DIAGNOSE |
| 66 |
returns the contents of the diagnose buffer, which is used by |
| 67 |
\fIsmdiag\fP to display the eye and oscilloscope diagrams. |
| 68 |
.TP |
| 69 |
.B SMCTL_GETDEBUG |
| 70 |
return some debugging values. Not always available. |
| 71 |
|
| 72 |
|
| 73 |
.SH "SEE ALSO" |
| 74 |
.BR baycom " (9), " soundmodem " (9)," smdiag " (8)," smmixer " (9)," |
| 75 |
linux/drivers/net/hdlcdrv.c, |
| 76 |
|
| 77 |
.SH AUTHOR |
| 78 |
soundmodem was written by Thomas Sailer, HB9JNX/AE4WA, ([email protected]). |