Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 707|Reply: 1

Orange Pi Zero2 no HDMI audio with Ubuntu?

[Copy link]

1

Threads

2

Posts

9

Credits

Novice

Rank: 1

Credits
9
Post time 2021-1-5 20:56:56 | Show all posts |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| Post time 2021-1-5 21:35:19 | Show all posts
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 the Code


So I just added to my pulseaudio config files

  1. sudo nano /etc/pulse/default.pa
Copy the 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 the Code


Restarted and now it was recognized as one of the default devices.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-4-17 22:53 GMT+8 , Processed in 0.027432 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list