Maze Linux / Wiki

Hardware Kill Switches

Maze Hardware

The Maze Hardware application has kill switches for the camera, microphone, Bluetooth, Wi-Fi and USB. Block camera & mic at the top flips the two most common ones at once; the counter shows how many devices are blocked. They work below the application level, so a program cannot talk its way around them:

SwitchWhat "off" doesSurvives a reboot?
CameraBlacklists the uvcvideo / gspca_main drivers and unloads themYes
MicrophoneMutes the default input in PipeWire (and ALSA capture)Usually — the mute state is restored
Bluetoothrfkill block bluetoothYes (systemd-rfkill keeps it)
Wi-Firfkill block wifiYes (systemd-rfkill keeps it)
USBTurns on USBGuard with an allow-list of the devices plugged in right now; anything new is blockedYes, until you switch it back on

The same switches are available from the shell (maze-killswitch status, maze-killswitch camera off) and from your phone through Maze Connect. The privileged work is done by the maze-guardd broker, which only accepts requests from a user sitting at the machine — not from SSH or a background process.

The camera switch is persistent

Turning the camera off stays off across reboots. The driver is blacklisted (/etc/modprobe.d/maze-killswitch-camera.conf), which means no application can see the camera until you turn it back on in Maze Hardware — or by hand:

sudo rm /etc/modprobe.d/maze-killswitch-camera.conf && sudo modprobe uvcvideo

This is the intended behaviour, and it is also the single most common source of "my camera stopped working" reports.

"My camera / microphone isn't working — what did I do?"

Run this first:

sudo maze-doctor

Its Hardware section answers it:

Panic mode

Ctrl+Alt+P (or the Maze Panic item in the system tray) is the emergency button. In this order it:

  1. turns networking off in NetworkManager,
  2. locks the screen,
  3. blocks the Wi-Fi and mobile radios and wipes the system journal and the main system logs (including the audit log) — Bluetooth stays on so a Bluetooth keyboard keeps working,
  4. clears your shell histories, recent-files lists, thumbnails and clipboard (a terminal that is still open may write its history back when it closes).

Panic mode

It does not delete your files or damage the system. Bring the network back with Restore network in the tray widget or maze-panic-restore.

maze-panic takes no options — running maze-panic --help triggers panic mode. Use the tray widget's restore, not a reboot, to undo it: the radio block survives reboots.

USB protection

USB device blocking (USBGuard) is off by default, and switching it on is a deliberate choice you make in Maze Hardware.

It is off by default on purpose: blocking new USB devices by default means a newly plugged-in keyboard or mouse does not work, which for most people reads as a broken computer rather than a security feature. Turn it on when you want that protection and understand the trade-off.

See also: Diagnostics · Privacy Reference