Include uhubctl in the build

Hi!

I have a Topping D10s DACs connected to Raspberry Pi. The DAC is powered over USB connection and does not have a power switch, so it stays on all the time (I don’t power off the Raspberry Pi). On volumio 3 I could install uhubctl package which enabled me to control power on USB bus, thus turning on/off the D10s DAC.

On the new Volumio 4 packages can not be (easily) added, so I’m left without means to control power of my DAC.

Could the Volumio team include the uhubctl package in the next Volumio 4 version ?

Thank you in advance!

On Volumio v3 I installed it myself

sudo apt-get update
sudo apt-get install uhubctl

I haven’t tried on this on V4 because I’ve since replaced my Pi4 with a Pi5 and USB power is weirder on the Pi5. But from what you’re saying self-install doesn’t work on V4.

Nice DAC by the way!

Correct, on V3 I did it myself (apt-get install …), on V4 the overlay filesystem is protected and additional package install is not as easy, so it would be best if uhubctl is included already in next version.

1 Like

Agreed, I would like to see this added. Or better yet, include a system prefs setting to suspend the USB connection when no playback.

With a big warning to not do this if your system boots from a USB drive!

include a system prefs setting to suspend the USB connection when no playback.

That’d be perfect! - as you would not need to log-in separately with ssh and switch off the DAC. A “swtich” setting would be probably enough, as I think mpd gets restarted on DAC on/off, so switching it frequently on every playback/pause would deter from user experience (need to wait for mpd to come up). But a single button “switch DAC” would be perfect !

I guess this warning goes also to users of Raspberry Pi 4 and 5 - powering off USB possibly switches off network interface too ( not sure, I think I read somewhere, but I don’t have a 4 or 5, so needs to be verified ) leaving you unable to communicate with your device. On Raspberry Pi 2 and 3 network interface works fine with USB bus off.

Haven’t used it in while, but with a Pi4 it didn’t stop wifi. Didn’t try it with a wired connection. Pi5 USB management is a different beast.