pimoroni / speaker-phat

Software installer for Speaker pHAT
MIT License
52 stars 9 forks source link

How to uninstall it and go back to default audio settings? #17

Closed lorenzoromagnoli closed 6 years ago

lorenzoromagnoli commented 7 years ago

I need some help uninstalling the speaker phat settings and go back to default audio settings.

Gadgetoid commented 7 years ago

Copy /etc/asound.conf somewhere, and then delete it.

Make sure dtparam=audio=on is in /boot/config.txt and comment out the lines;

dtoverlay=i2s-mmap
dtoverlay=hifiberry-dac

And if you use the Pixel desktop you might want to re-add the volume control widget.

And if you want pulseaudio back (if you're using Raspbian < Stretch) you can (if it exists):

sudo mv /etc/xdg/autostart/pulseaudio.disabled /etc/xdg/autostart/pulseaudio.desktop