Skip to main content
ados-gpio owns the host’s GPIO output lines and drives a status buzzer or LED on request. It runs on every profile and is on by default; on a ground station the beeper and status lines are part of its normal behaviour. It is safe by default:
  • It drives no line until it receives an explicit command.
  • Every beep is bounded, so a line is never held high indefinitely, and every beep schedule ends with the line low.
  • On shutdown it drives every line it owns low.
  • On a host with no GPIO chip, line writes fail and are reported back as errors; the service stays up so a later command, or a controller plugged in later, is served.

Turn it off

hardware.gpio_out_enabled in /etc/ados/config.yaml controls the service (default true). The installer mirrors it into the /etc/ados/gpio-rust-enabled marker that the ados-gpio unit starts on, on every install and upgrade. Set it to false and the next installer run removes the marker, leaving the unit inert.

Command socket

The service listens on /run/ados/gpio-cmd.sock: one newline-terminated JSON request per connection, one JSON reply, then the connection closes. A failure is {"ok": false, "error": "E_..."}. Bad JSON, an unknown op or a missing field is refused without touching hardware. The current line states are also written to /run/ados/gpio-output.json.

Beep bounds

A beep request outside these bounds is clamped, not rejected, so the operator still gets a bounded beep:

From an extension

An extension drives the lines through the plugin host, which forwards each call to this socket: See Extensions for how capabilities are granted.

The crate

The timing and command parsing are published as the ados-gpio crate, so other projects can use the same bounded beep schedules on Linux GPIO character devices.
Last modified on November 28, 2026