Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does WM8960-Audio-HAT Installer hard code location of config files? #59

Open
owingst opened this issue Jun 22, 2024 · 0 comments
Open

Comments

@owingst
Copy link

owingst commented Jun 22, 2024

In the dtoverlays section of the installer script, location of config files is assumed to be for bookworm. These steps will fail on raspi bullseye, etc. Is there an installer for Bullseye? Please let me know. Thanks!

#set dtoverlays
sed -i -e 's:#dtparam=i2c_arm=on:dtparam=i2c_arm=on:g' /boot/firmware/config.txt || true
grep -q "dtoverlay=i2s-mmap" /boot/firmware/config.txt ||
echo "dtoverlay=i2s-mmap" >> /boot/firmware/config.txt

grep -q "dtparam=i2s=on" /boot/firmware/config.txt ||
echo "dtparam=i2s=on" >> /boot/firmware/config.txt

grep -q "dtoverlay=wm8960-soundcard" /boot/firmware/config.txt ||
echo "dtoverlay=wm8960-soundcard" >> /boot/firmware/config.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant