DMASCC_CFG(8)
β¨ DMASCC_CFG(8) β the dmascc device glow-up guide β¨
okay bestie, gather round, because this is the Linux Programmer's Manual page for dmascc_cfg, and she is that girl π
π NAME π
dmascc_cfg β configure dmascc devices
πΈ SYNOPSIS πΈ
dmascc_cfg <interface> [<options>]
π¦ DESCRIPTION π¦
so basically, dmascc_cfg is the little tool you use to configure dmascc devices β think PI2 and PackeTwin cards, the whole squad π
here's the tea on permissions tho: the --show option is for everybody, any user can run it, no gatekeeping. but every other option? that's root only, no cap. sorry babes, that's just how it is π«Ά
β¨ OPTIONS β¨
--speedfrequency β sets the frequency of the baud rate generator to frequency. if you set it to0, that disables the baud rate generator and the digital PLL entirely. and like, pls use the--showoption to check whether the frequency you picked could actually be approximated with sufficient accuracy β don't just rawdog a number and hope, bestie π--nrzi[0|1]β0selects NRZ mode,1selects NRZI mode. pick your fighter.--clocksinteger β sets the clock mode. you may OR together three choices β and fr fr, other values are not supported and may cause strange results π
TX clock pin:
0x00input0x05output TX clock *0x06output baud rate generator *0x07output digital PLL *
TX clock source:
0x00RX clock pin0x08TX clock pin #0x10baud rate generator0x18digital PLL +
RX clock source:
0x00RX clock pin0x20TX clock pin0x40baud rate generator0x60digital PLL +
* Not allowed on PI2 Port A if J3 is installed.
# TX clock pin must be configured as input.
+ Speed must be equal to 32 times the baud rate.
--txdelaymilliseconds β sets the transmit delay to milliseconds. maximum is2500ms, so don't get greedy π--txtimeseconds β sets the maximum time the transmitter may be active to seconds. she has a curfew.--sqdelaymilliseconds β sets the squelch delay to milliseconds. maximum delay is2500ms.--slottimemilliseconds β sets the slot time to milliseconds. maximum slottime is2500ms.--waittimemilliseconds β sets the minimum time between the transmitter turning off to when it turns on, to milliseconds. maximum wait time is2500ms. she needs a moment, okay? π--persistf β sets the persistence parameter to f. must be between0and255(inclusive). both ends, babes,0and255count.--dmachannel β sets the DMA channel to channel. can be1or3. setting it to0disables DMA.
π BUGS π
okay so this is the part where I hold your hand: dmascc_cfg does not check the parameters for validity. like, at all. zero vibe check.
The driver or kernel may crash if you specify invalid values.
so if you feed her nonsense, the driver or the kernel may literally crash. not a drill, not a cute little oopsie. double check ur numbers before you hit enter, i am begging ππ
π AUTHORS π
- Klaus Kudielka
- This manual page written by Craig Small
<csmall@small.dropbear.id.au>
and that's the whole page, bestie π this one's from the Linux manual, dated 30 June 1999 β vintage, iconic, still serving. mwah π β¨π
π¦ where this page comes from
- debian trixie: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3 Β· GPL-2.0-only
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms