No description
Find a file
Hector Martin 7fbb53df51 blackbox: Add black-box debug functionality
On any panic, we dump out the last ~30 seconds of IVSENSE data along
with the starting state and panic reason.

Also add a feature to panic if the gain reduces too much. This can be
used to try to catch badness.

Signed-off-by: Hector Martin <marcan@marcan.st>
2023-10-29 00:28:08 +09:00
conf/apple Make mixer element names configurable 2023-10-14 10:15:55 +09:00
src blackbox: Add black-box debug functionality 2023-10-29 00:28:08 +09:00
.gitignore initial commit 2022-12-02 13:54:41 +10:00
95-speakersafetyd.rules udev: Mark sense devices as ACP_IGNORE 2023-10-15 08:34:33 +09:00
Cargo.lock blackbox: Add black-box debug functionality 2023-10-29 00:28:08 +09:00
Cargo.toml blackbox: Add black-box debug functionality 2023-10-29 00:28:08 +09:00
LICENSE add mit license 2023-02-07 21:19:54 +10:00
README.md Update README 2023-10-14 10:22:05 +09:00
speakersafetyd.service Add unit file 2023-10-13 15:18:54 +09:00

Asahi Linux speaker safety daemon

IMPORTANT

This software is still pre-release and not fit for use or testing on user machines. Please do not ask for help with installing or using this software, the Pipewire configuration, or enabling speaker output on your machine. An announcement will be made when speaker support is ready for use.

Requirements

  • A patched eleven secret herbs and spices kernel

Todo list

  • Data structures representing a speaker element
  • Parsing machine-specific values from a config file
  • Logging
  • Mixer control data structures
  • Manipulating mixer controls
  • Retrieving V/ISENSE values
  • Model of voice coil/magnet temperatures
  • Ramping volume according to safety model
  • Tolerate multiple sample rates
  • Sleep reliably while playback has stopped
  • Kernel driver interlock
  • Packaging/distro-agnosticism