| 1 |
.\" Copyright 1996 Thomas Sailer ([email protected]) |
| 2 |
.\" May be distributed under the GNU General Public License |
| 3 |
.\" " |
| 4 |
.TH BAYCOM 9 "27 April 2008" "Linux 2.1.x" "Kernel Reference Guide" |
| 5 |
.SH NAME |
| 6 |
baycom \- amateur (AX.25) packet radio network driver for baycom modems |
| 7 |
.SH SYNOPSIS |
| 8 |
|
| 9 |
.nf |
| 10 |
.B #include <linux/baycom.h> |
| 11 |
.B #include <linux/hdlcdrv.h> |
| 12 |
.fi |
| 13 |
|
| 14 |
.SH DESCRIPTION |
| 15 |
The driver currently supports three different modems: ser12, par96 and |
| 16 |
par97. |
| 17 |
.SS ser12 |
| 18 |
This is a very simple 1200 baud AFSK modem. The modem consists only |
| 19 |
of a modulator/demodulator chip, usually a TI TCM3105. The computer |
| 20 |
is responsible for regenerating the receiver bit clock. The modem |
| 21 |
connects to a serial port, hence the name. Since the serial port is |
| 22 |
not used as an async serial port, the kernel driver for serial ports |
| 23 |
cannot be used, and this driver only supports standard serial |
| 24 |
hardware (8250, 16450, 16550). |
| 25 |
.SS par96 |
| 26 |
This is a modem for 9600 baud FSK compatible to the G3RUH standard. |
| 27 |
The modem does all the filtering and regenerates the receiver clock. |
| 28 |
Data is transferred from and to the PC via a shift register. |
| 29 |
The shift register is filled with 16 bits and an interrupt is |
| 30 |
signalled. The PC then empties the shift register in a burst. This |
| 31 |
modem connects to the parallel port, hence the name. |
| 32 |
.SS par97 |
| 33 |
This is a redesign of the par96 modem by Henning Rech, DF9IC. The |
| 34 |
modem is protocol compatible to par96, but uses only three low |
| 35 |
power ICs and can therefore be fed from the parallel port and |
| 36 |
does not require an additional power supply. |
| 37 |
|
| 38 |
.SH "IOCTL CALLS" |
| 39 |
The \fBioctl\fP calls follow the implementation in the \fIhdlcdrv\fP. |
| 40 |
|
| 41 |
.TP |
| 42 |
.B BAYCOMCTL_GETMODEMTYPE |
| 43 |
returns the modem type (i.e. \fIser12\fP or \fIpar96\fP) and the |
| 44 |
options in effect (currently only the source of the DCD signal) |
| 45 |
.TP |
| 46 |
.B BAYCOMCTL_SETMODEMTYPE |
| 47 |
sets the modem type and the options. Only superuser can do this. |
| 48 |
.TP |
| 49 |
.B BAYCOMCTL_GETDEBUG |
| 50 |
return some debugging values. Not always available. |
| 51 |
|
| 52 |
|
| 53 |
.SH "SEE ALSO" |
| 54 |
.BR baycom " (9), " soundmodem " (9)," |
| 55 |
linux/drivers/net/hdlcdrv.c, |
| 56 |
|
| 57 |
.SH AUTHOR |
| 58 |
baycom was written by Thomas Sailer, HB9JNX/AE4WA, ([email protected]). |