BAYCOM(9)
π BAYCOM(9) β the kernel reference guide, but make it cute π
okay so this is the baycom page from the Kernel Reference Guide, and honestly? she's a whole vibe. amateur radio, kernel drivers, real hardware β the girls are coding. let's get into it β¨
πΈ NAME πΈ
baycom β the amateur (AX.25) packet radio network driver for baycom modems π
like, she talks to your radio over packets, that's the whole thing, no cap.
π¦ SYNOPSIS π¦
#include <linux/baycom.h>
#include <linux/hdlcdrv.h>
that's it bestie, those two headers and you're in π«Ά
β¨ DESCRIPTION β¨
so rn the driver supports three different modems: ser12, par96 and par97. three icons, one driver, she ate π₯
π ser12
this one is a very simple 1200 baud AFSK modem. lowkey a minimalist queen.
- the modem is literally just a modulator/demodulator chip β usually a TI
TCM3105π§ - the computer is the one responsible for regenerating the receiver bit clock (yes, the PC is doing the work, main character energy fr)
- it connects to a serial port, hence the name
ser12 - and here's the tea β: since the serial port is not used as an async serial port, the kernel driver for serial ports cannot be used. so this driver only supports standard serial hardware:
8250,16450,16550. that's the list, don't @ me
π par96
this one's a modem for 9600 baud FSK, compatible to the G3RUH standard. glow up.
- the modem does all the filtering and regenerates the receiver clock (she's independent π )
- data gets transferred from and to the PC via a shift register
- the shift register gets filled with 16 bits, and then an interrupt is signalled
- the PC then empties the shift register in a burst β iconic behaviour honestly
- this modem connects to the parallel port, hence the name
par96π
π par97
this is a redesign of the par96 modem by Henning Rech, DF9IC. respect the icon π
- the modem is protocol compatible to
par96 - but it uses only three low power ICs π§ββοΈ
- and because of that it can be fed from the parallel port and does not require an additional power supply. sustainable queen, we stan π±
π IOCTL CALLS π
the ioctl calls follow the implementation in the hdlcdrv. that's the vibe, that's the reference, go look there π
β BAYCOMCTL_GETMODEMTYPE
returns the modem type (i.e. ser12 or par96) and the options in effect (currently only the source of the DCD signal). like a little vibe check for your modem π
πΈ BAYCOMCTL_SETMODEMTYPE
sets the modem type and the options. Only superuser can do this β so yeah, you need the big permissions for this one, no shortcuts π
π¦ BAYCOMCTL_GETDEBUG
returns some debugging values. Not always available β so don't come for her if it's not there, she's doing her best π
π« SEE ALSO π«
baycom (9), soundmodem (9), linux/drivers/net/hdlcdrv.c,
(and yes the trailing comma is staying, it's part of the lore π)
π AUTHOR π
baycom was written by Thomas Sailer, HB9JNX/AE4WA, (t.sailer@alumni.ethz.ch). thank you king, we appreciate you π«Άπ
π‘ friendly reminder bestie: this whole page is the kernel reference guide realness β if you're poking at hardware, double-check your serial chip situation before you go feral.ser12only rolls with8250,16450,16550and that is not a suggestion π
and that's the page!! this was Linux 2.1.x, dated 27 April 2008, filed under BAYCOM(9) β mwah, hope you understood it, ily, go build something cute with your packets ππβ¨π¦πΈ
π¦ where this page comes from
- alpine 3.24: ax25-tools-doc 1.1.0-r0 Β· GPL-2.0-or-later
- debian bookworm: ax25-tools 0.0.10-rc5+git20190411+3595f87-6
- debian trixie: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3 Β· GPL-2.0-only
- nixos 26.05: ax25-tools 0.0.10-rc5
- ubuntu jammy: ax25-tools 0.0.10-rc5+git20190411+3595f87-5
- ubuntu noble: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-1build2 Β· GPL-2.0-only
- ubuntu questing: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3
- ubuntu resolute: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3build1 Β· GPL-2.0-only
- ubuntu stonking: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3build1 Β· GPL-2.0-only
- Copyright 1996 Thomas Sailer (t.sailer@alumni.ethz.ch)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms