Page 1 of 1
Hifiberry Digi2 Pro on Pi5
Posted: Wed Sep 03, 2025 12:22 pm
by wkl3968
I have Hifiberry Digi2 Pro on Pi5. the youtube audio works so far but when connected to hudiy or Android Auto, there is no audio output. any suggestion? below shows the card is detected.
raspberrypi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 [HiFiBerry Digi+ Pro HiFi wm8804-spdif-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CM47730757 [CM477-30757], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Re: Hifiberry Digi2 Pro on Pi5
Posted: Wed Sep 03, 2025 1:58 pm
by hudiy
You need to check whether all sink inputs created by Hudiy are routed to the correct sink (hudiy_equalizer_sink) and whether hudiy_equalizer_sink itself is routed to your sink created for HiFi Berry.
You can view and adjust the routing generated by PipeWire using qpwgraph. You can install it with the command: sudo apt install qpwgraph
Re: Hifiberry Digi2 Pro on Pi5
Posted: Fri Sep 05, 2025 12:17 pm
by wkl3968
I have used the qpwgraph to modify the connection and able to channel the audio out correctly. however, the setting is not set correctly every time I restart the pi and my android auto audio is not route correctly. I need to use qpwgraph again to channel the android auto/my phone audio to connect to the right sink. how to set all this correctly?
Re: Hifiberry Digi2 Pro on Pi5
Posted: Fri Sep 05, 2025 12:46 pm
by hudiy
This should be handled automatically by WirePlumber (the PipeWire component that manages audio routing). The state is stored in $HOME/.local/state/wireplumber/default-routes. It’s probably also possible to do this manually using Lua scripts in WirePlumber, but the documentation is unfortunately sparse on this and doesn’t include concrete examples:
https://gitlab.freedesktop.org/pipewire ... type=heads
You can also check whether a similar issue has been reported on WirePlumber’s GitLab:
https://gitlab.freedesktop.org/pipewire ... r/-/issues
PipeWire and WirePlumber are the components used in Raspberry Pi OS Bookworm for managing audio. They replace the PulseAudio used in previous releases of Raspberry Pi OS.
Re: Hifiberry Digi2 Pro on Pi5
Posted: Fri Sep 05, 2025 2:03 pm
by wkl3968
so here are my qpwgraph showing the "As Is - which is default state when the phone plugged in but no audio output" and the the working configuration for Hifiberry Digi2 Pro setup. I need to setup the pipewire to be the working config and I don't know how to start by removing some default connectors if you can compare the two pictures.
Re: Hifiberry Digi2 Pro on Pi5
Posted: Fri Sep 05, 2025 3:20 pm
by wkl3968
Now I got it working as default by using pavucontrol (sudo apt install pavucontrol) to use to pulse audio control system to set the device setting correctly. 1) convert the mic audio to just mono input and 2) set the hifiberry as output only.