SMDIAG(8)

πŸ“¦
version 1.1.0 Β· 2 versions
  • 1.1.0 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.4 Β· fedora 43, fedora 44
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– smdiag(8) β€” Linux Programmer's Manual πŸ’–

okay bestie, so you found smdiag, and honestly? she's a little icon. this is the diagnostics utility for the Linux soundcard packet radio modem driver, and she's here to help you tune things. 🌈


✨ NAME ✨

smdiag β€” Linux soundcard packet radio modem driver diagnostics utility


πŸŽ€ SYNOPSIS πŸŽ€

smdiag [-i device] [-d display] [ -ce ]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, smdiag may help you adjust the audio levels of the soundcard modem driver β€” and she'll also help you control the quality of the radio link, which is kind of her whole thing. πŸ’…

she can either display an oscilloscope-like view of the input signal, or show you an eye diagram. pick your fighter. πŸ‘‘

and here's the cute part: the display may be gated with DCD, meaning it only updates if the modem detects a data carrier. so the window's just gonna chill there not doing anything until there's actual carrier. vibe check passed. 😌


πŸ’… OPTIONS πŸ’…

smdiag accepts the following options:

  • -i β€” the device argument specifies the soundcard modem device which should be configured or interrogated. it will usually have the following form: sm[0-3]. 🫢
  • -d β€” sets the address of the X server to display the window.
  • -h β€” display an overview of the available command line parameters and exit. classic. πŸ™ˆ
  • -c β€” toggle the carrier gating of the display.
  • -e β€” display an eye diagram (overlay of the synchronized demodulator output) instead of an oscilloscope view of the input signal. eyes on the prize. πŸ‘€

🌸 KEYS 🌸

  • C β€” clears the window
  • D β€” toggles the DCD gating.
  • E β€” displays an eye diagram
  • I β€” displays the input signal
  • Q β€” quits smdiag

πŸ’€ BUGS πŸ’€

okay, full transparency, she's not perfect:

  • smdiag reacts sluggishly to keypresses. 😭
  • The window size is fixed. no resizing, she is what she is. πŸŽ€
  • For speed reasons, two square root operations per sample are not implemented in the AFSK 1200 baud modes.
  • The eye diagram for the AFSK 1200 baud mode is therefore distorted. not a girlboss moment, but we move. πŸ’€
ngl, that last one is fr fr just how it is β€” don't come for her, it's a speed thing.

πŸ”₯ SEE ALSO πŸ”₯

smixer??? no bestie β€” smmixer (8), sethdlc (8), linux/drivers/net/soundmodem.c


πŸ‘‘ AUTHOR πŸ‘‘

smdiag was written by Thomas Sailer (t.sailer@alumni.ethz.ch). give her author some love. 🫢


✨ that's the whole page, bestie ✨ β€” this was Smdiag 0.1, dated 27 April 2008, and it's the SMDIAG(8) manual page. mwah. πŸ’‹πŸŽ€