Commit 151c3d93 by PLN (Algolia)

docs(log): 041 — midiviz exits with the board, so 'always open' is conditional

Found while shutting down: unplugging the LCXL took midiviz's ALSA
source with it, the process exited cleanly, and Restart=on-failure did
not fire. The permanent lens is only permanent while the board stays
plugged -- which is the same resolve-once stale-binding shape as the
zombie driver this session was opened to fix. lcxl-leds.py already has
the fix pattern (re-resolve per send, cache invalidated on failure).
parent e473f7e1
...@@ -82,3 +82,13 @@ replaces: one wrong click could kill a running Ardour during a set. ...@@ -82,3 +82,13 @@ replaces: one wrong click could kill a running Ardour during a set.
- Take101 (12 orbits × L/R = 24 files) was already missing from `interchange/` - Take101 (12 orbits × L/R = 24 files) was already missing from `interchange/`
and triggered Ardour's missing-source dialog. PLN: "idontcare for todays takes and triggered Ardour's missing-source dialog. PLN: "idontcare for todays takes
they were tests at best" — cleared and saved, no action. they were tests at best" — cleared and saved, no action.
- **midiviz does not survive a replug.** Observed at session end: PLN unplugged
the LCXL, `lcxl-path.py` went to "no LCXL on the bus", and `midiviz.service`
went **inactive** — it resolves its ALSA source port once at startup and exits
when the port disappears, and `Restart=on-failure` does not fire on a clean
exit. So the "always open" lens is only always-open while the board stays
plugged. `tools/lcxl-leds.py:557-641` already solves exactly this (re-resolve
on every send, 2s cache invalidated on failure) — midiviz should either adopt
that or the unit should use `Restart=always` with a short `RestartSec` so it
rebinds within seconds of a replug. This is the same stale-binding family as
the bug that started the whole session.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment