"Hifiberry Plus")
cp /root/.orig/config.txt.orig /boot/config.txt
cp /root/.orig/unmute.berryplus /usr/bin/unmute
sed -i '0,/#device_tree_overlay=hifiberry-dacplus/s//device_tree_overlay=hifiberry-dacplus/' /boot/config.txt
echo -e "${red}Please reboot immediately using 'systemctl reboot' command...${NC}"
exit
;;
#!/bin/bash
# mixer settings for Hifiberry+ i2s Dac
amixer sset 'PCM' 96%
amixer sset 'Playback Boost' 0%
#device_tree_overlay=hifiberry-dacplus
amixer sset "'Digital',0" 81%
amixer sset "'Playback Boost',0" 0%
We use essential cookies to make this site work, and optional cookies to enhance your experience.