Jump to content

Recommended Posts

Posted

Hi everyone, 

 

I just received an "orange pi 5 plus" and I wanted to use the hdmi-input feature in it. 

I installed armbian and added the hdmirx overlay, and now I can use ffmpeg or gstreamer to stream video input. Good.

 

Alas, I see no alsa hdmi input card. I tried to search for some settings but didn't find any...

 

The only information I found on this feature are here https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr3/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts 

do you have any pointer to give me on how to enable this feature? 

(I know how to compile stuff, using Linux since 1998 ;) ) 

 

thanks for any help / pointer you can give me ❤️

 

BS.

Posted

Sadly "alsa" does not exist as a command on Debian 😕 (I took the bookworm armbian initially)

  • I just tested with the "Armbian 24.8.1 Noble Gnome" image, (kernel 6.1.75) but it has no support for hdmi input / hdmirx at all ...   
  • I then tested with the "Ubuntu 24.04 (Noble) / Gnome" image using kernel 6.10, dated August 2024

and I found that "alsa" command in the alsa-base package, present in Ubuntu but deleted long ago on Debian. This command basically tries to unload alsa module and reload them

no change on my orange pi 5 plus when I did that, (I confirmed that the HDMI input had a signal before reloading, via dmesg saying "fdee0000.hdmi_receiver: hdmirx_wait_lock_and_get_timing: signal lock ok, i:2
")

 

root@orangepi5-plus:~# alsa force-reload
Unloading ALSA sound driver modules: snd-soc-rockchip-i2s snd-soc-simple-card snd-soc-rockchip-i2s-tdm snd-soc-es8328-i2c snd-soc-simple-card-utils snd-soc-es8328 snd-soc-simple-amplifier snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-timer (failed: modules still loaded: snd-soc-simple-card snd-soc-rockchip-i2s-tdm snd-soc-es8328-i2c snd-soc-simple-card-utils snd-soc-es8328 snd-soc-simple-amplifier snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-soc-rockchip-i2s snd-soc-simple-card snd-soc-rockchip-i2s-tdm snd-soc-es8328-i2c snd-soc-simple-card-utils snd-soc-es8328 snd-soc-simple-amplifier snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-timer.

 

sadly no hdmi audio input ...

 

root@orangepi5-plus:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Analog [Analog], device 0: fe470000.i2s-es8328-hifi-analog es8328-hifi-analog-0 [fe470000.i2s-es8328-hifi-analog es8328-hifi-analog-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

 

Posted
2 hours ago, Benjamin Sonntag said:

(kernel 6.1.75) but it has no support for hdmi input / hdmirx at all .

needs to be enabled via overlay

Posted

@Benjamin Sonntag I think you want to ask aplay to list recording devices rather than playback devices - I have a different rk3588 device and it shows:
 

acas@t6:~$ aplay -C -l
**** List of CAPTURE Hardware Devices ****
card 0: rockchiphdmiin [rockchip-hdmiin], device 0: rockchip-hdmiin i2s-hifi-0 [rockchip-hdmiin i2s-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: realtekrt5616co [realtek,rt5616-codec], device 0: fe470000.i2s-rt5616-aif1 rt5616-aif1-0 [fe470000.i2s-rt5616-aif1 rt5616-aif1-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 that is with the overlay enabled as described 

Posted

Thanks @ozacas ! I was wrong inded!

 

root@orangepi5-plus:~# aplay -C -l 
**** List of CAPTURE Hardware Devices ****
card 0: Analog [Analog], device 0: fe470000.i2s-es8328-hifi-analog es8328-hifi-analog-0 [fe470000.i2s-es8328-hifi-analog es8328-hifi-analog-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

I guess that's an answer :( 

 

Also as a reply to @Werner I will retry the kernel 6.1.75 vendor armbian image but when I tested it armbian-config didn't propose any overlay apart from a GPU thingy. no hdmirx uart or others.

Posted

I think there is an issue with the naming of the overlays. If you check /boot/dtb/overlay or whatever that folder was, you should see lots of overlays. Enabling can be done manually by editing /boot/armbianEnv.txt

If you need an example simply enable the gpu overlay and check the file again to see how that works.

Posted (edited)

maybe try something like:
 

acas@t6:/boot$ find /boot/dtb* -name \*hdmirx\*
/boot/dtb-6.1.75-vendor-rk35xx/rockchip/overlay/rk3588-hdmirx.dtbo

to try to find the overlay name. And verify its presence on the system.

Edited by ozacas
tweak

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines