I have just seen that topic and I have a quick question, I am trying to setup the following on pi5. Knowing pi5 is able to handle video for both HDMI. I wanted to have one hdmi full video for JVC projector and the other one for video old tv and sony mdr hw700ds for audio, otherwise my jvc will be limited by MDR sony avm. I am not able to setup and detect hifibery digi 2 pro. I need also spdif for klips speakers when I do not wanna use Sony MDR. Is it possible what I wanna do? How could I even get the hifibery working?
[RPi5] HiFiBerry Digi2 Pro Setup
-
thedogg -
November 22, 2025 at 6:09 PM -
Thread is Unresolved
-
-
Take another microSD, install Raspberry Pi OS on it, and test Digi2 Pro with it. So we can figure out whether it's a general problem, or just an LE issue.
-
I will do it but a bit later, and I will let you know. Now I have a quesion, should digi be working on Pi5? Could it be related to the libreelec version (latest)?
-
I think HiassofT is right - it's very likely a hardware issue. Have a look at your Digi2 Pro board. If it has HW 2.1 printed, then you have to solder, or ask HiFiBerry for a replacement:
PostRE: [RPi4] HiFiBerry Digi2 Pro not found
I couldn't find any info what the Hifiberry folks changed between rev 2.1 and 2.2 but I found a post where a user got his Digi+ pro working with a slight hardware modification - something similar might work with the Digi2 Pro as well:
https://support.hifiberry.com/hc/en-us/commu…/16381227323677
From the looks of it Hifiberry messed up their hardware design and I'm wondering why they didn't wire up the WM8804 reset to a GPIO pin like outlined in the reference design in the WM8804 datasheet, this…HiassofTNovember 22, 2025 at 1:07 PM -
I can return the digi 2 pro, not problem. I am having also pi4 with digi+ standard from 2020. I am not sure if I have understood everything correctly but it should work with pi5?
-
I tested it today and the behaviour matches the Digi+ Pro compatibility notes from HiFiBerry. When I replaced the Digi+ Pro with the Digi standard (previously used on pi4), everything worked correctly. The standard Digi was detected on the Raspberry Pi 5 and the Digi+ Pro was detected on the older Pi 4. I also wasn’t able to get the Digi+ Pro working on Raspbian.
-
I also wasn’t able to get the Digi+ Pro working on Raspbian.
Then it's not our fault. Ask at the HiFiBerry forum. Maybe the soldering trick also works for RPi5 (post #4), but we don't know.
-
I never suggested it was anyone’s fault. I was simply looking for a solution. I’m fine with keeping the current configuration.
-
Any more questions, or can I mark this thread as resolved?
-
There is one more thing I am struggling with and trying to achieve, but not releated to hifiberry.
I am trying to setup everything in the following way:
HDMI0 - JVC 4K projector
HDMI1 - Sony AVR - FullHD TV
I am not going to use both dispays in the same time but either one. On projector I would like to have max viddeo resolution without audio. On HDMI 1 where is that sony headphones AVR I need audio and vide which will be passed to old fullhd tv. The goal is to have audion on sony hedphones while using projector. At the moment audio works as expected but when projector is off I have black screen on TV (I can see the libreelac loading logo but thats it). When projector is on then it is also fine and I have what I need.
I want the GUI to automatically switch to TV (1080p) when projector is off and back to projector when it’s on and tv off, wothout reboot. Eventualy I can keep both screens on. EDID for both devices is loaded.
# HDMI0
hdmi_force_hotplug:0=1
hdmi_enable_4kp60=1# HDMI1
hdmi_force_hotplug:1=1
hdmi_group:1=1
hdmi_mode:1=16
hdmi_drive:1=2audio_pwm_mode=2
hdmi_ignore_cec:1=1
hdmi_ignore_cec_init=1[all]
################################################################################
# Use distroconfig-composite.txt instead of distroconfig.txt to enable
# composite video output.
# The composite video mode needs to be configured in cmdline.txt:
# For PAL add: video=Composite-1:720x576@50ie
# For NTSC add: video=Composite-1:720x480@60ie
################################################################################include distroconfig.txt
# uncomment to enable infrared remote receiver connected to GPIO 18
#dtoverlay=gpio-ir,gpio_pin=18# digi
dtoverlay=hifiberry-digi
drm.edid_firmware=HDMI-A-1:edid/jvc.bin,HDMI-A-2:edid/sony.bin
initramfs edid.cpio 0x3c00000
disable_overscan=1
hdmi_force_hotplug=1# Fallback on HDMI1 when HDMI0 off
vc4-kms-v3d.max_interfaces=2
dtoverlay=vc4-kms-v3d,cma-512
hdmi_force_hotplug:1=1 -
Kodi supports outputting at 1080p and switching to 4K only when required, but it cannot handle dynamic changes of HDMI output and it has no concept of fallback logic for HDMI connections. IMHO the best solution will be to send everything to the AVR and use the video/audio source mapping functions there to deliver the output routing you want.
In short, LE will not do what you require, and as the Kodi featureset is pretty consistent on all platforms I don't think any other distro or OS platform will do it either.
-
Thanks for the answer. What I have achieved already is:
1. Scenarion 1 - HDMI 1 sends audio, HDMI 0 video
2. Scenarion 2 - while booting I can get either one display loaded as required.
Questions:
1. Is there maybe any way to have a script which will under the remote button switch the HDMI to the one I need after booting? - it may help me a lot.
2. Can I send 1080p with two HDMI in the same time and have both screans available, next if I switch off one screen (TV) and leave only 4k screen I will simply change the resolution. Having audio always with HDMI1? - I can also have a a button for it.
I was pretty sure pi5 alowes for multiscreens.
-
You can't have kodi output on both HDMI connectors. The best thing you can do is to force output to a specific HDMI port via advancedsettings.xml and then restart kodi. See RE: [RPi4] HDMI Audio with Touchscreen
so long,
Hias
-
I do not know if you have realy halped me, what I want to have no (knowing what I have learned here) I want to switch HDMI. Audio always on HDMI1 but video on demand, either HDMI 1 or HDMI 0 . I am trying to run it com the comands now.
-
I was pretty sure pi5 allows for multiscreens.
RPiOS can create a single 'desktop' over mutiple displays but then Kodi runs in a window on the desktop and you have to choose which desktop you want full-screen output on (as Kodi does not handle multiple screens) and you cannot 'adjust-refresh' display mode to suit the media being played (as Wayland does not allow this).
The closest you can get is stopping Kodi, editing config files with scripts to change outputs, then restarting Kodi. There is no way arouond the stop and restart because Kodi does not support dynamic change of video output.
I would describe the scripting approach as fragile. Feel free to experiment, but don't be surprised when it isn't reliable.
-
Clear! So I just wanna confirm libreelec and pi5 will not allow 2 HDIM ports simultaneously?I do not know why I have thought it is possible.