Files
ansible/host_vars/musicdolphin.yml
Martin Bauer 6b9b50ef2e Get sound, the screen and emoji working on musicdolphin's Pi 5
- HiFiBerry: the plain hifiberry-dacplus overlay makes the Pi the I2S clock consumer,
  which the Pi 5's controller refuses (snd_soc_dai_set_fmt -22). The card never probed,
  so every softvol_* device was dead: squeezelite crash-looped and the backend and
  shairport played into nothing. hifiberry-dacplus-std has the Pi drive the clocks.
  pi_hifiberry_amp now matches any dtoverlay=hifiberry-* line, so changing the overlay
  replaces the old one instead of adding a second.
- X: with two DRM devices (v3d, vc4) Xorg gave up with "Cannot run in framebuffer
  mode", and the kiosk looped on a blank screen. 99-vc4.conf points it at vc4, the
  display controller; rendering still goes to V3D (glxinfo: V3D 7.1, accelerated).
- The front-end's icons are emoji in the markup. The Lite image has no emoji font, so
  they rendered as empty boxes: install fonts-noto-color-emoji.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 21:21:47 +02:00

41 lines
2.0 KiB
YAML

---
squeezelite_name: Wohnzimmer
pi_shairport_name: _Oben_Wohnzimmer
alsa_card_name: sndrpihifiberry
sensor_room_name_ascii: wohnzimmeroben
sensor_room_name: WohnzimmerOben
# -std: the Pi drives the I2S clocks. The plain dacplus overlay makes the Pi the clock
# consumer, which the Pi 5's I2S controller rejects (snd_soc_dai_set_fmt -22), so the
# card never probes and every softvol_* device is dead.
hifiberry_overlay: hifiberry-dacplus-std
main_user: root
mediapi_has_hifiberry_amp: true
mediapi_ir_control: irserver
# Off for the Pi 5: the legacy Adafruit_DHT library bit-bangs the BCM283x registers,
# which the Pi 5 no longer has (GPIO sits behind the RP1 chip), so the poller cannot
# work there. Needs a libgpiod-based replacement before this goes back to true.
mediapi_has_dhtsensor: false
# Raspberry Pi 5. The SD card came from a Pi 4, whose image has no Pi 5 kernel.
pi_standard_setup_install_pi5_kernel: true
# The Pi is fed 5V through the HiFiBerry board's GPIO header, not USB-C, so it cannot
# negotiate a 5A supply and would cap USB current at 600mA.
hifiberry_powers_pi: true
# Display-only MusicMouse instance: no physical mouse attached, shown on the monitor
# via pi_kiosk instead. See roles/pi_musicmouse/files/config-musicdolphin.yml.
mediapi_install_kidsmusic: true
# The native Slint front-end is not deployed here; the browser kiosk is the front-end.
mediapi_install_slint_frontend: false
mediapi_has_monitor: true
# Temporarily a debuggable desktop rather than a locked-down kiosk: Openbox root menu,
# visible pointer, Firefox in a normal window. Set back to "kiosk" when done.
pi_kiosk_mode: debug
# ?pi=1 is the front-end's Raspberry Pi profile (web/src/lib/lowPower.ts): the ambient
# canvas at a quarter of the pixels and 30fps, the progress bar re-rendering ten times
# a second instead of sixty, and no backdrop blur. Drop the parameter in the address
# bar to compare against the full-fat version on the same machine.
pi_kiosk_url: "http://localhost:8080/?pi=1"
musicmouse_version: deploy/musicdolphin