Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 5.85 KB

breaking_changes.md

File metadata and controls

26 lines (16 loc) · 5.85 KB

Information

This document contains information about breaking changes if a new version is released and the configuration changed. If you use the homeassistant image please also follow the snapcast and satellite breaking changes.

Versions

Unreleased

The stage 02-stage-audiodriver-other is removed, the images PiCompose and PiCompose_Linux-Voice-Assistant are built without a hardware stage and the package picompose-driver-other is no longer published. configure_audio.service and /usr/bin/configure_audio.sh are gone, which set the volume of the default sink to 100 % and ran alsactl store at every start. The default volume of a sound card without a stored state is now 100 % through picompose-core (51-default-volume.conf), a volume that WirePlumber has already stored for the card is kept. On an existing image, apt upgrade leaves a dangling configure_audio.service symlink behind.

The driver of the ReSpeaker 2-Mics Pi HAT V2.0 image is installed by the package picompose-driver-2michat-v2 instead of the image build. The package brings the device tree overlay, the boot configuration and an ACP profile set for the sound card, which no longer turns ACP off (51-disable-acp.conf is gone). configure_audio.service and /usr/bin/configure_audio.sh are gone, which set the outputs of the TLV320 codec to 100 %, the input gain to 80 %, the volume of the default sink to 100 % and ran alsactl store at every start. The profile set of the package now puts HP DAC and Line DAC at 0 dB at a sink volume of 100 % and lets the sink volume change them. The other controls (HP, HPCOM DAC, and the input gain PGA, which was 80 % and is now left at the 27 % of the codec) are no longer set. On an existing image, apt upgrade leaves a dangling configure_audio.service symlink behind.

The driver of the ReSpeaker 2-Mics Pi HAT v1 image is installed by the package picompose-driver-2michat-v1 instead of the image build. The DKMS driver of HinTak/seeed-voicecard is gone: the package loads the overlay respeaker-2mic-v1_0 of Seeed (dtoverlay=respeaker-2mic-v1_0) and uses the WM8960 driver of the Raspberry Pi kernel, and it enables dtparam=i2c_arm=on and dtparam=spi=on. seeed-voicecard.service is gone, which detected the HAT at the first start, replaced /etc/asound.conf and the ALSA state with the files of the HAT, and rebooted the system once. dtparam=i2s=on and dtoverlay=i2s-mmap are no longer set, the 4-Mics and 6-Mics HATs are no longer supported. The package ships an ACP profile set for the sound card, which no longer turns ACP off (51-disable-acp.conf is gone). configure_audio.service and /usr/bin/configure_audio.sh are gone, which set Headphone, Speaker, Master and PCM of the card and the volume of the default sink to 100 % and ran alsactl store at every start. The profile set of the package now merges Headphone and Speaker into the sink volume, so a sink volume of 100 % puts both at their maximum (+6 dB), and sets Playback to 0 dB. On an existing image, apt upgrade does not remove the old 51-disable-acp.conf, which keeps the profile set from working, and leaves a dangling configure_audio.service symlink behind. apt upgrade removes the dtoverlay=seeed-*-voicecard lines from the boot configuration, but not dtoverlay=i2s-mmap, dtparam=i2s=on and /etc/asound.conf.

The audio setup of the Satellite1 image is installed from the APT repository instead of being downloaded from GitHub: the packages satellite1-rpi-setup-trixie and satellite1-rpi-sdk of FutureProofHomes are republished unchanged by PiCompose-Package-Driver-Satellite1. The image build no longer copies 51-disable-acp.conf, configure_audio.service and /usr/bin/configure_audio.sh, and it no longer installs the custom kernel linux-image-6.18.34-fusb302-rpi-v8, the Satellite1 relies on the fusb302 driver of the Raspberry Pi kernel since 6.18. The microphone works with the ACP profile set of satellite1-rpi-setup-trixie 1.5-1, which replaces 51-disable-acp.conf. On an existing image, apt upgrade does not remove the old 51-disable-acp.conf and the dangling configure_audio.service symlink.

The audio setup of the ReSpeaker Lite image is installed by the package picompose-driver-respeaker-lite instead of the image build. keep-audio-alive.service stays. configure_audio.service and /usr/bin/configure_audio.sh are gone, which set the volume of the default sink to 100 % at every start. The default volume of a sound card without a stored state is now 100 % through picompose-core (51-default-volume.conf), a volume that WirePlumber has already stored for the card is kept. On an existing image, apt upgrade leaves a dangling configure_audio.service symlink behind.

The compose manager, the hostname service and the PipeWire and WirePlumber configuration files are installed by the package picompose-core instead of the image build. apt upgrade updates /usr/bin/compose-manager.sh and /usr/bin/configure_hostname.sh. The two configuration files below /etc/pipewire and /etc/wireplumber are conffiles, so changes you made to them are kept and dpkg asks if both sides changed. /compose is never overwritten.

The lva and snapcast projects are installed by the package picompose-software-ha-satellite instead of the image build. apt upgrade replaces /compose/lva/docker-compose.yml and /compose/snapcast/docker-compose.yml, so changes you made to these two files are lost. picompose.conf and .env are never overwritten, but new options of a newer .env have to be added by hand.

From unstable to v1.0.0

I released the first stable version from piCompose. There is still some things todo but i think this release can be marked as a first stable and working version.

From v1.0.4 to v1.0.5

Switched from wyoming-satellite to linux-voice-assistant. This is a breaking change because the configuration and software changed.