nmdm(4freebsd)

nmdm4freebsd

Nullmodem terminal driver

Usage

To compile this driver into the kernel, place the following line in your kernel configuration file:

device nmdm

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

nmdm_load="YES"

Overview

The nmdm driver provides two tty(4) devices connected by a virtual “null modem” cable.

If either of the two tty devices have the CDSR_OFLOW bit (“stty dsrflow”) set in their line discipline, the nmdm device will emulate the speed configured in the termios(4) settings. The speed emulation works independently in the two directions, controlled by the slower end's termios settings (c_ispeed, c_ospeed, CS5 ... CS8, CSTOPB and PARENB).

Files

/dev/nmdmN[AB]

nullmodem device nodes. Where the A node has a matching B node.

The nmdm driver implements “on-demand device creation” so simply accessing a given instance in /dev will create it.

Diagnostics

None.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

History

The nmdm driver first appeared in FreeBSD 4.4.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.