View: 7103|Reply: 2

Orange Pi Zero2 no HDMI audio with Ubuntu?

[Copy link]

1

threads

2

posts

9

credits

Novice

Rank: 1

credits
9
Published in 2021-1-5 20:56:56 | Show all floors |Read mode
Hi. I've installed the Ubuntu image from the website and everything works fine except for the audio through HDMI that is not detected by alsa or pulseaudio. I can use the expansion board but I'd like to be able to play files through the HDMI (the same as with Android). Is there any way to do it?
Thanks

1

threads

2

posts

9

credits

Novice

Rank: 1

credits
9
 Author| Published in 2021-1-5 21:35:19 | Show all floors
Ok. So I just figured out how to solve it. From the manual I saw I could test the HDMI audio with a simple file and it worked

  1. aplay -D hw:1,0 test.wav
Copy code


So I just added to my pulseaudio config files

  1. sudo nano /etc/pulse/default.pa
Copy code


At the very bottom of the file, added:

  1. load-module module-alsa-sink sink_name=hdmi device=hw:0,1

  2. set-default-sink hdmi
Copy code


Restarted and now it was recognized as one of the default devices.

0

threads

1

posts

6

credits

Novice

Rank: 1

credits
6
Published in 2022-4-6 14:50:29 | Show all floors
security system Build confidence and confidence in investments that are ready to gamble without risk. betflix
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list