Fix audio on Raspberry Pi

If audio is not playing on your Raspberry Pi and the only output recognised in settings is ‘dummy output’ then you have a problem. However, this issue is easy to solve, all you have to do is add two lines to config.txt.

Open up a terminal window and type in the following:

sudo nano /boot/config.txt

Or if you’re running an Ubuntu image with the linux-raspi2 kernel, run the following instead:

sudo nano /boot/firmware/config.txt

Use the arrow keys to navigate the file. At the end, add the following lines:

dtparam=audio=on
hdmi_drive=2

Then reboot your Pi. HDMI audio should now work. Enjoy!

Advertisement

Go on, you know you want to! Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: