Jump to content

Pam rd jackd rivendell daemons

From Rivendell Wiki
Revision as of 11:29, 2 July 2026 by Admin (talk | contribs) (Created page with "```mediawiki = Rivendell Daemons, JACK Audio System, and PAM Integration = In a Rivendell radio automation environment, the '''Rivendell daemons''', the '''JACK Audio Connection Kit (jackd)''', and the '''pam_rd PAM module''' work together to provide user authentication, audio routing, scheduling, recording, and playout services. Rivendell supports JACK as an audio driver and includes PAM integration for multi-user authentication. 【1-ef4425】【2-3e5dbb】 == JACK A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

```mediawiki

Rivendell Daemons, JACK Audio System, and PAM Integration

In a Rivendell radio automation environment, the Rivendell daemons, the JACK Audio Connection Kit (jackd), and the pam_rd PAM module work together to provide user authentication, audio routing, scheduling, recording, and playout services. Rivendell supports JACK as an audio driver and includes PAM integration for multi-user authentication. 【1-ef4425】【2-3e5dbb】

JACK Audio System (jackd)

JACK (Jack Audio Connection Kit) is a low-latency audio server that provides a centralized audio routing layer between Rivendell applications and physical audio hardware. Rivendell can use JACK as its primary audio driver. 【2-3e5dbb】

Functions of JACK

  • Manages audio interfaces and sound devices. 【2-3e5dbb】
  • Provides low-latency audio transport between applications. 【2-3e5dbb】
  • Creates virtual audio ports that applications can connect to. 【2-3e5dbb】
  • Allows multiple applications to share and route audio streams without direct hardware access. 【2-3e5dbb】

JACK Workflow

Audio Source
     │
     ▼
   jackd
     │
     ▼
Rivendell Application
     │
     ▼
 Audio Output Device

For example, audio recorded by RDCatch can be routed through JACK to storage, while audio played by RDAirPlay can be routed through JACK to a broadcast console or transmitter chain. 【1-ef4425】【2-3e5dbb】

Rivendell Daemons

Rivendell relies on several background processes (daemons) that provide automation and control services. These daemons run continuously and support the various Rivendell applications. 【1-ef4425】

rdcatchd

The rdcatchd daemon is responsible for:

  • Managing scheduled recordings. 【1-ef4425】
  • Executing automated recording events. 【1-ef4425】
  • Receiving audio through configured audio drivers such as JACK. 【1-ef4425】【2-3e5dbb】

ripcd

The ripcd daemon provides Rivendell interprocess communications and automation services.

Functions include:

  • Communication between Rivendell applications. 【1-ef4425】【3-1ff375】
  • GPIO and automation event handling. 【3-1ff375】
  • Coordination of system-wide control messages. 【3-1ff375】

Other Rivendell Applications

Applications that interact with these services include:

  • RDAirPlay (On-air playout) 【1-ef4425】
  • RDPanel (Cart wall application) 【1-ef4425】
  • RDLibrary (Audio library management) 【1-ef4425】
  • RDLogManager (Log generation and scheduling) 【1-ef4425】

These applications communicate with Rivendell services while using JACK for audio transport. 【1-ef4425】【2-3e5dbb】

PAM Integration (pam_rd)

Rivendell includes a PAM (Pluggable Authentication Module) component called pam_rd. Documentation for this component is distributed as pam_rd.txt and provides support for authentication and multi-user environments. 【3-1ff375】【1-ef4425】

Purpose of pam_rd

The pam_rd module enables:

  • User authentication through the Linux PAM framework. 【3-1ff375】【1-ef4425】
  • Multi-user workstation support. 【3-1ff375】
  • Integration between Linux authentication and Rivendell user management. 【1-ef4425】【3-1ff375】
  • Access control for Rivendell applications and services. 【3-1ff375】

Authentication Process

User Login
     │
     ▼
Linux PAM Framework
     │
     ▼
pam_rd
     │
     ▼
Rivendell User Authorization
     │
     ▼
Access Granted / Denied

When a user launches a Rivendell application or logs into a Rivendell workstation, the PAM framework invokes pam_rd to validate credentials and determine authorization for Rivendell resources. 【3-1ff375】【1-ef4425】

Relationship Between Daemons, JACK, and PAM

The components work together as follows:

Operator
    │
    ▼
 PAM / pam_rd
    │
    ▼
Rivendell Applications
    │
    ▼
Rivendell Daemons
    │
    ▼
 JACK (jackd)
    │
    ▼
Audio Hardware
  • pam_rd authenticates and authorizes users. 【3-1ff375】【1-ef4425】
  • Rivendell daemons perform automation, scheduling, recording, and system coordination tasks. 【1-ef4425】
  • jackd transports audio between Rivendell applications and audio devices with low latency. 【2-3e5dbb】

Summary

In a Rivendell installation:

  • pam_rd determines who can access the system. 【3-1ff375】【1-ef4425】
  • Rivendell daemons manage broadcast automation functions and interprocess communications. 【1-ef4425】【3-1ff375】
  • jackd provides the low-latency audio infrastructure used for recording, playback, and audio routing. 【2-3e5dbb】

Together, these components provide a secure, multi-user broadcast automation platform capable of professional radio playout and recording workflows. 【1-ef4425】【3-1ff375】【2-3e5dbb】 ```