diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 3762d71..f59454d 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -177,7 +177,9 @@ systemctl enable cronie.service fenrirscreenreader.service EOF # Copy override files into place. +cp -rv ../files/boot/* /mnt/boot cp -rv ../files/etc/* /mnt/etc +cp -rv ../files/var/* /mnt/var # Exiting calls the cleanup function to unmount. exit 0 diff --git a/files/boot/config.txt b/files/boot/config.txt index 5571e95..5e5d31e 100755 --- a/files/boot/config.txt +++ b/files/boot/config.txt @@ -3,4 +3,5 @@ #dtoverlay=vc4-kms-v3d initramfs initramfs-linux.img followkernel dtparam=audio=on +hdmi_drive=2 diff --git a/files/var/lib/alsa/asound.state b/files/var/lib/alsa/asound.state new file mode 100644 index 0000000..d128b82 --- /dev/null +++ b/files/var/lib/alsa/asound.state @@ -0,0 +1,79 @@ +state.ALSA { + control.1 { + iface MIXER + name 'PCM Playback Volume' + value -197 + comment { + access 'read write' + type INTEGER + count 1 + range '-10239 - 400' + dbmin -9999999 + dbmax 400 + dbvalue.0 -197 + } + } + control.2 { + iface MIXER + name 'PCM Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.3 { + iface MIXER + name 'PCM Playback Route' + value 1 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 2' + } + } + control.4 { + iface PCM + name 'IEC958 Playback Default' + value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access 'read write' + type IEC958 + count 1 + } + } + control.5 { + iface PCM + name 'IEC958 Playback Con Mask' + value '0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access read + type IEC958 + count 1 + } + } + control.6 { + iface PCM + name 'IEC958 Playback PCM Stream' + value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access 'read write inactive' + type IEC958 + count 1 + } + } +} +state.vc4hdmi { + control.1 { + iface PCM + name ELD + value '100008006a10000100000000000000000469fd22415355532056533232380917070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access 'read volatile' + type BYTES + count 128 + } + } +}