Setting up HDMI Audio Output on Linux
So today I was building a new Arch Linux install for my desktop and I ran across an interesting problem.The HDMI ouput on my Radeon HD 4870 wasn’t working. So for about the past 2 hours I was digging around the Internet looking at what I would have to do to get this sucker working (if I even could). Finally came across the solution that should work for most Linux flavors and most of the ATI Radeon family.
Setting up HDMI Audio Output
Linux kernel version 3.0 disabled HDMI audio output by default so your going to have to edit your grub boot menu’s kernel line.
Step 1. Use your favorite text editor to open your menu.lst using one of the below commands
sudo nano /boot/grub/menu.lst
Step 2. Locate your boot line which should be the name of your Linux distribution in my case Arch Linux.
Step 3. Find the line that starts with kernel and go to the end it should say ro
Step 4. Add
radeon.audio=1 to the end of the line.
Step 5. Reboot your Arch Linux or Linux install after saving.
Step 6. Find out what your audio device is by typing
Step 7. Then use the command
aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav to test to see if your audio output works.
Step 8. If it works simply configure pulse audio to use it as your default output. On Arch Linux you will have to install paprefs and pavucontrol by using the command
sudo pacman -S papprefs pavucontrol to be able to configure Pulse Audio.